feat: add Avalanche

This commit is contained in:
Danil Kovtonyuk 2021-09-17 16:07:09 +10:00
parent aa7d389766
commit 7ea0b9abd6
2 changed files with 22 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "relay", "name": "relay",
"version": "5.0.0-beta.2", "version": "5.0.0-beta.3",
"description": "Relayer for Tornado.cash privacy solution. https://tornado.cash", "description": "Relayer for Tornado.cash privacy solution. https://tornado.cash",
"scripts": { "scripts": {
"server": "node src/server.js", "server": "node src/server.js",

View File

@ -79,6 +79,27 @@ const networkConfig = {
}, },
proxyLight: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17', proxyLight: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
}, },
netId43114: {
gasPrices: {
instant: 225,
fast: 225,
standard: 225,
low: 225,
},
nativeCurrency: 'avax',
instances: {
avax: {
instanceAddress: {
10: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
100: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
500: '0xaf8d1839c3c67cf571aa74B5c12398d4901147B3',
},
symbol: 'AVAX',
decimals: 18,
},
},
proxyLight: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
},
} }
module.exports = { module.exports = {