Commit graph

4 commits

Author SHA256 Message Date
2cbbcb00f0 feat(story): implement submit/register/vote commands with tx signing
- NodeSubmit: generates UUID temp_id, signs and broadcasts via nu_sendRawTx
- VoteRegister: locks 10,000 Shell stake for node voting
- VoteCast: signs approve/reject vote
- Extract load_key() and send_tx() helpers shared across story commands
- Add uuid and sha2 dependencies

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 15:02:31 +03:00
2335932753 feat(wallet): implement wallet send with k256 signing
- Loads encrypted keystore, derives sender address from verifying key
- Fetches current nonce via nu_getAccount RPC
- Builds TokenTransfer payload, signs SHA-256(tx_id) with secp256k1
- Broadcasts via nu_sendRawTx, prints returned tx_id
- Add sha2 dependency

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 14:58:03 +03:00
61fb9fe2c8 feat(cli): encrypt keystore with Argon2id + AES-256-GCM 2026-04-24 12:18:11 +03:00
e0f7fe6bd6 feat(cli): implement node block/account cmds; fix params to positional array 2026-04-24 11:21:42 +03:00