- nu-rpc: axum HTTP server on /rpc, dispatches JSON-RPC requests - nu-rpc: nu_chainInfo and nu_getAccount return real state from RocksDB - nu-state: StateAccessor trait implemented on StateDb (get/set balance, nonce) - nu-vm: executor uses StateAccessor from nu-state (single source of truth) - main.rs: clap CLI with --dev --validator --rpc-addr --db-path --chain-id Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
282 B
TOML
13 lines
282 B
TOML
[package]
|
|
name = "nu-block"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
anyhow.workspace = true
|
|
thiserror.workspace = true
|
|
sha2.workspace = true
|
|
hex.workspace = true
|
|
nu-state = { path = "../nu-state" }
|