Skip to content

MikeSpa/Tamagotchi-Game-on-Chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Tamagotchi Game On chain

A Tamagotchi like game on blockchain written in solidity using the Foundry framework for testing.

The Tamagotchi live fully on the blockchain. You have to play with him and feed him to keep him happy and alive.

Tamagotchi contract deploy on mumbai testnet for the polygon blockchain at 0x63c5AC5625C3cF34897CE04dC8b18Ba5b7fbcfE6


How to use

  • Once the Tamagotchi contract is complete, you can deploy it on a testnet (or mainnet). Use deploy.sh script to deploy to mumbai.
  • Then register with Upkeep and fund it with LINK.
  • Install SvelteKit for the front end npm init svelte; npm install ethers
  • Run the server locally with npm run dev -- --open
  • Add the front end code to connect your wallet and fetch the information from the contract on Mumbai
  • You can know interact with your Tamagotchi directly from the browser

Tamagotchi on Browser

Tamagotchi on Opensea