XLN is an advanced layer-2 scaling solution for blockchain networks, designed to enhance transaction throughput, reduce fees, and enable complex financial operations off-chain.
- Multi-Asset Support: Native support for multiple assets within a single channel
- Subchannel Architecture: Modular approach for easy integration of new chains and assets
- Credit-Collateral Module: Sophisticated credit system alongside traditional collateral-based channels
- Subcontracts: Support for complex financial instruments like swaps and options
- Onion Routing: Enhanced privacy for multi-hop payments
- Entity System: Flexible identity management and multi-signature control of channels
- 🏛️ Integrated Governance: Meta/Alphabet-style tradable control and dividend tokens with ERC1155 efficiency
npm test # Run smart contract tests
npm run test:contracts # Run contract tests specifically
npm run demo # Points to governance documentation
npm run docs:governance # Same as above
📖 Governance Documentation:
docs/governance-architecture.md
- Complete governance system overviewdocs/foundation-governance.md
- Foundation-based access controldocs/fixed-supply-analysis.md
- Fixed token supply benefits
npm run env:build # Compile smart contracts
npm run env:run # Start local hardhat network
npm run env:deploy # Deploy contracts