community-dapp/README.md

16 lines
888 B
Markdown
Raw Normal View History

2021-06-01 11:09:38 +00:00
# status-community-dapp
Community directory curator dApp for Status
# API
2023-03-02 14:38:20 +00:00
Proposed api is available [here](API.md)
# Running the project
2023-03-02 14:38:20 +00:00
1. Install dependencies: Run `yarn` to install the necessary packages and dependencies.
2. Run local hardhat node: Navigate to the `packages/contract` directory and run `npx hardhat node`.
3. Deploy contracts: Navigate to the `packages/contracts` directory and run `npx hardhat run deploy/deploy.ts --network localhost` to deploy the contracts needed for the project.
4. Start the app: Run `ENV=localhost VOTING_CONTRACT=hex_addr DIRECTORY_CONTRACT=hex_addr MULTICALL_CONTRACT=hex_addr TOKEN_CONTRACT=hex_addr yarn start` to start the application. Make sure to replace `hex_addr` with the actual addresses of the contracts you deployed in step 3.
2023-03-02 14:38:20 +00:00
Once the app is run, connect to the wallet. NOTE: in 'production' mode it has to be Status wallet.