r4bbit 14f87d55ce
chore: introduce foundry deployment script (#70)
This introduces a foundry based deployment script which is also used in
tests so the deployment itself is tested as well.
2023-10-04 10:47:53 +02:00
2023-07-19 10:18:49 +02:00
2021-06-02 10:51:58 +02:00
2021-08-05 16:39:21 +02:00
2021-06-28 13:43:22 +02:00
2021-06-30 11:48:42 +02:00
2021-06-23 09:43:19 +02:00
2023-05-05 19:45:39 +02:00
2023-06-29 20:07:41 +02:00
2023-06-29 20:07:41 +02:00

status-community-dapp

Community directory curator dApp for Status

API

Proposed api is available here

Running the project

Note: Use node v18.15.0 NOte: Use Foundry (getfoundry.sh)

  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.

Description
Community directory curator dApp for Status
https://status-community-dapp.vercel.app
Readme
Languages
TypeScript 98.7%
JavaScript 1.2%
HTML 0.1%