Building a Cutting-Edge Gacha-Based Airdrop System

ELVTD.io
4 min readDec 17, 2024

--

Virtual Protocol’s AI Waifu Gacha project brought together the thrill of gacha-based mechanics and the utility of Web3 technology. Designed to deliver an engaging and provably fair experience, the system catered to holders through a combination of on-chain and off-chain mechanisms. ELVTD.io was tasked with developing this innovative airdrop system, along with an animated and interactive web app that seamlessly integrated with smart contracts.

Built on the newly launched Blast Network, this project presented a unique set of challenges, from limited tooling for oracles and VRF (Verifiable Random Functions) to optimizing random queries for large-scale interactions. Despite these hurdles, we delivered a scalable, user-friendly, and technically robust solution.

Highlights

  • Development of On-Chain and Off-Chain Gacha Systems:
    On-chain system using API3’s QRNG Oracles for on chain random number generation.
    – Off-chain system designed with a provably fair mechanism to maintain user trust and verifiability.
  • Token Airdrop Development:
    Airdrop distribution integrated into both gacha systems.
  • Smart Contract Automation:
    Full testing and deployment automation for seamless execution.
  • Web App Development:
    Interactive and mobile-responsive website with animations to bring the whole experience together.

The Challenge

Developing the Virtual Protocol AI Waifu Gacha system presented several technical and creative challenges:

  1. New Network Limitations:
    Building on the Blast Network, which had just launched, meant working with limited tooling for oracles and random number generation.
  2. Random Query Optimization:
    The on-chain gacha system required large-scale random queries, but technical constraints with API3’s QRNG oracles demanded innovative solutions to bundle and optimize these calls without sacrificing fairness or efficiency.
  3. Provable Fairness in Off-Chain Systems:
    For the off-chain gacha system, ensuring fairness was crucial to maintain user trust. The system needed to generate outcomes that were verifiable, deterministic and transparent.
  4. Engaging User Experience:
    The website needed to deliver a fun and immersive experience, combining responsive animations with seamless integration into the gacha systems.

Our Approach

Building the On-Chain Gacha System

We utilized API3’s QRNG Oracles to ensure randomness in the on-chain gacha system. Given the technical constraints of Blast Network, we developed a method to bundle random queries, reducing the load on the oracle while maintaining fairness. This optimization prevented system limitations from impacting performance and ensured that users received a smooth experience.

Developing a Provably Fair Off-Chain Gacha System

The off-chain gacha system was designed with a provably fair mechanism, where outcomes were cryptographically generated and verifiable. This ensured that users could independently confirm the fairness of their results, building trust and engagement in the platform.

Token Airdrop Integration

Both gacha systems were integrated with a token airdrop mechanism, enabling holders to receive rewards seamlessly. The airdrop system was tailored to the client’s preferences, providing a flexible and efficient distribution process.

Interactive Web App Development

We designed and built a fully responsive web app with rich animations, creating an engaging user experience across devices. The app seamlessly interacted with the smart contracts, allowing users to participate in the gacha mechanics effortlessly. Every detail — from transitions to mobile responsiveness — was meticulously crafted to enhance the fun and excitement of the experience.

The Results

Despite the challenges of working on a new blockchain network, the project was delivered successfully, achieving the following outcomes:

  • Seamless User Experience: The interactive web app, paired with the gacha systems, offered an immersive and responsive experience praised by users.
  • Provable Fairness: Both on-chain and off-chain systems delivered outcomes that were cryptographically secure and verifiable, ensuring transparency and trust.
  • Optimized On-Chain Randomness: By bundling and optimizing queries, the on-chain system handled randomization efficiently, overcoming technical limitations of the Blast Network.
  • Innovative Airdrop Mechanism: Integrated token airdrop distribution added value for holders, streamlining reward delivery through the gacha experience.

Reflections and Learnings

The Virtual Protocol AI Waifu Gacha project highlighted the importance of adaptability and innovation in Web3 development. Working on a newly launched blockchain required creative problem-solving, particularly in optimizing oracle usage for random queries. Additionally, the emphasis on provable fairness demonstrated how technical integrity can drive user trust in gamified Web3 applications.

This project reinforced ELVTD.io’s commitment to delivering engaging, high-quality Web3 solutions that balance technical robustness with user-focused design.

Let’s Build Together

Whether you’re looking to develop interactive Web3 experiences or innovate with blockchain technology, ELVTD.io has the expertise to bring your ideas to life. Contact us today to explore how we can elevate your vision.

--

--

ELVTD.io
ELVTD.io

Written by ELVTD.io

Unlock the power of utility backed NFTs with ELVTD.io. Our validator is now live at https://validator.elvtd.io/playground/

No responses yet