Community directory curator dApp for Status https://status-community-dapp.vercel.app
Go to file
Felicio Mununga 3a8455faa3
update deps (#113)
* update deps

* u
2024-05-09 18:55:11 +02:00
.github/workflows chore: forge init 2023-07-19 10:18:49 +02:00
packages update deps (#113) 2024-05-09 18:55:11 +02:00
patches use boot and store nodes from `shards.test` (#109) 2024-03-18 23:51:20 +09:00
.eslintrc.json use `@waku/sdk` (#102) 2023-11-16 14:45:16 +01:00
.gitignore set provider in `readOnlyUrls` (#100) 2023-11-06 20:45:42 +01:00
.gitmodules refactor: use minime and require limit when evaluating votes (#72) 2023-10-04 11:18:42 +02:00
.node-version Add waku voting (#57) 2021-06-28 13:43:22 +02:00
.prettierrc.json Fetch communities from Waku (#24) 2023-05-04 14:11:41 +02:00
API.md Add new fields to api proposal (#8) 2021-06-30 11:48:42 +02:00
README.md chore: readme formatting (#78) 2023-11-01 15:51:59 +01:00
netlify.toml Add netlify redirects (#53) 2021-06-23 09:43:19 +02:00
package.json use boot and store nodes from `shards.test` (#109) 2024-03-18 23:51:20 +09:00
tsconfig.json use `@waku/sdk` (#102) 2023-11-16 14:45:16 +01:00
vercel.json Featured voting (#37) 2023-06-29 20:07:41 +02:00
yarn.lock update deps (#113) 2024-05-09 18:55:11 +02:00

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.