How cityofzion/neon-js works
Main Components
a) Core Components (Primary Layer):
• Wallet Management (wallet/)
• Smart Contract Interface (sc/)
• Transaction Handling (tx/)
• RPC Client (rpc/)
• Utility Functions (u/)
b) Extension Modules (Secondary Layer):
• NEON-API: API integration services
• NEON-LEDGER: Ledger hardware wallet integration
• NEON-URI: URI scheme handling
• NEON-JS: Main entry point and facade
External Integration Points
• NEO Blockchain (show as external system)
• Browser/Node.js Runtime
• Hardware Wallets
• RPC Nodes
Detailed Component Breakdown
For each major component, include sub-components:
NEON-CORE
• Wallet
• Account Management
• NEP2 Encryption
• Multi-sig Support
• Smart Contract
• Script Builder
• Contract Templates
• NEP17 Support
• Transactions
• Builder
• Signing
• Validation
• RPC
• Client Implementation
• Protocol Handlers
Integration Points
Connections to:
• NEO N3 Network
• Browser/Node.js APIs
• External Services