A neat way to do trustless…
A neat way to do trustless digital commerce on Nostr and Bitcoin
HTLCs (Hashed Time-Locked Contracts) enable trustless swaps of digital goods between Nostr users.
The basic idea: during the swap, both parties must log in at least once per day — otherwise, the transfer doesn’t complete. (That’s the time lock part.)
Each digital item can be given a unique name, embedded on-chain via an OP_RETURN, and referenced in Nostr relays using the "d" tag.
There, you can describe your artwork, explain it, set a price, and provide contact info. The art can be stored on blossom servers.
If someone likes what they see, they can initiate a transfer — and the HTLC dance begins. If the seller agrees to the price, they settle the payment, and the buyer has 24 hours to claim ownership of the piece.
Later on, the buyer can resell the artwork, in the same way — maybe after the artist becomes famous and successful.