Community directory curator dApp for Status https://status-community-dapp.vercel.app
Go to file
Felicio Mununga c2827e12f2
set provider in `readOnlyUrls`
(cherry picked from commit 8802e7ca43)
2023-11-03 22:23:52 +01:00
.github/workflows
packages set provider in `readOnlyUrls` 2023-11-03 22:23:52 +01:00
.eslintrc.json
.gitignore set provider in `readOnlyUrls` 2023-11-03 22:23:52 +01:00
.gitmodules
.node-version
.prettierrc.json
API.md
README.md chore: readme formatting (#78) 2023-11-01 15:51:59 +01:00
netlify.toml
package.json
tsconfig.json
vercel.json
yarn.lock

README.md

status-community-dapp

Community directory curator dApp for Status

API

Proposed api is available here

Running the project

Note:

  1. Install dependencies: Run yarn to install the necessary packages and dependencies.
  2. Run local anvil node: Run anvil
  3. Deploy contracts: Navigate to the packages/contracts directory and run:
$ MNEMONIC=$YOUR_MNEMONIC forge script script/DeployContracts.s.sol --fork-url $YOUR_RPC_URL --broadcast

Where

  • $YOUR_MNEMONIC is the mnemonic that contains the account from which you want to deploy. The deploy script will use the first account derived from the mnemonic by default.
  • $YOUR_RPC_URL is the RPC endpoint of the node you're connecting to.

You can omit the --broadcast option to simulate the deployment before actually performing it.

  1. Start the app: Run VOTING_CONTRACT=hex_addr DIRECTORY_CONTRACT=hex_addr MULTICALL_CONTRACT=hex_addr TOKEN_CONTRACT=hex_addr FEATURED_VOTING_CONTRACT=hex_addr yarn dev to start the application. Make sure to replace hex_addr with the actual addresses of the contracts you deployed in step 3.

Once the app is run, connect to the wallet. NOTE: in 'production' mode it has to be Status wallet.