nu-cli/CHANGELOG.md

40 lines
1.7 KiB
Markdown
Raw 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.

# Changelog — nu-cli
All notable changes to this project will be documented in this file.
Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
---
## [Unreleased]
## [0.3.0] — 2026-04-24
### Added
- `src/keystore.rs` — AES-256-GCM + Argon2id şifreleme; `save_encrypted` / `load_encrypted` / `prompt_password`
- `nu wallet new`: şifre ister (confirm), private key şifreli JSON olarak `~/.nu/keystore/<label>.key`'e yazar
- `nu wallet address`: şifre ister, decrypt edip compressed public key basar
### Changed
- Keystore formatı plaintext hex'ten JSON (`argon2_hash` + `nonce_hex` + `ciphertext_hex`) formatına geçti
- Eski `.key` dosyaları yeni format ile uyumsuz — `wallet new` ile yeniden oluşturulmalı
## [0.2.0] — 2026-04-24
### Added
- `nu node block <height>` — calls `nu_getBlock`, prints null if not found
- `nu node account <address>` — calls `nu_getAccount`, displays balance in Shell and NU
- `nu story show/node/list/pending` — wired to RPC (`nu_getStory`, `nu_getNode`, `nu_listStories`, `nu_listPendingVotes`)
- `clap env` feature — `NU_RPC_URL` env variable support
### Changed
- `rpc::Client` params changed from object to **positional array** — matches nu-node sözleşmesi
- `rpc::Client::new` auto-appends `/rpc` path suffix
## [0.1.0] — 2026-04-24
### Added
- `nu wallet new [--label <name>]` — generates secp256k1 keypair, stores private key
as hex in `~/.nu/keystore/<label>.key` (plaintext in Faz 0; encrypted in Faz 1)
- `nu wallet list` — lists all keys in `~/.nu/keystore/`
- clap CLI scaffold with subcommand structure (`wallet`, `node`, `story` stubs)
- `src/commands/wallet.rs` — keygen via k256 crate