| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Proof of Sovereignty. A full EVM sidechain anchored to ITC mainnet. Your ITC private key is your aITC key — same secp256k1, both chains.
© Interchained LLC × Claude Sonnet 4.6 — MIT License
ITC-L2 is a sovereign EVM sidechain running on top of ITC mainnet.
No wrapped tokens. No ERC-20. No sentinel daemon watching for events.
How it works:
Why this can't be faked: Spending a UTXO requires signing with your private key. The signature reveals your pubkey. The pubkey determines your L2 address. The oracle reads blocks it already downloaded — no external trust, no OP_RETURN to manipulate.
Governance fee: 5% by default (ITC_BRIDGE_FEE_BPS=500). Configurable. Lock 1 ITC → receive 0.95 aITC. The fee stays locked in the bridge address.
| Item | What | Status |
|---|---|---|
| ITC P2P peer | Headers + block bodies, serves to peers, stays current | ✅ |
| NEDB persistence | Headers, blocks, EVM state — all in NEDB, instant boot | ✅ |
| EVM engine | revm + NedbState backend, provenance on every write | ✅ |
| eth_* JSON-RPC | MetaMask-compatible on :8545, EIP-155 ecrecover | ✅ |
| L1 anchor poster | OP_RETURN sovereignty proof every N epochs | ✅ |
| Deposit oracle | P2PKH scriptSig pubkey recovery → aITC mint | ✅ |
| Governance fee | Configurable BPS, locked in bridge address | ✅ |
| Block production | L2 sequencer / tx pool | 🔜 |
| Exit (aITC → ITC) | Burn on L2 → release on L1 | 🔜 |
| itc-bridge app | Next.js + FastAPI + NEDB, builds the bridge tx | separate repo |
cargo build --release
# Required env vars
export ITC_BRIDGE_HASH160="<40-hex-char hash160 of your bridge lock address>"
export ITC_RPC_ADDR="0.0.0.0:8545" # MetaMask endpoint
export ITC_NODE_DATADIR="./itc-node-data"
# Optional
export ITC_BRIDGE_FEE_BPS=500 # 5% governance fee (default)
export ITC_BRIDGE_CONFIRMATIONS=3 # L1 confirmations before mint
export ITC_ANCHOR_WIF="<WIF key for L1 anchor posting>"
./target/release/itc-node [LISTEN_PORT]Add ITC-L2 to MetaMask:
Import your ITC private key into MetaMask → same key, your aITC balance appears automatically after bridging.
itc-node-rs/
├── crates/
│ ├── itc-proto/ # ITC P2P wire protocol, tx parsing, script analysis
│ ├── itc-node/ # Node binary: sync, serve, oracle, RPC, anchor
│ ├── itc-evm/ # revm + NedbState EVM execution engine
│ ├── itc-rpc/ # eth_* JSON-RPC server, ecrecover
│ ├── itc-anchor/ # L1 OP_RETURN poster, secp256k1 P2PKH signer
│ └── itc-oracle/ # Deposit oracle, UTXO mirror, governance fee
├── contracts/
│ └── ITC.sol # (Reference only) ERC-20 for optional wrapped aITC
└── docs/
├── ARCHITECTURE.md
└── BRIDGE.md
NEDB gives ITC-L2 a property no other EVM chain has:
© Interchained LLC × Claude Sonnet 4.6 — MIT License
| Back | FazBrowse Home | New Git URL |