Big Barry Bitcoin on Nostr: GM. I was thinking about ecash and how we could ever have double spend resistance. ...
GM. I was thinking about ecash and how we could ever have double spend resistance. Here is my train of thought.
Even though Bitcoin transactions can be signed and handed offline, the blockchain is necessary to prevent double spends.
1. In cashu, you give me something. Great.
2. I still need proof that you didn't give this to someone else.
3. We need a central trusted source of spends as anonymous as possible.
3. Machunkura has "offline" payments using USSD
4. LoRa is also an interesting messaging mechanism for small messages.
Key word here being SMALL messages.
What information would we want sent and to who?
Possibly sending to the mint is a good idea, we already have their ultimate trust.
Could we hash the cashu token and lock it to ourselves with a small key or password or hash of a password?
If you attempt this and the token is already locked, you get "immediate" notification to reject payment.
The hashing idea is my attempt to reduce the payload but it might be a silly idea 😄
You couldn't hash multiple tokens together because the mint wouldn't be able to lock an individual cashu token if it were hashed along with other tokens together. So it wouldn't be effective at preventing double spends for offline users.
Curious what anyone else has thought about regarding this topic.
#ECASH #CASHU
Published at
2024-12-27 12:25:28Event JSON
{
"id": "b8baa4d41fd870a1ec5c7edc8699768d8cdad0aac77e8dc2b3577290feee7fa1",
"pubkey": "0d97beae567fcec9c6574f1c6ef6126ea969d4992c3198e51c0fac52c5274a14",
"created_at": 1735302328,
"kind": 1,
"tags": [
[
"t",
"ECASH"
],
[
"t",
"ecash"
],
[
"t",
"CASHU"
],
[
"t",
"cashu"
]
],
"content": "GM. I was thinking about ecash and how we could ever have double spend resistance. Here is my train of thought.\n\nEven though Bitcoin transactions can be signed and handed offline, the blockchain is necessary to prevent double spends.\n\n1. In cashu, you give me something. Great.\n2. I still need proof that you didn't give this to someone else.\n3. We need a central trusted source of spends as anonymous as possible.\n3. Machunkura has \"offline\" payments using USSD\n4. LoRa is also an interesting messaging mechanism for small messages.\n\nKey word here being SMALL messages.\n\nWhat information would we want sent and to who?\n\nPossibly sending to the mint is a good idea, we already have their ultimate trust.\n\nCould we hash the cashu token and lock it to ourselves with a small key or password or hash of a password?\n\nIf you attempt this and the token is already locked, you get \"immediate\" notification to reject payment.\n\nThe hashing idea is my attempt to reduce the payload but it might be a silly idea 😄\n\nYou couldn't hash multiple tokens together because the mint wouldn't be able to lock an individual cashu token if it were hashed along with other tokens together. So it wouldn't be effective at preventing double spends for offline users.\n\nCurious what anyone else has thought about regarding this topic.\n\n#ECASH #CASHU",
"sig": "4e09fcf9cb05b5507af453a10ee4c23683da515cff1b9daf36454904dfccbd997fadb8a328b635a438411f76f1c61d382a81c091030595030010102a7aab2f2c"
}