Inspiration

The inspiration for Fantom Run came from the increasing popularity and potential of NFTs and Blockchain technology in the gaming industry. The aim was to create a unique gaming experience by combining traditional 2D platformer gameplay with the ownership and collectability of NFTs and the use of ERC20 tokens for in-game currency. We were also concerned about the nature of conventional airdrops. We noticed that it was bland in nature and required a more fun-filled approach. There are also numerous problems associated with airdrops, such as spam and security risks, token volatility as well as technical complexity. We propose this project as an interactive airdrop facilitation platforms, which provides additional features such as in-game NFT assets as well as token staking.

What it does

Fantom Run is a 2D platformer game-Fi project that uses NFTs for characters and ERC20 tokens for in-game currency. Players can collect and own unique NFT characters, each with its own set of skills and abilities. The in-game currency can be used to purchase upgrades and other in-game items. The platform can be utilised for token airdrops. The game can be integrated with airdrop campaigns and used as a gamified token airdrop platform. Users can play the game and use the score as proof of claim for the tokens. This mitigates sybil attacks in airdrop campaigns. Additionally it also provides means to discourage dumping of tokens. This includes an NFT marketplace for in-game assets and token staking. Users can stake their tokens in order to earn rewards. This reduces market movement and manipulation, and encourages long-term vesting. Users can also upgrade their staking tier in order to earn better staking rewards. This can be done by purchasing the NFT characters.

How we built it

The project was made with a 2D platformer template from Unity and it uses Third Web's Unity SDK to connect to the Fantom testnet. The in-game currency is an ERC20 token and the characters are ERC1155 NFTs which can be bought using the in-game currency. The smart contract development was carried out using Hardhat and the OpenZeppelin smart contract library.

Challenges we ran into

There were numerous challenges with respect to integrating the game with the Blockchain backend. But we devised a solution to achieve this. Development on Fantom was a smooth experience, due to the comprehensive documentation and compatibility with existing EVM tools.

Accomplishments that we're proud of

We're incredibly proud of having built a working prototype within the limited time duration. We are pleased that we could build something which has real world utility and will be a stepping stone for curbing market manipulation as well as the pump and dump mentality.

What we learned

This was an incredible learning opportunity. We learned about building and deploying smart contracts on Fantom. We also got familiar with C# and Unity for game development. We also learned to integrate and make use of the ThirdWeb SDK.

What's next for Fantom Run

We plan on improving our game interface and introducing in-game staking. Creating additional game levels and enhancing user experience is also planned. Introducing other yield farming strategies is also on the cards.

Built With

Share this project:

Updates