mirror of
https://github.com/tornadocash/tornado-deploy.git
synced 2024-11-23 10:15:33 +01:00
readme
This commit is contained in:
parent
0ca9f1ff56
commit
620ebba503
@ -1,7 +1,9 @@
|
||||
DEPLOYER=0xce0042b868300000d44a59004da54a005ffdcf9f
|
||||
SALT=0x00000000000000000000000000000000000000000000000000000000000325a5
|
||||
AIRDROP_CHUNK_SIZE=180
|
||||
|
||||
# needed only for deploy script
|
||||
PRIVATE_KEY=
|
||||
RPC_URL=
|
||||
NET_ID=42
|
||||
AIRDROP_CHUNK_SIZE=200
|
||||
NET_ID=
|
||||
GAS_PRICE_IN_WEI=123000000000
|
@ -21,6 +21,12 @@ yarn build
|
||||
Note: build script will globally `yarn link` `torn-token` package
|
||||
Note: build script will not recompile snark circuit if compilation result already exists
|
||||
|
||||
The result of the build is `actions.json` file, that contains everything that is needed to deploy contracts on Ethereum along with expected deploy addresses.
|
||||
|
||||
## Reproducible build
|
||||
|
||||
In order to generate exactly the same actions.json the code has to be compiled in `/private/tmp/tornado-deploy` dir because solidity compiler includes a hash of full path to files into contact bytecode as swarm hash. If you compile in other dir this swarm hash will be different. It doesn't affect contract execution but your `actions.json` will have a different hash from the initiation version.
|
||||
|
||||
## Verify addresses
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user