Prerequisites: Node plus Yarn and Git
clone/fork Tip.party:
git clone https://github.com/moonshotcollective/tip.party.git app
install and start your ๐ทโ Hardhat chain:
cd app
yarn install
yarn chain
Add .env in packages/react-app/.env
with
REACT_APP_PROVIDER=<PROVIDER>
REACT_APP_SERVER=<THE_SERVER_URL>
REACT_APP_NETWORK=<NETWORK>
REACT_APP_FIRE_API=<FIREBASE API KEY>
REACT_APP_FIRE_DOMAIN=<Firebase APP DOMAIN>
REACT_APP_FIRE_ID=<ID>
in a second terminal window, start your ๐ฑ frontend:
cd app
yarn start
๐ Edit and add your frontend address in packages/hardhat/deploy/01_deploy_tokendistributor_contract.js
, line 6
in a third terminal window, ๐ฐ deploy your contract:
cd app
yarn deploy
start backend server
cd app/packages/backend
node index.js
Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io