Check out the live v1 site at jokedao.jokedao.io and the live v2 site at jokedao.io!
Prerequisites: Node (v16 LTS) plus Yarn and Git
clone/fork Joker Contests:
git clone https://github.com/seanmc9/JokeDaoV2Dev.git
install and start your ๐ทโ Hardhat chain:
cd JokeDaoV2Dev
yarn install
yarn chain
in a second terminal window, start your ๐ฑ frontend:
cd JokeDaoV2Dev
yarn start
in a third terminal window, ๐ฐ deploy the contracts locally if you would like:
cd JokeDaoV2Dev
yarn deploy
yarn deploy
will not only deploy to the local hardhat chain you are running, but upon a successful deploy it will copy the generated byte code into thereact-app
package so that the app can access it. Make sure to do this before committing any changes to the contract code to make sure that the byte code that the site is deploying is the same as what you have written in thehardhat
package!