feat: full testnet sync, RPC daemon, wallet CLI, alias extraction #9

Merged
Charon merged 3 commits from feat/testnet-sync-rpc-wallet into dev 2026-04-01 23:34:44 +00:00
Member

wire: HF4+ alias entry deserialization
chain: full testnet sync (11,288 blocks)
daemon: 8 JSON-RPC methods
wallet: create/address/seed/scan

13/13 tests pass. Alias count matches C++ daemon.

wire: HF4+ alias entry deserialization chain: full testnet sync (11,288 blocks) daemon: 8 JSON-RPC methods wallet: create/address/seed/scan 13/13 tests pass. Alias count matches C++ daemon.
Charon added 3 commits 2026-04-01 23:34:32 +00:00
- wire: add readExtraAliasEntry (tag 33) + readExtraAliasEntryOld (tag 20)
  Unblocks HF4+ Zarcanum transaction deserialization
- chain: alias extraction from transaction extra fields (14/14 on testnet)
- chain: alias storage and retrieval via go-store
- daemon: JSON-RPC server (getinfo, getheight, getblockheaderbyheight,
  getlastblockheader, get_all_alias_details, get_alias_details)
- cmd: `chain serve` — sync from seed + serve RPC simultaneously
- cmd: `wallet create` — generate keys, iTHN address, 24-word seed
- cmd: `wallet address` — show base58-encoded iTHN address
- cmd: `wallet seed` — show mnemonic seed phrase
- cmd: `wallet scan` — scan chain for owned outputs via ECDH derivation

Tested: 11,263 blocks synced in 3m11s from live testnet. All HF0-HF4
validated. 14 aliases extracted. RPC serves correct heights, difficulties,
block headers, and alias data. Wallet generates valid iTHN addresses.

Co-Authored-By: Charon <charon@lethean.io>
wallet scan scans chain via RPC for owned outputs using ECDH derivation
through CGo crypto. Slow (1 block/RPC call) but functionally complete.

Co-Authored-By: Charon <charon@lethean.io>
feat(daemon): add getblockcount RPC, fix method routing
All checks were successful
Security Scan / security (push) Successful in 23s
9f20e7a2e8
Co-Authored-By: Charon <charon@lethean.io>
Charon merged commit 053b6a0a94 into dev 2026-04-01 23:34:44 +00:00
Sign in to join this conversation.
No description provided.