“Smart Contracts” using Nostr and Bitcoin only … we have some work to do.

nostr:npub18ams6ewn5aj2n3wt2qawzglx9mr4nzksxhvrdc4gzrecw7n5tvjqctp424

nostr:npub16secklpnqey3el04fy2drfftsz5k26zlwdsnz84wtul2luwj8fdsugjdxk

nostr:npub1xxxxxxx0r00r9ga3c25q00z5zvahdtgyjdt5ej324ed5e8e6h8js2a5eh4

nostr:npub14u83wvldmgdn0vyrwxmecpjt4xlwvqc9m7h40ylvrjjlade7wjnsk5ym97

Reply to this note

Please Login to reply.

Discussion

We'll get it figured out, but we may need to ask a few wizards.

I’m SURE others have already put thought into this … yea but who?

I’ve got three words for you, Derek. Frostr. Giftwrap. Blossom. 

we should schedule a jam session to talk about it more sometime next week.

I’m driving now … but quick thoughts off the top of my noggin:

1 Access Keyed Content : This is a nip that specifies a new kind for encrypted blossom events, where the “p” tag references a pubkey (specifically for this content item) that decrypts the event content. Some other tag on the event references a url or some event detailing “how to get the access key”. Users can fetch any number of these events from relays, but only decrypt if they have the appropriate access key (shard).

2. Frostr shards for the content keys, which can be activated and deactivated from any client “dashboard” setup for this. Could be triggered on lightning payment within the dashboard.

This solution only requires a “trusted” key manager app … which is kind of a given for Nostr anyway.

anyone can run a service that does stuff over nostr, that is basically a dvm, lets say a simple calculator, you would send an event with the params and the service(dvm) you want to use, could be via dm, or onthe event itself and the dvm would execute and give the result, the problem is trust, because someone is running the code and can run a badcalculator so afaik you dont have a way to do this trustless, bc we dont have a mechanism to execute the code we want in a trustless way.

Trustless transactions is what smart contracts solve for. We can do this with Bitcoin and Nostr … I’m positive.