1

I would like to use ownership of a Cardano NFT as a requirement for editing an online document. i.e. if you own the nft then you will be capable of writing to the document,but if you do not own the required NFT then you will only be able to read. Are there any examples of NFT ownership being used as a password of sorts like this? any recommendations of where to start looking for a way to do this?

2 Answers 2

2

What you say is possible.

In this repo you can find an example on how to mint an NFT and then use it to login to a web app.

I reckon you can use a similar approach for your use case.

2
0

Here is another example: SpaceBudz Contract He created individual SpaceBudBid NFTs that basically mark the highest bid on-chain for a specific SpaceBud. That way he doesn't need to scan a lot of UTxOs and instead always keeps track of the highest bidder.

You can do the same thing by generating an NFT series for each document. The policy could be unlocked so that the owner of the document can grant an arbitrary number of people different rights (reading, writing, commenting etc.) which correlates to some action that mints a respective NFT for that user.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.