nu-cli/CLAUDE.md
Mukan Erkin 0e506c7bc0 feat(nu-cli): initial Faz 0 scaffold
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 00:00:26 +03:00

35 lines
956 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# nu-cli — CLAUDE.md
Geliştirici CLI. Binary adı `nu`.
## Komutlar
```bash
nu wallet new [--label default] # Yeni keypair üret, ~/.nu/keystore/ altına kaydet
nu wallet address [--label default] # Adres göster
nu wallet send --to <addr> --amount <n>
nu node info # nu_chainInfo RPC
nu node stake --amount <n>
nu node unstake --amount <n>
nu story submit --story-id <id> --parent-id <id> --ipfs-hash <cid>
nu story register --node-id <id> # Oylama için kayıt
nu story vote --node-id <id> --approve true/false
nu story show --story-id <id>
nu genesis init --chain-id <id> # genesis.toml üret
```
## Keystore
Keyler `~/.nu/keystore/<label>.key` altında saklanır.
**Faz 0:** hex plaintext (geliştirme kolaylığı)
**Faz 1:** password-encrypted (production güvenliği)
## Geliştirme
```bash
cargo run --bin nu -- wallet new
cargo run --bin nu -- node info --rpc http://localhost:8545
```