MENU
2024

Gold Farmers

On-chain gamified NFT on Blast L2, achieving over 65,000 on-chain transactions.

Picture of the lua labs team together

Gold Farmers gamefied on-chain NFT on Blast

Mission

To create a fun gamified NFT, that would stretch our abilities of on-chain technologies. We learned about the Blast L2 blockchain and thought it had interesting mechanics like native yield and gas revenue sharing. That combined with the low prices of on-chain transactions of the Layer 2 blockchains, made a good space to explore this new project.

Result

Gold Farmers collection, an experimental fully on-chain game on Blast. Players could mint fully-refundable Farmer NFT (with lock up period). Each farmer was able to mint a Flower NFT on-chain per season. Each season those flowers could be watered on-chain and had a random chance to grow which gave players more points, as the flower leveled up.

Highlights

Farmers NFT

  • Farmer NFT art had over 70 traits all generated as SVGs with scripts, generated and stored on-chain.

Flowers NFT

  • Flower NFTs were the main part of the game, where having a farmer allowed you to water flowers, and while staying on-chain see them evolve.
flowers evolving

Watering Flower NFTs experience

  • Players could use our web-app to interact with the smart contract, see their flowers and water then, generating a random result on-chain.

Farmers list

  • A tab to display all your farmer NFTs, with metadata info and links to relevant marketplaces.
farmers tab screenshot

Flowers list

  • A tab to display all your Flowers, with filtering options, metadata info and links to relevant marketplaces.
flowers tab screenshot

Flower details page

  • Each flower had a details page, where players could water or use the fertilizer as well as see more detailed info on that flower.
flowers details

Leaderboard

  • The leaderboard is its own on-chain smart contract which kept track of the points of players based on flowers levels and farmers.
leaderboard

Mint Seeds

  • Each farmer at the start of seasons could mint a seed for that farmer, we made a page to let players easily mint them.
mint seeds page

Over 65,000 on-chain transactions generated

  • When players minted flowers, watered or fertilized them for points they made an on-chain transaction.
watering transactions

Tech Stack

  • Smart Contract: We used Solidity to create the collections 3 smart contracts in the Blast L2 blockchain.
  • On-chain: Everything from the art, metadata to the leaderboard points tracking were kept on-chain.
  • On-chain randomization: We used Pyth Entropy for securely generating random numbers on-chain.
  • Web App: NextJs, React, HTML, CSS, Typescript were the main technologies used for creating the web-app which interacted with the smart contracts.
  • Scripts: We used Python scripts for many utility aspects including distribution of prizes.

Get in touch with us

This is the best way to get in contact with us, to send any inquiries, set up a call or to ask any questions. Feel free to reach out directly at contact@lualabs.xyz