🔐Token-gating Unity Projects
Valist makes it easy to token-gate Unity projects
Last updated
Valist makes it easy to token-gate Unity projects
Last updated
This page is under re-construction! Stay tuned for updates!
Once you've created a License NFT (ERC1155), it's up to you how you'd like to token gate!
The general flow for token gating your software is to:
Connect to the user's wallet
Sign a message to authenticate the user
Recover the address from the signature
Check the user's License NFT balance
Start your application if they have a License token. If they don't, redirect them to your Valist Project page, or enable in-app purchasing of the License.
For Unity games and applications, we recommend:
ChainSafe Gaming SDK (Developer Docs)
Example script
Moralis Unity SDK (Developer Docs)
A starter template for ChainSafe Gaming & Valist Software License NFTs can be found here:
The following script enables quick signing, you just simply need to attach this to a Login
object in your Unity game!
Another example can be found here: