- 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>
25 lines
644 B
TOML
25 lines
644 B
TOML
[package]
|
|
name = "nu-cli"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "nu"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
anyhow = "1"
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
k256 = { version = "0.13", features = ["ecdsa"] } # secp256k1
|
|
rand = "0.8"
|
|
hex = "0.4"
|
|
dirs = "5"
|
|
argon2 = "0.5"
|
|
aes-gcm = "0.10"
|
|
rpassword = "7"
|
|
sha2 = "0.10"
|
|
uuid = { version = "1", features = ["v4"] }
|