Skip to content

Commit

Permalink
Merge pull request #77 from aboutcircles/v1.0.1-patch1-improve-deploy…
Browse files Browse the repository at this point in the history
…ment-instructions

(README): update deployment instructions in Readme
  • Loading branch information
benjaminbollen authored Oct 13, 2024
2 parents e4bc040 + 0f4603b commit 822080b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,18 @@ For more details on Circles and details of the implementation please refer to [h
```
git checkout rc-v1.0.0-beta
```
2. If you haven't already, be sure to first build the code so that we separate that step from the deployment process (forge test will `build` and then run the unit tests).
```
forge test
```
2. Copy `.env.example` to `.env` and set your private key; in particular for deployment the script only requires a private key for a deployer address on Gnosis Chain (with minimal funding, deployment costs are far less than 1 XDAI):
```
PRIVATE_KEY_GNOSIS='YOUR_PRIVATE_KEY'
```
3. Run the mainnet deployment script:
3. Run the mainnet deployment script (CORRECTION: be sure to also run `npm install`):
```
cd script/deployments
npm install
./gnosisChainDeploy.sh
```
Forge SHOULD auto-configure the build parameters from the foundry.toml file,
Expand Down

0 comments on commit 822080b

Please sign in to comment.