Production-hardened R&D/devnet node. It is not a launched public audited mainnet.
python main.py → NodeOrchestrator
All components are wired in main.py and passed to api/http.py (REST) and JSON-RPC thread.
| Layer | Path | Role |
|---|---|---|
| Runtime | runtime/ |
Config, tokenomics (221M ABS), pool locks |
| Core | core/ |
Blockchain, blocks, transactions, block headers |
| Storage | storage/ |
SQLite WAL, balances, meta, blocks |
| Consensus | consensus/ |
Adapter, epochs (32 blocks), slashing, finality |
| Execution | execution/ |
State engine, VM, block builder/validator |
| Network | network/ |
P2P, WebSocket |
| Features | features/ |
NFT, ZK, Lightning, Plasma, AI, etc. |
| Light | light/ |
SPV light client |
| API | api/http.py |
288+ REST endpoints plus JSON-RPC |
| Web | web/explorer/ |
32-tab SPA |
Mempool → create_block() → add_block()
→ DB persist
→ immutable_state sync
→ light_client header
→ epoch boundary → pool_locks staking release
runtime/pool_locks.py— ecosystem/treasury DAO lock, staking epoch releasecore/blockchain.py—validate_transaction/_apply_transactionchecks- Genesis:
runtime/tokenomics.py→genesis_balances()
| Port | Service |
|---|---|
| 8080 | HTTP REST + static explorer |
| 8545 | JSON-RPC |
| 8766 | WebSocket |
| 5000 | P2P |
Old scripts (level12_node.py, ABSOLUTE_*.py, etc.) are removed or moved to _archive/.
Do not use them — only main.py.
scripts/check_everything.ps1— secrets scan, production gate, full audit, pytestscripts/prod_gate.py— static production config validationscripts/mega_audit.py— syntax, endpoints, web coverage, tokenomicsscripts/final_audit.py— wiring, runtime smoke tests
Reports: data/final_audit_report.json (local, gitignored data/)