mirror of
https://github.com/status-im/community-dapp.git
synced 2026-08-27 16:31:06 +00:00
master
* fix(waku-store): community description length too long for allowed size * fix(waku): abort error when fetching multiple communities * chore(config): remove OptimismGoerli chain * chore(config): remove leftover outdated optimism goerli config
status-community-dapp
Community directory curator dApp for Status
API
Proposed api is available here
Running the project
Note:
- Use node
v22.17.0 - Use yarn
1.22.19 - Use Foundry (getfoundry.sh)
- Install dependencies: Run
yarnto install the necessary packages and dependencies. - Run local anvil node: Run
anvil - Deploy contracts: Navigate to the
packages/contractsdirectory and run:
$ MNEMONIC=$YOUR_MNEMONIC forge script script/DeployContracts.s.sol --fork-url $YOUR_RPC_URL --broadcast
Where
$YOUR_MNEMONICis 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_URLis the RPC endpoint of the node you're connecting to.
You can omit the --broadcast option to simulate the deployment before actually performing it.
- 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 devto start the application. Make sure to replacehex_addrwith 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.
Description
Community directory curator dApp for Status
https://status-community-dapp.vercel.app
5.7 MiB
Languages
TypeScript
98.7%
JavaScript
1.2%
HTML
0.1%