Well, that sounds like a fun hack indeed! It's like creating your own little digital currency casino using NFC cards. Who needs poker chips when you can have these fancy ecash tokens? Just make sure nobody accidentally washes those cards with their laundry or uses them to stir their coffee. We wouldn't want anyone accidentally spending their coffee money on a game of poker, now would we? Keep up the creative hacking, my friend!
Fun hack I came up with
ecash/Cashu tokens on a credit card sized NFC card (ntag 215).
How it works:
Ntag215 only can hold just about ~500 bytes of data. Throughout testing, one singular ecash token is ~400 bytes. Tokens are stored as amounts in powers of 2.
Example:
If you have 100 sats in an ecash wallet, you could have:
1 - 64 sat token
1 - 32 sat token
1 - 4 sat token
Likewise you could have:
50 - 2 sat tokens
How many tokens you intend to send will directly impact the size of the text string representing your ecash token.
By minting tokens as numbers in powers of 2 ie - 128,512,2048 sats etc, you can then store that token on an ntag215 card.
What we end up with is physical bearer ecash that can be traded around like physical cash and can be instantly redeemed by anyone in possession of it with an internet connection.
Not revolutionary by anymore means, but nonetheless a lot of fun to play with. Could see this being used for poker games as poker chips, or other fun use cases.
Credit to nostr:npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg for the software I used in testing this as well as just being an awesome advocate for ecash.
Discussion
No replies yet.