Inspiration

The DeFi boom had me and my friends constantly discussing high yields and risk until we were hit with rugpulls and empty promises from roadmap. And let's not forget the bear market that followed - the sentiment was so bad that even our pets ran away from crypto. The only source of entertainment was web3 gaming, but let's face it, most of them have unsustainable tokenomics and are not as rewarding as their web2 counterparts. Plus, they still rely on centralized servers and organizations.

So, I had a genius idea: why not create a fully decentralized game with sustainable rewards and engaging gameplay on the Fantom network? And thus, A Fantoman & Fantomonstre were born.

What it does

Our game is a breeding game where you can feed, train, and battle your NFT called Fantomonstre. All the stats are recorded on the NFT, and its lifecycle is designed entirely on-chain. We even have a BattleMonstre() function that can scale it with other contracts indefinitely. And let's not forget our unique treasury system that grows funds from advertisements, chatrooms, and sponsors, with 100% of the funds being used to reward players over time via a unique allocation system every round/epoch.

How we built it

Initially, I started with the Fantomonstre NFT in Remix IDE and built the backend smart contracts. I then created a simple HTML website with web3.js javascript to test the contracts and showed it to my Unity and Graphics friends. They were interested and decided to join me, with some handling Unity WebGL and graphics, while I continued working on the backend smart contracts.

Challenges we ran into

Of course, we faced some challenges along the way. Starting a project alone is tough, especially when you're new to Solidity and lack team or VC support. But the Fantom Community was amazing, and I learned from experienced developers who taught me everything despite me being an annoy. That makes me even more determined to create a product that would truly make an impact in the Fantom community!

Debugging on Solidity contracts was also challenging, but I finally learned that transaction reverts from the contract are 99% due to invalid array indexes, misestimated gas limits, or wrong maths.

Accomplishments that we're proud of

We've done it! Our team has managed to create a pretty impressive GameFi platform that's stable and engaging (even if the graphics aren't exactly breathtaking). It's been a long and challenging journey, but the payoff has been worth it. We're now confident enough to put our product to the test by joining the Fantom Hackathon. Bring on the competition!

What we learned

One thing we learned from this journey is that nothing big can be achieved alone. You need a team, and toxic people who don't appreciate what you're doing should be avoided. We'll continue to prove our concept until we succeed, and we hope to engage more people in the Fantom network with A Fantoman & Fantomonstre.

What's next for A Fantoman & Fantomonstre

We may have to bear with the graphics for now, but we're confident that we can improve them. Our next milestone is to integrate with Unity WebGL and list on the Paintswap marketplace. We also plan to add more PVE content's contracts while waiting for account abstraction and gas subsidies happen on Fantom. Our ultimate goal is to smoothen the onboarding experience with account abstraction and gas subsidies to increase adoption. Finally, I am glad that I don't have to worry about moving contracts to L2!!!

Share this project:

Updates