Comprehensive documentation for Enter L2 - the ZK Rollup-based stablecoin payment network with merchant-paid fees and consumer-friendly wallets.
This repository contains all public documentation for Enter L2, organized into the following sections:
- Whitepaper - Technical specification and architecture
- User Guide - End-user documentation for wallets and payments
- Developer Guide - Integration guides and API documentation
- Node Operators - Running and maintaining Enter L2 nodes
- Smart Contracts - Contract documentation and ABIs
- SDK Reference - Multi-language SDK documentation
- API Reference - REST API and RPC documentation
- Tutorials - Step-by-step guides and examples
- FAQ - Frequently asked questions
- Getting Started - Create your first wallet
- Making Payments - Send and receive payments
- Bridge Guide - Move funds between L1 and L2
- Integration Guide - Integrate Enter L2 into your app
- SDK Quickstart - Start building with our SDKs
- API Reference - Complete API documentation
- Node Setup - Run an Enter L2 node
- Configuration - Node configuration options
- Monitoring - Monitor node health
Enter L2 is a ZK Rollup-based Layer 2 solution designed specifically for stablecoin payments with the following key features:
- Consumer Wallets: Receive-only wallets that can only accept payments from merchant wallets
- Merchant Wallets: Full-featured wallets with payment capabilities and fee management
- Merchants automatically pay transaction fees for consumer transactions
- Enables gasless payments for end users
- Supports USDC/USDT fee payments with automatic conversion
- Halo2-based circuits for privacy and scalability
- Batch proving for efficient transaction processing
- Independent verification by public nodes
- ENS-like name registration and resolution
- Phone number verification and linking
- Primary name management for addresses
- Token staking with lock period multipliers
- Profit-sharing from network transaction fees
- Automated reward distribution
Consumer Wallet:
βββ Receive payments from merchants
βββ Cannot initiate transactions
βββ No gas fees required
βββ Perfect for end users
Merchant Wallet:
βββ Full transaction capabilities
βββ Pays fees for consumer transactions
βββ Whitelist management
βββ Daily spending limits
βββ Multi-operator support
Transaction Fees:
βββ Paid by merchant wallets
βββ Automatic fee calculation
βββ USDC/USDT support
βββ Price oracle integration
βββ Gas optimization
Enter L2 Network:
βββ Sequencer (Private)
β βββ Transaction ordering
β βββ Batch creation
β βββ State management
βββ Prover (Private)
β βββ ZK proof generation
β βββ Circuit optimization
β βββ Verification keys
βββ Public Nodes
β βββ Independent verification
β βββ Data availability
β βββ RPC services
βββ Smart Contracts (L1)
βββ State management
βββ Bridge operations
βββ Proof verification
- TypeScript/JavaScript: Full-featured SDK for web and Node.js
- Go: High-performance SDK for backend services
- Python: Comprehensive SDK with async support
- Rust: Coming soon
- Java: Coming soon
- JSON-RPC: Ethereum-compatible RPC interface
- REST API: RESTful API for aggregated data
- WebSocket: Real-time event subscriptions
- GraphQL: Flexible data querying (coming soon)
- Explorer: Blockchain explorer at explorer.enterl2.com
- Faucet: Testnet token faucet at faucet.enterl2.com
- Bridge: L1-L2 bridge interface at bridge.enterl2.com
- Staking: Staking dashboard at stake.enterl2.com
- Chain ID: 42161
- RPC URL: https://rpc.enterl2.com
- Explorer: https://explorer.enterl2.com
- Bridge: https://bridge.enterl2.com
- Chain ID: 421613
- RPC URL: https://testnet-rpc.enterl2.com
- Explorer: https://testnet-explorer.enterl2.com
- Bridge: https://testnet-bridge.enterl2.com
- Faucet: https://faucet.enterl2.com
This documentation follows these standards:
- Markdown: All documentation written in GitHub Flavored Markdown
- Structure: Consistent heading hierarchy and navigation
- Code Examples: Working code samples in multiple languages
- Diagrams: Mermaid diagrams for architecture and flows
- Versioning: Semantic versioning for API changes
- Accessibility: Screen reader friendly formatting
We welcome contributions to improve our documentation:
- Fork the repository
- Create a feature branch
- Make your changes
- Test all code examples
- Submit a pull request
- Use clear, concise language
- Include working code examples
- Add diagrams for complex concepts
- Test all instructions thoroughly
- Follow the existing structure
All documentation changes go through:
- Technical review for accuracy
- Editorial review for clarity
- Community feedback period
- Final approval and merge
- Discord: discord.gg/enterl2
- Telegram: t.me/enterl2
- Twitter: @EnterL2
- Reddit: r/EnterL2
- GitHub Issues: github.com/enter-l2/docs/issues
- Developer Forum: forum.enterl2.com
- Email: dev@enterl2.com
- Partnerships: partnerships@enterl2.com
- Enterprise: enterprise@enterl2.com
- Press: press@enterl2.com
This documentation is licensed under Creative Commons Attribution 4.0 International License.
Code examples are licensed under MIT License.
Documentation is continuously updated. Major changes are announced via:
- GitHub Releases: Version tags and changelogs
- Discord Announcements: Real-time updates
- Newsletter: Monthly development updates
- Blog: Technical deep-dives and tutorials
Last Updated: December 2024
Version: 1.0.0
Next Review: January 2025