3 ms·
How _could_ an NFT give me exclusive access to a Discord channel? I see how it could let me read some sort of access token that I could use, but I dont see how
by fergie 5y ago
How _could_ an NFT give me exclusive access to a Discord channel? I see how it could let me read some sort of access token that I could use, but I dont see how it would prevent others from seeing/using that same token, particularly those who have previously owned it.
- leppr 5y agoYou sign a message containing your Discord username with the address that's registered as owner of said NFT. The bot then approves your Discord account, while also watching for changes in NFT ownership to revoke your access if you transfer the token out.
- CyrusL 5y agoThe implementation is usually cryptographically signing a message from the account that owns the NFT.
- meheleventyone 5y agoIt's pretty common to do this for Patreon rewards so it's not really much different to how you'd approach that except instead of connecting to their API it does it using the records on chain. You'd run a bot or similar on Discord that would grant you a role to access the channel and it would use your wallet to verify your identity (ala public key crypto) and the ownership of the NFT by your wallet to verify the permission to join. Most of the time you're a centralized thing anyway in this case so the NFTs don't really add much (unless you want users to be able to trade access) even if you wanted to take payment via crypto-currencies.