Discords roles via Solana NFT Verification System Bot/Page
Budget: $30 – $250 USD
There are similar projects to this (GRAPE on Solana for example.)
How I want it to work:
-The join the discord server.
-They click a link to verify themselves. It goes to a website hosted by us.
-They first need to discord sign in if they haven't yet.
-Then they need to connect their wallet and sign a transaction for discord to link their wallet to their discord.
One this is done we have a cronjob that scans their wallet for certain NFTs of a collection. If they have at least one NFT of the collection it gives them a "Verified" role. This will have to be done with the Solana API (RPC) for checking. The best option I know will be to provide a list of NFT token addresses and do a matchup. (Unless there is a better way.)
If they have two of more 'staked' (which can be checked via an API check via public wallet address I'll provide which will spit out a simple number) then we give them the "Alpha" role. This is a requirement for a collection I'm with but I need to be able to remove or change this requirement for others in the future. I'll provide an example for this one when needed.
Typically the above cronjob will be fired off the first time they sign for a fast process instead of waiting.
If they end up removing/selling their NFTs from the collection or if you cannot verify their wallet anymore due to removing access, the discord role(s) should be removed. Doesn't need to be instant, maybe hourly/daily cron? If there is a better way feel free to suggest.
More details on the collection to test with and the API to check staked will be provided on acceptance. Can be on REACT or another system. I have a Linux server that is clean and can be used to test/make sure it works. You can use a temp discord server of your own to test roles. MUST BE CONFIGURABLE OPTIONS FOR OTHER COLLECTIONS!
How I want it to work:
-The join the discord server.
-They click a link to verify themselves. It goes to a website hosted by us.
-They first need to discord sign in if they haven't yet.
-Then they need to connect their wallet and sign a transaction for discord to link their wallet to their discord.
One this is done we have a cronjob that scans their wallet for certain NFTs of a collection. If they have at least one NFT of the collection it gives them a "Verified" role. This will have to be done with the Solana API (RPC) for checking. The best option I know will be to provide a list of NFT token addresses and do a matchup. (Unless there is a better way.)
If they have two of more 'staked' (which can be checked via an API check via public wallet address I'll provide which will spit out a simple number) then we give them the "Alpha" role. This is a requirement for a collection I'm with but I need to be able to remove or change this requirement for others in the future. I'll provide an example for this one when needed.
Typically the above cronjob will be fired off the first time they sign for a fast process instead of waiting.
If they end up removing/selling their NFTs from the collection or if you cannot verify their wallet anymore due to removing access, the discord role(s) should be removed. Doesn't need to be instant, maybe hourly/daily cron? If there is a better way feel free to suggest.
More details on the collection to test with and the API to check staked will be provided on acceptance. Can be on REACT or another system. I have a Linux server that is clean and can be used to test/make sure it works. You can use a temp discord server of your own to test roles. MUST BE CONFIGURABLE OPTIONS FOR OTHER COLLECTIONS!