Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Feb 1, 2024
1 parent 3105b52 commit ec6a777
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 112 deletions.
8 changes: 3 additions & 5 deletions docs/tally-verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ WALLET_PRIVATE_KEY=
Once you have the `tally.json` from the tally script, run:

```
HARDHAT_NETWORK=<network> yarn ts-node cli/finalize.ts \
--clrfund <clrfund address>
--tally-file <tally file>
yarn hardhat clr-finalize --clrfund <clrfund address> --tally-file <tally file> --network <network>
```

# How to verify the tally results
Expand All @@ -65,7 +63,7 @@ Anyone can verify the tally results in the tally.json.
From the clrfund contracts folder, run the following command to verify the result:

```
HARDHAT_NETWORK=<network> yarn ts-node cli/verify.ts -f <tally file> -t <tally contract address>
yarn hardhat verify-tally-file --tally-file <tally file> --tally-address <tally contract address> --network <network>
```

# How to enable the leaderboard view
Expand All @@ -78,7 +76,7 @@ After finalizing the round, enable the leaderboard view in the vue-app by export
```sh
cd contracts

yarn hardhat export-round --output-dir ../vue-app/src/rounds --network <network> --round-address <round address> --operator <operator> --start-block <recipient-registry-start-block> --ipfs <ipfs-gateway-url>
yarn hardhat clr-export-round --output-dir ../vue-app/src/rounds --network <network> --round-address <round address> --operator <operator> --start-block <recipient-registry-start-block> --ipfs <ipfs-gateway-url>

```
3) Build and deploy the app
Expand Down
107 changes: 0 additions & 107 deletions docs/trusted-setup.md

This file was deleted.

0 comments on commit ec6a777

Please sign in to comment.