Updated 488 days ago

Chickenverse

Provide fun and colorful chicken NFTs that can be used in a variety of games

  • Crypto / Web3
  • Ethereum
  • IPFS
  • NFT

The Chickenverse is a collection of NFTs clucking around on the test Ethereum network. I've programmatically generated 1,000 chickens from a variety of rare traits and characteristics. By adopting a chicken, you'll be able to enter the Chickenverse through a browser and play with friends.

NOTE: I apologize if something breaks. If you can't get the demo working, you can watch the demo video or visit the Github repo and try to get it working locally.

Context

Monkey see, monkey do. Monkey see Replit hackathon, monkey do Replit hackathon.

On a more serious note, I've come to realize that NFT games are really expensive and hard to approach. It requires an immense amount of ETH or time to achieve anything worthwhile, and frankly, it isn't worth it. What we need is a cheap and beginner friendly way to be introduced to NFTs and its role in games.

Solution

Create some playful and funny chicken NFTs that can be minted at an extremely low cost. NFTs can then be used to explore in a multiplayer world.

How it works

The smart contract itself isn't anything revolutionary. Like many others, it is based on ERC-721 and expands on the comprehensive Open Zeppelin library. Because randomness is hard to achieve within a contract, I pre-generated 1000 chickens with Hash Lips and uploaded all assets and metadata to IPFS.

On our website, you'll be able to mint a chicken NFT. If you go to the Chickenverse game tab, you'll also be able to use it to explore and "talk" with emoji expressions to fellow chickens.

Although the website is a prototype and the smart contract is only deployed to the test net, I plan on expanding the types of games the chicken NFT can play and deploying the app to the main net. I think it would be worth exploring how to add metadata attributes that update to reflect the chicken's current state (ie: a high score).

Technologies

Client: React, React DOM Router, Frame Motion, Tailwind, Socket.io, Kaboom Server: Socket.io, Express Generator: Hash Lips Smart Contract: Hard Hat, Open Zeppelin