MonaGator
MonaGater is a prototype to token gate Mona avatars. This example uses the awesome Nouns VRMs, but this tech would users to link Mona avatars to their owned NFTs across any EVM chain!
Screenshots






Problem Statement
Unity Project is here: https://github.com/jasperdegens/mona-gator-unityThere currently is not a way to limit access to avatars through Mona's avatar system without minting avatars. It would be awesome to allow for avatars linked to existing NFTs or CC0 NFTs that can be accesses by either the holders or lightly gated to track community participation. With some trickery, we've done just that! We use the user's IP to authenticate them on our server, and then from within Mona we query our server to see which avatar a user is allowed to access. It's a fun prototype that has a lot of potential for projects that want to integrate into Mona.
Solution
MonaGator functions as follows: The main process for this app is as follows:On the webapp side, we detect the client's IP address and authorize a subset of avatars. 🕵️♀️IP is stored in server kv store, along with an expiration time and authorized avatars. 🗄️On the unity side, we query for authorized avatars using a Unity Web Request. 🕸️We detect the same IP address, so can pass back the pre-authorized avatars. 🤝We can update in realtime (currently using a key-press but could use sockets if enabled on Mona side) ⏰Used Technologies: 🛠️Next.jsVercelUnity Visual Scripting LanguageMona SDKNouns VRMs
Hackathon
ETHGlobal New York
2024
Prizes
- 🏆
💻 Mona — Best Website using Mona
- 🏆
🤝 Mona — Best Interactive Components
Contributors
- jasperdegens
17 contributions