Vision
5% of on-chain games are currently on 3+ chains. This small proportion of games is focused on having cross-chain assets and they lack game interactions across chains.
It's no secret that most users are transitioning to chain-agnostic behavior, which will lead to a multi-chain future. Our game uses Chainlink's suite of tools to gamifiy a space that has been untouched by GameFi - the 'interchain'.
Stake n' Bake begins the movement of truly interoperable games across blockchains. We are committed not only towards bridging game assets across chains, but entire silos of communities.
Lore
Farmers and stoners have long enjoyed a symbiotic relationship across the multichain, with limited intervention from law enforcement.
However, the recent crackdown on $BUDS has ensued chaos. The stakes are high as Narcs have now been cleared to raid any farm on the multichain.
Farmers must grow $BUDS in discretion, with help from their network of stoners. Meanwhile narcs remain vigilant through their network of informants.
Who shall lay claim to the most $BUDS?
The Game
Stake n’ Bake is played across multiple blockchains, each having a unique farm that grows $BUDS.
The game revolves around acquiring $BUDS.
Players can either:
- Buy $BUDS
- Grow $BUDS on farms across the multichain
- Seize $BUDS by raiding farms
How we built it
- We have utilized the suite of Chainlink tools along with developer tools like Thirdweb SDK, Amazon AWS Lambda etc.
- The combination of these tools powers Stake N Bake from under the hood.
Use of Chainlink
Chainlink VRF
- Stake N Bake has various elements where probabilistic functions are needed.
- Chainlink VRF is among the most secure RNG providers and we have utilized it for multiple game functions eg. Our raiding mechanism is based on probability and a raid is succeded 2-3 times out of 10.
Chainlink Oracle Functions
- Stake N Bake is cross-chain and is deployed on multiple chains.
- Few important state variables like global liquidity combining all chains need to be updated across chains.
- We have solved this need this with a combination of Amazon AWS lambda and Chainlink Oracle functions.
- Our custom lambda endpoint gathers state from all chains and with the help of chainlink functions and automation, we update state across chains.
Chainlink automation
- Stake N Bake utilizes automation for triggering state changes across chains & for the timely distribution of staking rewards.
Chainlink CCIP
We utilize CCIP for cross-chain messaging. Cross-chain messages sent from the source to the destination chain perform specific functions upon receiving a said message.
Team Insights from the Hackathon
- We faced hurdles in the implementation, performance, and debugging of various functions. But it was nothing that put us to a stop and the Chainlink team was always helpful.
- The hackathon gave us a chance to iterate on the product market fit of our idea and makes us proud of the features that we have built to make Stake N Bake unique and exciting.
- Though we have achieved major milestones, we are eager to experiment with new infra to enhance the UX. As of now we have added gasless smart wallets, but we are determined to innovate to a point where the entire waiting time is abstracted away for cross chain transactions.
Built With
- amazon-web-services
- automation
- avalanche
- c#
- ccip
- functions
- solidity
- thirdweb
- unity
- vrf
Log in or sign up for Devpost to join the conversation.