From 7ea0b9abd639a1f76503bdd1468e92ba6e243e96 Mon Sep 17 00:00:00 2001 From: Danil Kovtonyuk Date: Fri, 17 Sep 2021 16:07:09 +1000 Subject: [PATCH] feat: add Avalanche --- package.json | 2 +- src/constants.js | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f2bc595..b88e164 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "relay", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "description": "Relayer for Tornado.cash privacy solution. https://tornado.cash", "scripts": { "server": "node src/server.js", diff --git a/src/constants.js b/src/constants.js index e8d9702..c0e1fb7 100644 --- a/src/constants.js +++ b/src/constants.js @@ -79,6 +79,27 @@ const networkConfig = { }, 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 = {