Crypto-collectible tamagotchi. Need I say more? Remember those handheld tamagotchi toys from a decade ago? Yes, this is exactly the same idea, however the smart contract is built to interact with ERC721 collectibles, primarily cryptokitties.
Rules are secret, keep your crypto-collectible alive.
- Don't overfeed your gotchi
- Don't neglect your gotchi
- Don't let your gotchi misbehave
- Don't let your gotchi get lazy
If your gotchi survives and becomes immortal (YES, Immortal!), you will get an Ether reward from the pool of fees. Good luck!
This project is a submission for the Consensys Academy 2018. All code represented is aimed to be a clear proof of concept.
- Clone the repo and run
npm install
- Open a new tab/window in terminal: start
ganache-cli
truffle test
- Test all contracts are working 100%- Re-start
ganache-cli
, copy a private key, import into MetaMask - Change MetaMask to
localhost:8545
- In a new tab/window of terminal, run
npm run dev
(this will open a browser tab!) - You should see a list of testing gotchis, please proceed to test the rest of the process using the Gameplay Walkthrough Docs
The repo development is mainly in /contracts
, /src
and /test
.
npm run dev
Open the server link printed in cli if it doesnt auto-load in a browser.
npm run build
- Builds compiled client deployable packagenpm test
- Runs all teststruffle compile
- Test contracts are compiling and have no errorstruffle migrate
- Compile and deploy contracts to local blockchaintruffle migrate --network rinkeby
- Compile and deploy contracts to networktruffle migrate -f 2 --network rinkeby
- Compile and deploy contracts to network without Migrations.sol