Tim Bouma on Nostr: Just the proofs for now. The deposit command polls until the quote is paid. As for ...
Just the proofs for now. The deposit command polls until the quote is paid. As for the proofs, they are removed immediately after being spent, and I swap all remaining proofs into a single event. To keep the token amount low, I calculate the least power of 2 summand and swap everything into new outputs. For example if I have 1,2,4,8,1 across 3 events, those get swapped into 16 and 1 event. The old events are deleted.
Published at
2024-08-13 18:07:12Event JSON
{
"id": "52b2db531b93e900d33f4696de39b82d2623bf82a2f28841e4d12c30ec284863",
"pubkey": "06b7819d7f1c7f5472118266ed7bca8785dceae09e36ea3a4af665c6d1d8327c",
"created_at": 1723572432,
"kind": 1,
"tags": [
[
"e",
"84e5e2177a4fbf748acd5724206181e8c286b45b4610e82117032d8235e3b02f",
"",
"root"
],
[
"e",
"8ece86bf543a15e1fcadd8d4e1e92447d5c825be8a26a77423fb4fc6f4a72f3e",
"",
"reply"
],
[
"p",
"04918dfc36c93e7db6cc0d60f37e1522f1c36b64d3f4b424c532d7c595febbc5"
],
[
"p",
"6b1b8dac34ffc61d464dfeef00e4a84a604e172ef6391fb629293d6f1666148c"
]
],
"content": "Just the proofs for now. The deposit command polls until the quote is paid. As for the proofs, they are removed immediately after being spent, and I swap all remaining proofs into a single event. To keep the token amount low, I calculate the least power of 2 summand and swap everything into new outputs. For example if I have 1,2,4,8,1 across 3 events, those get swapped into 16 and 1 event. The old events are deleted.",
"sig": "39c83fc96f5345b89366b25a78100730e34bde201a1adcb98cf83bb836dfff4fb8c815e697224c246f02a111bb5046eb9d893ecb0ca45d198e59fcb4c41dc8a2"
}