mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
The framing: Amy gains every cashu action the Amethyst UI exposes, each one reusing the exact same quartz + commons code the Android wallet runs in production. The deliverable is a shell harness under cli/tests/cashu/ that walks two Amy accounts through the full wallet lifecycle against a production mint, so regressions in the cashu code path fail on the JVM in CI without an emulator. Plan covers: - Three extractions before any verb lands: cashu token parsers to quartz, CashuWalletOps to commons, CashuWalletReader projection helpers to commons. - One storage addition: ~/.amy/<account>/cashu.json for NUT-13 keyset counters (deterministic secrets need durable counter state across invocations). - Command surface under amy cashu …: wallet, mint, balance, receive, send, mint-rec, maintenance — mirrors every action the Android wallet exposes. - Stable --json shape per verb. - 9-PR sequencing: extractions first, then verbs grouped by user intent, then the 10-scenario interop harness. - Acceptance criteria: harness passes against mint.minibits.cash and the on-relay events are byte-equivalent to what Amethyst would produce.