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.gitinstall and start your ๐ทโ Hardhat chain:
cd JokeDaoV2Dev
yarn install
yarn chainin a second terminal window, start your ๐ฑ frontend:
cd JokeDaoV2Dev
yarn startin a third terminal window, ๐ฐ deploy the contracts locally if you would like:
cd JokeDaoV2Dev
yarn deployyarn deploywill 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-apppackage 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 thehardhatpackage!