diff --git a/package.json b/package.json index e362695..755620a 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "lint": "yarn eslint && yarn prettier:check", "deploy:mainnet": "truffle migrate --network mainnet", "deploy:kovan": "truffle migrate --network kovan", + "deploy:goerli": "truffle migrate --network goerli", "deploy:dev": "truffle migrate --skip-dry-run --network development" }, "repository": { @@ -45,8 +46,8 @@ "web3": "^1.2.11" }, "dependencies": { - "tornado-anonymity-mining": "git+https://github.com/tornadocash/tornado-anonymity-mining.git#b13228c20126f212ebbcc5a8493ce2105210739e", - "tornado-governance": "git+https://github.com/tornadocash/governance.git#8e931b1c06505de1e18ef5f4e4af6830f1367cbf", - "torn-token": "git+https://github.com/tornadocash/torn-token.git#a42f83aadeda88b9d8c364a0034d8ec6c7f8fb74" + "tornado-anonymity-mining": "git+https://github.com/tornadocash/tornado-anonymity-mining.git#5329de97aa9615ae3bd0e0d2d8ded06d6692cb7c", + "tornado-governance": "git+https://github.com/tornadocash/governance.git#aa010a0e0cbe8578e7037a21ee580c10de967449", + "torn-token": "git+https://github.com/tornadocash/torn-token.git#dc0e3416001401bc59ed32d8e9f02b04be0a8631" } } diff --git a/truffle.js b/truffle.js index 07911c1..5aa2040 100644 --- a/truffle.js +++ b/truffle.js @@ -39,6 +39,15 @@ module.exports = { // timeoutBlocks: 200, skipDryRun: true, }, + goerli: { + provider: () => new HDWalletProvider(PRIVATE_KEY, `https://goerli.infura.io/v3/${INFURA_TOKEN}`), + network_id: 5, + gas: 6000000, + gasPrice: utils.toWei('1', 'gwei'), + // confirmations: 0, + // timeoutBlocks: 200, + skipDryRun: true, + }, coverage: { host: 'localhost', network_id: '*', diff --git a/yarn.lock b/yarn.lock index 5ab6e68..52e9264 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4577,16 +4577,6 @@ toidentifier@1.0.0: resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== -"torn-token@git+https://github.com/tornadocash/torn-token.git#a42f83aadeda88b9d8c364a0034d8ec6c7f8fb74": - version "1.0.0" - resolved "git+https://github.com/tornadocash/torn-token.git#a42f83aadeda88b9d8c364a0034d8ec6c7f8fb74" - dependencies: - "@openzeppelin/contracts" "^3.1.0" - dotenv "^8.2.0" - eth-sig-util "^2.5.3" - ethereumjs-util "^7.0.3" - web3 "^1.2.11" - "torn-token@git+https://github.com/tornadocash/torn-token.git#d7b86c01538cd26afae73885f66269a98c02aa3f": version "1.0.0" resolved "git+https://github.com/tornadocash/torn-token.git#d7b86c01538cd26afae73885f66269a98c02aa3f" @@ -4597,9 +4587,19 @@ toidentifier@1.0.0: ethereumjs-util "^7.0.3" web3 "^1.2.11" -"tornado-anonymity-mining@git+https://github.com/tornadocash/tornado-anonymity-mining.git#b13228c20126f212ebbcc5a8493ce2105210739e": +"torn-token@git+https://github.com/tornadocash/torn-token.git#dc0e3416001401bc59ed32d8e9f02b04be0a8631": version "1.0.0" - resolved "git+https://github.com/tornadocash/tornado-anonymity-mining.git#b13228c20126f212ebbcc5a8493ce2105210739e" + resolved "git+https://github.com/tornadocash/torn-token.git#dc0e3416001401bc59ed32d8e9f02b04be0a8631" + dependencies: + "@openzeppelin/contracts" "^3.1.0" + dotenv "^8.2.0" + eth-sig-util "^2.5.3" + ethereumjs-util "^7.0.3" + web3 "^1.2.11" + +"tornado-anonymity-mining@git+https://github.com/tornadocash/tornado-anonymity-mining.git#5329de97aa9615ae3bd0e0d2d8ded06d6692cb7c": + version "1.0.0" + resolved "git+https://github.com/tornadocash/tornado-anonymity-mining.git#5329de97aa9615ae3bd0e0d2d8ded06d6692cb7c" dependencies: circomlib "git+https://github.com/tornadocash/circomlib.git#3b492f9801573eebcfe1b6c584afe8a3beecf2b4" decimal.js "^10.2.0" @@ -4609,9 +4609,9 @@ toidentifier@1.0.0: web3 "^1.2.11" websnark "git+https://github.com/tornadocash/websnark.git#86a526718cd6f6f5d31bdb1fe26a9ec8819f633e" -"tornado-governance@git+https://github.com/tornadocash/governance.git#8e931b1c06505de1e18ef5f4e4af6830f1367cbf": +"tornado-governance@git+https://github.com/tornadocash/governance.git#aa010a0e0cbe8578e7037a21ee580c10de967449": version "1.0.0" - resolved "git+https://github.com/tornadocash/governance.git#8e931b1c06505de1e18ef5f4e4af6830f1367cbf" + resolved "git+https://github.com/tornadocash/governance.git#aa010a0e0cbe8578e7037a21ee580c10de967449" dependencies: "@openzeppelin/contracts" "^3.2.0-rc.0" "@openzeppelin/upgrades-core" "^1.0.1"