This repo contains solidity contracts for the Canvas experiment.
Canvas includes:
- a native coin staking system, which mints
Inktokens.- optional locking for increased gains
- penalty for withdrawing funds too early
- a governance system, based on how much users have staked and how long they've locked for
- an
Inktoken, which can be used to place pixel onCanvas - the
Canvas, which allows for placing pixels in a virtually infinite area (limited by int range) Canvas, Ink and InkMaker are upgradeable contracts, controlled by governance.
npx hardhat help
npx hardhat test
GAS_REPORT=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts