Skip to content

Commit

Permalink
Adjusted instructions in zecale client README
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineRondelet committed Feb 25, 2021
1 parent 6dbb2c9 commit ca45cf1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ $ source env/bin/activate
(env)$ make setup
```

Then, Execute the following inside the `client` directory:
Then, execute the following inside the `client` directory:
```console
$ cd $ZECALE/client
$ python -m venv env
$ source env/bin/activate
(env)$ make setup
```

Expand All @@ -65,10 +63,15 @@ In order for Zecale to work, it is necessary for the blockchain to support
BW6-761 arithmetic. As such, we assume below that the smart contracts are
deployed on an Ethereum testnet that supports BW6-761 precompiled contracts.

To do so, please follow the instructions below to run a modified version
To do so, you can start a ganache-cli instance via docker by running:
```console
docker run -ti -p 8545:8545 ghcr.io/clearmatics/ganache-cli --hardfork istanbul --gasLimit 0x3FFFFFFFFFFFF --gasPrice 1 --defaultBalanceEther 90000000000
```

Otherwise, please follow the instructions below to run a modified version
of ganache-cli in a new terminal (see [Zeth](https://github.com/clearmatics/zeth/) for more information):
```console
cd ../depends/zeth/zeth_contracts
cd $ZECALE/depends/zeth/zeth_contracts
npm install # make sure that node and npm have the right versions
npm run testrpc
```
Expand Down

0 comments on commit ca45cf1

Please sign in to comment.