Skip to content

Developed Food Scramble, an on-chain board game where you collect ingredients (ERC20 tokens) and combine them to create unique hamburger NFTs. The game uses ERC6551, allowing your NFTs to gather ingredients and other NFTs.

License

Notifications You must be signed in to change notification settings

nugiexpres/Food-Scramble

 
 

Repository files navigation

Food Scramble

Collect ingredients, combine them, and create unique food NFTs

⚙️ Built using NextJS, RainbowKit, Hardhat, Wagmi, and Typescript.

Requirements

Before you begin, you need to install the following tools:

Quickstart

To get started with Food Scramble, follow the steps below:

  1. Clone this repo & install dependencies
git clone git clone https://github.com/codechefsong/Food-Scramble.git
cd Food-Scramble
yarn install
  1. Run a local network in the first terminal:
yarn chain

This command starts a local Ethereum network using Hardhat. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in hardhat.config.ts.

  1. On a second terminal, deploy the test contract:
yarn deploy

This command deploys a test smart contract to the local network. The contract is located in packages/hardhat/contracts and can be modified to suit your needs. The yarn deploy command uses the deploy script located in packages/hardhat/deploy to deploy the contract to the network. You can also customize the deploy script.

  1. On a third terminal, start your NextJS app:
yarn start

Visit your app on: http://localhost:3000. You can interact with your smart contract using the contract component or the example ui in the frontend. You can tweak the app config in packages/nextjs/scaffold.config.ts.

About

Developed Food Scramble, an on-chain board game where you collect ingredients (ERC20 tokens) and combine them to create unique hamburger NFTs. The game uses ERC6551, allowing your NFTs to gather ingredients and other NFTs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.3%
  • Solidity 10.0%
  • JavaScript 1.9%
  • Other 0.8%