#bitcoin #e-cash #cashu

app tuppence

Chaumian ecash mint for Bitcoin

1 unstable release

0.0.1 May 12, 2023

#12 in #cashu

MIT license

16KB
156 lines

Tuppence

Chaumian ecash mint written in Rust, implementing the Cashu protocol.

NUT Support

  • NUT-01 - Active keyset via GET /keys
  • NUT-02 - All keysets via GET /keysets and single keyset via GET /keys/{:id}
  • NUT-03 - Invoice requests via GET /mint?amount={:amount}
    • Integrate with Lightning gateway to return invoices
    • Check for invoice payment in background
  • NUT-04 - Minting tokens via POST /mint?hash={:hash}
  • NUT-05 - Check Lightning fees via POST /checkfees
  • NUT-05 - Melt tokens via POST /melt
  • NUT-06 - Split tokens via POST /split
  • NUT-07 - Spend check via POST /check
  • NUT-08 - Lightning fee return
  • NUT-09 - Mint information via GET /info

Roadmap

  • Persist mint state to database
  • Proper secret management
  • Keylist rotation
  • IP & Port listening configuration

Dependencies

~25–38MB
~607K SLoC