diff --git a/.env.example b/.env.example index bce1ad2..4aa981a 100644 --- a/.env.example +++ b/.env.example @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 294d6c9..6f31536 100644 --- a/README.md +++ b/README.md @@ -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 ```