The directories that you'll use are:
packages/react-app/
packages/hardhat/
packages/backend/
The project was created by members of the moonshot collective using the scaffold-eth template repository.
Running the app requires setting up proper enviroment variables, and node (<=v16.13.0). See the .sample.env
in the directories for more information on creating .env
's. You will need access to a mongodb connection string, an etherscan-like block explore api key, and RPC key.
-
Navigate to the root directory after cloning the repository.
git clone https://github.com/moonshotcollective/pay.party.git cd pay.party
-
install your dependencies
yarn install
-
start a hardhat node
yarn chain
-
deploy the contract to the hardhat node
yarn deploy
-
run the api
yarn api
-
run the app
yarn start
Each time you begin a set of changes, ensure that you are working on a new branch that you have created as opposed to the main of your local repository. By keeping your changes segregated in this branch, merging your changes into the main repository later will be much simpler.
🙏 Please check out our Moonshot Collective telegram!
Join the telegram support chat 💬 to ask questions and find others building with 🏗 scaffold-eth!