mirror of
https://github.com/tornadocash/tornado-deploy.git
synced 2025-01-15 15:41:05 +01:00
Avalanche
This commit is contained in:
parent
6b3b44f455
commit
9c971c55b6
@ -6,6 +6,6 @@ SALT=0x1234000000000000000000000000000000000000000000000000000047941987
|
||||
|
||||
|
||||
PRIVATE_KEY=0x
|
||||
RPC_URL=https://rpc.xdaichain.com/
|
||||
NET_ID=100
|
||||
RPC_URL=https://api.avax.network/ext/bc/C/rpc
|
||||
NET_ID=43114
|
||||
GAS_PRICE_IN_WEI=5000000000
|
||||
|
@ -6,7 +6,7 @@
|
||||
## Usage
|
||||
|
||||
```
|
||||
git clone --recursive https://github.com/tornadocash/tornado-deploy -b xDai
|
||||
git clone --recursive https://github.com/tornadocash/tornado-deploy -b avalanche
|
||||
cd tornado-deploy
|
||||
cp .env.example .env
|
||||
yarn
|
||||
|
38
instances.js
38
instances.js
@ -1,30 +1,30 @@
|
||||
module.exports = [
|
||||
{
|
||||
isETH: true,
|
||||
denomination: '100000000000000000',
|
||||
domain: 'avax-01.tornadocash.eth',
|
||||
symbol: 'AVAX',
|
||||
decimals: 18,
|
||||
},
|
||||
{
|
||||
isETH: true,
|
||||
denomination: '10000000000000000000',
|
||||
domain: 'avax-10.tornadocash.eth',
|
||||
symbol: 'AVAX',
|
||||
decimals: 18,
|
||||
},
|
||||
{
|
||||
isETH: true,
|
||||
denomination: '100000000000000000000',
|
||||
domain: 'xdai-100.tornadocash.eth',
|
||||
symbol: 'xDAI',
|
||||
domain: 'avax-100.tornadocash.eth',
|
||||
symbol: 'AVAX',
|
||||
decimals: 18,
|
||||
},
|
||||
{
|
||||
isETH: true,
|
||||
denomination: '1000000000000000000000',
|
||||
domain: 'xdai-1000.tornadocash.eth',
|
||||
symbol: 'xDAI',
|
||||
decimals: 18,
|
||||
},
|
||||
{
|
||||
isETH: true,
|
||||
denomination: '10000000000000000000000',
|
||||
domain: 'xdai-10000.tornadocash.eth',
|
||||
symbol: 'xDAI',
|
||||
decimals: 18,
|
||||
},
|
||||
{
|
||||
isETH: true,
|
||||
denomination: '100000000000000000000000',
|
||||
domain: 'xdai-100000.tornadocash.eth',
|
||||
symbol: 'xDAI',
|
||||
denomination: '500000000000000000000',
|
||||
domain: 'avax-500.tornadocash.eth',
|
||||
symbol: 'AVAX',
|
||||
decimals: 18,
|
||||
},
|
||||
]
|
||||
|
@ -10,6 +10,7 @@ const prefix = {
|
||||
56: 'bscscan.com',
|
||||
100: 'blockscout.com/xdai/mainnet',
|
||||
137: 'polygonscan.com',
|
||||
43114: 'cchain.explorer.avax.network',
|
||||
}
|
||||
|
||||
const explorer = `https://${prefix[process.env.NET_ID]}`
|
||||
|
Loading…
Reference in New Issue
Block a user