Aavegotchi game mechanics make full use of Chainlink VRF
DeFi-staked NFTs from another realm are bringing true randomness with them
Greetings frens 👻! We’ve made a lot of progress implementing Chainlink Verifiable Random Function (VRF) to help us summon Aavegotchi and today we want to share how it all works.
Most people associate Chainlink’s market-leading oracles with business use cases like delivering real world price feeds to many of the top DeFi protocols like Aave. In our case, we’re excited to be making use of one of their most arcane oracles: what we call the Verifiable Random Fren. This powerful function enables unbiasable randomness on Ethereum.
Aavegotchi is one of the first projects to make use of Chainlink VRF in a major way. In fact, the VRF is at the center of our collectibles and gaming experience!
In this post, you’ll learn:
- What is verifiable randomness
- How to summon your first Aavegotchi
- How Aavegotchi mini-games use Chainlink VRF
Let’s go! 🚀
What is Chainlink VRF
Randomness is an important element to many computer games, but verifying that randomness is unhackable and legit is not an easy undertaking. In fact, it’s downright difficult. Smart contract developers using randomness as a key input must work hard to protect against vulnerabilities in their randomness algorithms, an attack vector that has led to hacks of NFT projects in the past. For example, many off-chain solutions require trust in central data providers or developers, while on-chain solutions like Blockhash have been subject to miner attacks.
Chainlink VRF offers a major breakthrough in delivering randomness by using cryptographic proofs that can be verified on-chain, showing that the randomness is indeed unpredictable and has not been tampered with by any party, including the developers. This allows smart contract developers to incorporate randomness with strong security and cryptographic guarantees that users can independently verify as fair and unbiased.
The recent release of VRF could not have come at a better time for Aavegotchi. We are using Chainlink VRF to build games with randomness that is verifiable on-chain. This helps all Aavegotchi be summoned in a way that is provably based on the will of powers beyond our own realm.
Each Aavegotchi summoned needs to be randomly generated with a massive variety of intrinsic qualities, including visual traits, wearables, and collaterals. These unique Aavegotchi are then able to again engage Chainlink VRF for many of our mini-games and AavegotchiDAO experiences.
How to summon your first Aavegotchi
Many have been asking whether they can pick and choose any Aavegotchi they want, like ordering a new hair dryer on Amazon or a pizza. The answer is of course not, Aavegotchi hail from an entirely different realm and can be summoned via very powerful tools that are only now being built. The portals we are building simply wouldn’t be possible without Chainlink VRF. It’d be like Marty McFly’s time machine without a flux capacitor. So read on to learn how you can summon your first Aavegotchi and how Chainlink’s oracle services make it possible!
How Aavegotchi mini-games use Chainlink VRF
Aavegotchi love to compete. Sometimes the games are just for fun and sometimes there is more “at stake”. When honour, XP, and even yield are on the line, everyone needs to know the results are based on true randomness and cannot be gamed.
While some games will require direct involvement and a game controller, others will be very accessible and only rely heavily on each Aavegotchi’s unique set of traits to determine outcomes. We are using Chainlink VRF to look at each Aavegotchi’s unique parameters and generate unpredictable scenarios and results.
For example, a horse race style game may have a large number of participants, each with their own variety of traits being taken into account. Before the race begins, underdogs and favorites can be assigned, with different victory payouts established. Throughout the race your Aavegotchi will have a number of decisions to make, each engaging Chainlink VRF in real time. The randomness informed by your Aavegotchi’s traits and others will play a huge role in determining this type of race’s outcome. This makes for a verified result that all can trust and accept, no matter the amount of value at stake.
Other minigames and scenarios within the AavegotchiDAO will utilize Chainlink VRF for randomizing important decisions among qualified citizens of the Realm metaverse. For example, the DAO metaverse has live town hall meetups where real decisions get made. We’re excited about scenarios where badge holders like “hosts” “judges” or “jurors” who are present can be randomly selected in real time and assigned important tasks to help administer the event.
The future of gaming is here and it’s based; based on true ownership, interoperability, governance and verifiable randomness provided by Chainlink VRF.
Without all of the above, the Aavegotchi would never be able to cross through the portals and become our frens.
If you are a smart contract developer and want to take advantage of the Chainlink VRF feature, visit their developer documentation and join the technical discussion on Discord. If you want to schedule a call to discuss the integration more in-depth, reach out here.
Chainlink is an open source blockchain abstraction layer for building and running decentralized oracle networks that give smart contracts on any blockchain access to secure and reliable data inputs and outputs. It provides oracles to leading DeFi applications like Synthetix, Aave, and Kyber Network; numerous blockchains such as Ethereum, Polkadot, and Tezos; as well as large enterprises including Google, Oracle, and SWIFT.
Aavegotchi are DeFi-powered crypto collectibles from another realm. Summon your own Aavegotchis to collect, compete, and combine them for the ultimate gamified DeFi experience!
Aavegotchi has a vibrant community centered around gamified DAO governance layered on top of Web3. The entire Aavegotchi experience is powered by GHST, the eco-governance token of Aavegotchi. Use GHST to purchase various digital assets within the Aavegotchi universe, such as Aavegotchi portals & wearables. Hold GHST so your Aavegotchi can participate in DAO governance, and earn GHST by excelling at Aavegotchi rarity farming.