LPsLux Proposals
LP-9909

LRC-6909 Minimal Multi-Token

Final

LRC-6909 Minimal Multi-Token for Lux Network

Category
LRC
Created
2025-01-23

Abstract

LRC-6909 (mirrors ERC-6909) provides a gas-efficient minimal multi-token interface.

Specification

Simplified multi-token standard with reduced gas costs compared to LRC-1155.

Motivation

This standard ensures compatibility with the broader EVM ecosystem while enabling Lux-specific optimizations.

Rationale

Mirrors the corresponding Ethereum standard for maximum compatibility.

Backwards Compatibility

Fully compatible with existing ERC implementations.

Reference Implementation

Repository: https://github.com/luxfi/standard Local Path: /Users/z/work/lux/standard/

Contracts

ContractDescription
lib/solmate/src/tokens/ERC6909.solSolmate minimal multi-token (if available)

Note: ERC-6909 is a gas-optimized alternative to ERC-1155.

Build and Test

cd /Users/z/work/lux/standard/

# Build all contracts
forge build

# Run tests
forge test -vvv

# Gas report
forge test --gas-report

Security Considerations

Implementations should follow established security best practices for the corresponding ERC.

Copyright and related rights waived via CC0.