feat: add xDai
This commit is contained in:
parent
71b638e640
commit
787c9663fe
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "relay",
|
"name": "relay",
|
||||||
"version": "5.0.0-beta.1",
|
"version": "5.0.0-beta.2",
|
||||||
"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",
|
||||||
@ -20,9 +20,9 @@
|
|||||||
"bull": "^3.12.1",
|
"bull": "^3.12.1",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"gas-price-oracle": "^0.3.3",
|
"gas-price-oracle": "^0.3.4",
|
||||||
"ioredis": "^4.14.1",
|
"ioredis": "^4.14.1",
|
||||||
"tx-manager": "^0.3.1",
|
"tx-manager": "^0.3.2",
|
||||||
"uuid": "^8.3.0",
|
"uuid": "^8.3.0",
|
||||||
"web3": "^1.3.0",
|
"web3": "^1.3.0",
|
||||||
"web3-utils": "^1.2.2"
|
"web3-utils": "^1.2.2"
|
||||||
|
@ -35,6 +35,28 @@ const networkConfig = {
|
|||||||
},
|
},
|
||||||
proxyLight: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
|
proxyLight: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
|
||||||
},
|
},
|
||||||
|
netId100: {
|
||||||
|
gasPrices: {
|
||||||
|
instant: 5,
|
||||||
|
fast: 4,
|
||||||
|
standard: 3,
|
||||||
|
low: 1,
|
||||||
|
},
|
||||||
|
nativeCurrency: 'xdai',
|
||||||
|
instances: {
|
||||||
|
xdai: {
|
||||||
|
instanceAddress: {
|
||||||
|
100: '0x980C75f9b2A62d1206C2C146aE4aa1a19E4A21C0',
|
||||||
|
1000: undefined,
|
||||||
|
10000: undefined,
|
||||||
|
100000: undefined,
|
||||||
|
},
|
||||||
|
symbol: 'xDAI',
|
||||||
|
decimals: 18,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
proxyLight: '0xa77350E1a72bE5bC7634d359C5011b4E359f4320',
|
||||||
|
},
|
||||||
netId137: {
|
netId137: {
|
||||||
gasPrices: {
|
gasPrices: {
|
||||||
instant: 7.5,
|
instant: 7.5,
|
||||||
|
18
yarn.lock
18
yarn.lock
@ -2019,10 +2019,10 @@ functional-red-black-tree@^1.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
|
resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
|
||||||
integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
|
integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
|
||||||
|
|
||||||
gas-price-oracle@^0.3.3:
|
gas-price-oracle@^0.3.4:
|
||||||
version "0.3.3"
|
version "0.3.4"
|
||||||
resolved "https://registry.yarnpkg.com/gas-price-oracle/-/gas-price-oracle-0.3.3.tgz#25a478d406263961af740dbfa314e053d334ed0f"
|
resolved "https://registry.yarnpkg.com/gas-price-oracle/-/gas-price-oracle-0.3.4.tgz#c98f6e24cf4bea96be2fe85383d53601b2ab5761"
|
||||||
integrity sha512-euMl8Q42pigzpNvl95XvsRE41huNmTcFaGR7FO2fI0Kutu51c2Toh78B6sPrKhgOHQmoCyokj+jb0gDmxMxOwA==
|
integrity sha512-bba9zWd2hQ32AuPFDzL8E5QxAzXNfGKR1UZCa14fSYJWc9yo3k7wabITMkGEv0cbKpHmyK/kHhhDTBtugI6eAg==
|
||||||
dependencies:
|
dependencies:
|
||||||
axios "^0.19.2"
|
axios "^0.19.2"
|
||||||
bignumber.js "^9.0.0"
|
bignumber.js "^9.0.0"
|
||||||
@ -3886,14 +3886,14 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0:
|
|||||||
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
|
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
|
||||||
integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=
|
integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=
|
||||||
|
|
||||||
tx-manager@^0.3.1:
|
tx-manager@^0.3.2:
|
||||||
version "0.3.1"
|
version "0.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/tx-manager/-/tx-manager-0.3.1.tgz#6cb601a26feeba2d85b62a6fe0f732ed82762141"
|
resolved "https://registry.yarnpkg.com/tx-manager/-/tx-manager-0.3.2.tgz#0dd3c69efbaa22e3a664ac491ea366104f4ea764"
|
||||||
integrity sha512-KKzpuTHEhWPG5aREeypNzXHjGp+qfzoTsVWYLRIx9xvMEAbOj8kfPKoPS3liEK01RylLW+IwbYDqbji8RK83Hg==
|
integrity sha512-XBuDE82KKb3rPb+jyn63BRZduFKY/EqVNOWRXY1qeAq3K/eyr5eTvJkPZtty2gMBOzViHKG09lm24D3h4rAbSQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
async-mutex "^0.2.4"
|
async-mutex "^0.2.4"
|
||||||
ethers "^5.0.17"
|
ethers "^5.0.17"
|
||||||
gas-price-oracle "^0.3.3"
|
gas-price-oracle "^0.3.4"
|
||||||
web3-core-promievent "^1.3.0"
|
web3-core-promievent "^1.3.0"
|
||||||
|
|
||||||
type-check@~0.3.2:
|
type-check@~0.3.2:
|
||||||
|
Loading…
Reference in New Issue
Block a user