5

The question is the title, I want to gate access to a URL based on the presence of a specific token in their wallet.

I assume this would be done through a wallet browser plugin? I've heard that this can be done through Nami wallet but would like some more information if anyone can help please?

Many thanks in advance.

2

In the Nami wallet documentation, it says how to interact with the wallet using web-browser, for example you can run window.cardano.enable(), there is a command for queryng UTXOs.. i have not been able to make it work, but yes the one that query the address.. then you can query the adress using blockfrost, and check the UTXOs sitting in that adress.

1
  • Thanks for the answer :)
    – AdamG
    Oct 28 '21 at 21:58

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.