Why Nostr? What is Njump?
2024-03-23 20:31:08

sebas on Nostr: this is the way! ...

this is the way!
Small update on the state of subscription-based Data Vending Machines on #Nostr:

My Python framework now supports subscription-based DVMs using Nip88. By using Nostr Wallet Connect (nwc) you can subscribe to a DVM and use it throughout the subscription (if the DVM supports it). Subscriptions can be canceled via a button or by deactivating the nwc string. If they get canceled, subscriptions remains active as long as they were paid for and can be renewed at any time.

Below is an example workflow on noogle:
The user subscribes to a #DVM by adding a #NWC string (in this case we use Alby). Once the registration is done, the first interval gets paid in the background (with a zap split to the DVM itself, the framework, nostr-sdk and the client it's running on) and the subscription is active. Now the DVM can be used as often as we like during our subscription.

Just a small hint: This is just a demo and this DVM will be free again in the future. It shows the most popular notes in the last 2 hours. You can subscribe to it to try it out or to support development of the framework, as well as rust-nostr sdk tho.

Subscriptions might be more relevant for specified algorithms and more complex stuff that enhances our experience on Nostr as well as some other DVM use cases.

In a sense, building foundations for people to build on in the future.

Author Public Key
npub1rw7hlhmgat6ur9zxcw40vweem49guv6530yk767j8xjpynv0y20q6qsl3w