Replying to Avatar bob

Introducing Boardwalk Cash - the first dollar-based Cashu wallet built on top of #bitcoin and connected to #nostr.

https://BoardwalkCash.com

We now have stablecash on bitcoin - completely interoperable with the lightning network.

Share your lightning address or invoice to receive dollars. Paste a lightning address or invoice to send dollars.

Boardwalk Cash connects to any nostr client via NWC. Zap dollars on nostr apps like nostr:npub12vkcxr0luzwp8e673v29eqjhrr7p9vqq8asav85swaepclllj09sylpugg or on Discord with our Zap Bot.

This is a very early product and there are not many public mints, so use at your own risk. Yet, we’re excited to show some of what ecash and nostr can offer for advancing #bitcoin payments.

Which NUT supports USD?

Reply to this note

Please Login to reply.

Discussion

The Cashu v1 spec supports any unit and mint/melt method. Can be found in the mint/melt settings of the mint ie. https://github.com/cashubtc/nuts/blob/main/04.md#settings

Thanks for sharing

I guess my specific question is;

What is the exact line of code(s) do I need to enter to support USD?

Trying to do this for our own mints

1. Add a new active keyset with unit ‘usd’

2. Convert amount in mint quote request to sats based on current exchange rate, then create invoice for that sat amount.

3. Convert sat from invoice to usd in melt quote request and return usd amount needed to pay the invoice.

Happy to help if you want to get on a call

Excellent thank you! I'll take you up on that for sure!