lemon on Nostr: For now I just need to be able to do this client side: - Generate a mint quote ...
For now I just need to be able to do this client side:
- Generate a mint quote lightning invoice
- Confirm when it’s been paid
- Generate a cashu token from the proof
How do I do this with the Mint HTTP API?
I know the python integration, Nutshell, has the mint API for localhost, but how would I use the API for minibits, for example
Published at
2025-02-17 18:51:11Event JSON
{
"id": "da234ba1f12693af2e1b75fc532a2e617cfb684ba879e22ca8666f62803c9445",
"pubkey": "be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e",
"created_at": 1739818271,
"kind": 1,
"tags": [
[
"e",
"aab336e29ae07e3d405a8f0a6ae6496900789d6c84bb6061c1c7bc6b4e1fb57a",
"",
"root"
],
[
"e",
"7b14cbaaa8a8ade3660177c2d16e337360bd1e04bb84b20d635d62ece349f397",
"wss://nostr.oxtr.dev",
"reply"
],
[
"p",
"7fa56f5d6962ab1e3cd424e758c3002b8665f7b0d8dcee9fe9e288d7751ac194"
]
],
"content": "For now I just need to be able to do this client side:\n- Generate a mint quote lightning invoice\n- Confirm when it’s been paid\n- Generate a cashu token from the proof \n\nHow do I do this with the Mint HTTP API?\n\nI know the python integration, Nutshell, has the mint API for localhost, but how would I use the API for minibits, for example",
"sig": "a155266c2a7ed08aa23598f9ea5dd74a2a1bf90a0b969717eff16419134f775b2e30f1951410cd3b888559ebe83f99783d364443ace1f5b781de81bd80e17a5d"
}