mirror of
https://github.com/tornadocash/tornado-deploy.git
synced 2025-01-15 23:47:56 +01:00
add tornado proxy light
This commit is contained in:
parent
0a93f131ca
commit
e483190ed6
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -5,3 +5,6 @@
|
|||||||
[submodule "deployer"]
|
[submodule "deployer"]
|
||||||
path = deployer
|
path = deployer
|
||||||
url = https://github.com/tornadocash/deployer
|
url = https://github.com/tornadocash/deployer
|
||||||
|
[submodule "tornado-anonymity-mining"]
|
||||||
|
path = tornado-anonymity-mining
|
||||||
|
url = https://github.com/tornadocash/tornado-anonymity-mining
|
||||||
|
6
build.sh
6
build.sh
@ -11,3 +11,9 @@ cd deployer
|
|||||||
yarn install
|
yarn install
|
||||||
yarn compile
|
yarn compile
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
cd tornado-anonymity-mining
|
||||||
|
yarn install
|
||||||
|
# yarn circuit
|
||||||
|
yarn compile
|
||||||
|
cd ..
|
||||||
|
21
instances.js
21
instances.js
@ -1,4 +1,11 @@
|
|||||||
module.exports = [
|
module.exports = [
|
||||||
|
{
|
||||||
|
isETH: true,
|
||||||
|
denomination: "100000000000000000",
|
||||||
|
domain: "eth-01.tornadocash.eth",
|
||||||
|
symbol: "ETH",
|
||||||
|
decimals: 18
|
||||||
|
},
|
||||||
{
|
{
|
||||||
isETH: true,
|
isETH: true,
|
||||||
denomination: "1000000000000000000",
|
denomination: "1000000000000000000",
|
||||||
@ -6,4 +13,18 @@ module.exports = [
|
|||||||
symbol: "ETH",
|
symbol: "ETH",
|
||||||
decimals: 18
|
decimals: 18
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
isETH: true,
|
||||||
|
denomination: "10000000000000000000",
|
||||||
|
domain: "eth-10.tornadocash.eth",
|
||||||
|
symbol: "ETH",
|
||||||
|
decimals: 18
|
||||||
|
},
|
||||||
|
{
|
||||||
|
isETH: true,
|
||||||
|
denomination: "100000000000000000000",
|
||||||
|
domain: "eth-100.tornadocash.eth",
|
||||||
|
symbol: "ETH",
|
||||||
|
decimals: 18
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
@ -13,6 +13,7 @@ const hasher = getContractData('../tornado-core/build/contracts/Hasher.json')
|
|||||||
const ethTornado = getContractData('../tornado-core/build/contracts/ETHTornado.json')
|
const ethTornado = getContractData('../tornado-core/build/contracts/ETHTornado.json')
|
||||||
const ercTornado = getContractData('../tornado-core/build/contracts/ERC20Tornado.json')
|
const ercTornado = getContractData('../tornado-core/build/contracts/ERC20Tornado.json')
|
||||||
const compTornado = getContractData('../tornado-core/build/contracts/cTornado.json')
|
const compTornado = getContractData('../tornado-core/build/contracts/cTornado.json')
|
||||||
|
const proxyLight = getContractData('../tornado-anonymity-mining/build/contracts/TornadoProxyLight.json')
|
||||||
|
|
||||||
const actions = []
|
const actions = []
|
||||||
|
|
||||||
@ -70,6 +71,16 @@ actions.push(
|
|||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Deploy proxy
|
||||||
|
actions.push(
|
||||||
|
deploy({
|
||||||
|
domain: 'proxy-light.contract.tornadocash.eth',
|
||||||
|
contract: proxyLight,
|
||||||
|
title: 'ProxyLight',
|
||||||
|
description: 'Tornado proxy light for L2',
|
||||||
|
}),
|
||||||
|
)
|
||||||
|
|
||||||
// Deploy instances
|
// Deploy instances
|
||||||
for (const instance of instances) {
|
for (const instance of instances) {
|
||||||
const args = [
|
const args = [
|
||||||
|
1
tornado-anonymity-mining
Submodule
1
tornado-anonymity-mining
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit ca446c79cd9d6867bc46019638062ad5d8d070bf
|
Loading…
Reference in New Issue
Block a user