gofractally / psibase

Open source protocol enabling communities to easily self-host web applications
https://docs.psibase.io
MIT License
28 stars 7 forks source link

NFT auth service #929

Open James-Mart opened 20 hours ago

James-Mart commented 20 hours ago

The idea is that an NFT can be used to represent the owner permission for an account. This would allow the account to send to the owner to someone else (custodial account), or to an account controlled by an msig of friends (social recovery), or the NFT could be listed on a marketplace to sell the account (maybe it's highly valued for its domain name, etc).

James-Mart commented 20 hours ago

Tempting to think about future generalizations of the idea: Imagine that apps could create "permission templates" on the auth service with a templated ruleset for the permission. e.g. token service publishes a template called allowance with the ruleset "owner can credit x number of y type tokens every z days". Then an account can mint one of these permission templates and send the permission nft to a recipient, who now has the permission specified in the ruleset.

Velua commented 20 hours ago

This would be fantastic help in setting up an account name market!