State machines on Nostr through External computation off relays #1242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
view here
The difficulty of managing users and permissions has existed since time immemorial, since systems such as LDAP have existed. Users need permissions, and with those permissions they can edit theirs and other permissions. The handling of this system essentially requires the computation of a state machine.
This nip describes a way to perform computation of a state machine, such as permissions management or moderation, and communicate the results over nostr. Computation is necessary for certain functions, and nip-29 proposes an alternative model of computation where the relay acts as the computer. Unlike nip-29, this nip proposes that computation should be owned by a keypair, while the inputs and results are decentralized across multiple relays.
A Computer can be used to add interactive functionality to existing nips
kind:34550
, giving a way to edit the community outside of just a single private key. The computer can also automate the approval of posts withkind:4550
as timeline state.