Oddbean new post about | logout
 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!