Avalanche

This commit is contained in:
Danil Kovtonyuk 2021-09-15 01:31:24 +10:00
parent 6b3b44f455
commit 9c971c55b6
No known key found for this signature in database
GPG Key ID: E72A919BF08C3746
4 changed files with 23 additions and 22 deletions

View File

@ -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

View File

@ -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

View File

@ -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,
},
]

View File

@ -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]}`