Egge on Nostr: If you mint a nut today, your wallet will request an invoice from the mint and then ...
If you mint a nut today, your wallet will request an invoice from the mint and then constantly ping the mint whether it has been paid yet or not. This is called polling.
With WebSockets a bidirectional communication is established, so that the mint can simply ping the wallet once the invoice is paid
Published at
2024-04-21 17:25:13Event JSON
{
"id": "a49bba37fbdd5c587f8b2edd904c69c2fabcd9b84dff75cef8148948e3241331",
"pubkey": "ddf03aca85ade039e6742d5bef3df352df199d0d31e22b9858e7eda85cb3bbbe",
"created_at": 1713720313,
"kind": 1,
"tags": [
[
"e",
"6c52aa083c1986878553e337fd43905e5eda6e3158d02e75e28ea856360ea427"
],
[
"e",
"3c7f7b969f4c473af2d7bfb19e222f6c4a027608bf08ef35a2ebd5f65f27b13b"
],
[
"p",
"5b14383aab1a9f6147852f8e241266bec81463392fe5a5b3646c6c98c19310f2"
],
[
"p",
"e771af0b05c8e95fcdf6feb3500544d2fb1ccd384788e9f490bb3ee28e8ed66f"
]
],
"content": "If you mint a nut today, your wallet will request an invoice from the mint and then constantly ping the mint whether it has been paid yet or not. This is called polling.\n\nWith WebSockets a bidirectional communication is established, so that the mint can simply ping the wallet once the invoice is paid",
"sig": "f03a1975ca01b6ea62a9e70f53577439398b15c161abadb82ab883c16ad130021a166b6bb8661a7a91e0783a092075df6dd6874cfa0fa3929ca08f383ff13864"
}