tornado-core 1.0.4

* remove obsolete rpc urls
This commit is contained in:
Tornado Contrib 2024-09-19 18:34:36 +00:00
parent 95dbf208c3
commit 3df238e55f
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
6 changed files with 371 additions and 236 deletions

150
dist/index.js vendored

@ -2344,14 +2344,6 @@ var NetId = /* @__PURE__ */ ((NetId2) => {
NetId2[NetId2["SEPOLIA"] = 11155111] = "SEPOLIA";
return NetId2;
})(NetId || {});
const theGraph = {
name: "Hosted Graph",
url: "https://api.thegraph.com"
};
const tornado = {
name: "Tornado Subgraphs",
url: "https://tornadocash-rpc.com"
};
const defaultConfig = {
[1 /* MAINNET */]: {
rpcCallRetryAttempt: 15,
@ -2369,14 +2361,26 @@ const defaultConfig = {
networkName: "Ethereum Mainnet",
deployedBlock: 9116966,
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/mainnet"
},
mevblockerRPC: {
name: "MevblockerRPC",
url: "https://rpc.mevblocker.io"
},
keydonix: {
name: "keydonix",
url: "https://ethereum.keydonix.com/v1/mainnet"
},
SecureRpc: {
name: "SecureRpc",
url: "https://api.securerpc.com/v1"
},
meowrpc: {
name: "Meow RPC",
url: "https://eth.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/ethereum-mainnet"
},
oneRPC: {
name: "1RPC",
url: "https://1rpc.io/eth"
@ -2395,10 +2399,7 @@ const defaultConfig = {
tornadoSubgraph: "tornadocash/mainnet-tornado-subgraph",
registrySubgraph: "tornadocash/tornado-relayer-registry",
governanceSubgraph: "tornadocash/tornado-governance",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
tokens: {
eth: {
instanceAddress: {
@ -2501,14 +2502,27 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/bsc-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/bsc"
bnbchain: {
name: "BNB Chain",
url: "https://bsc-dataseed.bnbchain.org"
},
ninicoin: {
name: "ninicoin",
url: "https://bsc-dataseed1.ninicoin.io"
},
nodereal: {
name: "NodeReal",
url: "https://binance.nodereal.io"
},
meowrpc: {
name: "Meow RPC",
url: "https://bsc.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/bsc-mainnet"
},
oneRPC: {
name: "1RPC",
@ -2554,14 +2568,19 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/matic-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
oneRpc: {
name: "1RPC",
url: "https://1rpc.io/matic"
},
meowrpc: {
name: "Meow RPC",
url: "https://polygon.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/polygon-mainnet"
}
},
tokens: {
@ -2604,14 +2623,19 @@ const defaultConfig = {
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
ovmGasPriceOracleContract: "0x420000000000000000000000000000000000000F",
tornadoSubgraph: "tornadocash/optimism-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/op"
optimism: {
name: "Optimism",
url: "https://mainnet.optimism.io"
},
meowrpc: {
name: "Meow RPC",
url: "https://optimism.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/optimism-mainnet"
},
oneRpc: {
name: "1RPC",
@ -2657,18 +2681,23 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/arbitrum-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
oneRpc: {
name: "1rpc",
url: "https://1rpc.io/arb"
},
Arbitrum: {
name: "Arbitrum RPC",
url: "https://arb1.arbitrum.io/rpc"
},
meowrpc: {
name: "Meow RPC",
url: "https://arbitrum.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/arbitrum-one"
},
oneRpc: {
name: "1rpc",
url: "https://1rpc.io/arb"
}
},
tokens: {
@ -2710,18 +2739,19 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/xdai-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/gnosis"
gnosis: {
name: "Gnosis",
url: "https://rpc.gnosischain.com"
},
blockPi: {
name: "BlockPi",
url: "https://gnosis.blockpi.network/v1/rpc/public"
},
oneRpc: {
name: "1rpc",
url: "https://1rpc.io/gnosis"
}
},
tokens: {
@ -2763,9 +2793,7 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/avalanche-tornado-subgraph",
subgraphs: {
theGraph
},
subgraphs: {},
rpcUrls: {
publicRpc: {
name: "Avalanche RPC",
@ -2823,17 +2851,23 @@ const defaultConfig = {
aggregatorContract: "0x4088712AC9fad39ea133cdb9130E465d235e9642",
reverseRecordsContract: "0xEc29700C0283e5Be64AcdFe8077d6cC95dE23C23",
tornadoSubgraph: "tornadocash/sepolia-tornado-subgraph",
subgraphs: {
tornado
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/sepolia"
pandaops: {
name: "ethpandaops",
url: "https://rpc.sepolia.ethpandaops.io"
},
sepolia: {
name: "Sepolia RPC",
url: "https://rpc.sepolia.org"
},
stackup: {
name: "Stackup",
url: "https://public.stackup.sh/api/v1/node/ethereum-sepolia"
},
onerpc: {
name: "1rpc",
url: "https://1rpc.io/sepolia"
}
},
tokens: {

150
dist/index.mjs vendored

@ -2323,14 +2323,6 @@ var NetId = /* @__PURE__ */ ((NetId2) => {
NetId2[NetId2["SEPOLIA"] = 11155111] = "SEPOLIA";
return NetId2;
})(NetId || {});
const theGraph = {
name: "Hosted Graph",
url: "https://api.thegraph.com"
};
const tornado = {
name: "Tornado Subgraphs",
url: "https://tornadocash-rpc.com"
};
const defaultConfig = {
[1 /* MAINNET */]: {
rpcCallRetryAttempt: 15,
@ -2348,14 +2340,26 @@ const defaultConfig = {
networkName: "Ethereum Mainnet",
deployedBlock: 9116966,
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/mainnet"
},
mevblockerRPC: {
name: "MevblockerRPC",
url: "https://rpc.mevblocker.io"
},
keydonix: {
name: "keydonix",
url: "https://ethereum.keydonix.com/v1/mainnet"
},
SecureRpc: {
name: "SecureRpc",
url: "https://api.securerpc.com/v1"
},
meowrpc: {
name: "Meow RPC",
url: "https://eth.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/ethereum-mainnet"
},
oneRPC: {
name: "1RPC",
url: "https://1rpc.io/eth"
@ -2374,10 +2378,7 @@ const defaultConfig = {
tornadoSubgraph: "tornadocash/mainnet-tornado-subgraph",
registrySubgraph: "tornadocash/tornado-relayer-registry",
governanceSubgraph: "tornadocash/tornado-governance",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
tokens: {
eth: {
instanceAddress: {
@ -2480,14 +2481,27 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/bsc-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/bsc"
bnbchain: {
name: "BNB Chain",
url: "https://bsc-dataseed.bnbchain.org"
},
ninicoin: {
name: "ninicoin",
url: "https://bsc-dataseed1.ninicoin.io"
},
nodereal: {
name: "NodeReal",
url: "https://binance.nodereal.io"
},
meowrpc: {
name: "Meow RPC",
url: "https://bsc.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/bsc-mainnet"
},
oneRPC: {
name: "1RPC",
@ -2533,14 +2547,19 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/matic-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
oneRpc: {
name: "1RPC",
url: "https://1rpc.io/matic"
},
meowrpc: {
name: "Meow RPC",
url: "https://polygon.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/polygon-mainnet"
}
},
tokens: {
@ -2583,14 +2602,19 @@ const defaultConfig = {
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
ovmGasPriceOracleContract: "0x420000000000000000000000000000000000000F",
tornadoSubgraph: "tornadocash/optimism-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/op"
optimism: {
name: "Optimism",
url: "https://mainnet.optimism.io"
},
meowrpc: {
name: "Meow RPC",
url: "https://optimism.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/optimism-mainnet"
},
oneRpc: {
name: "1RPC",
@ -2636,18 +2660,23 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/arbitrum-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
oneRpc: {
name: "1rpc",
url: "https://1rpc.io/arb"
},
Arbitrum: {
name: "Arbitrum RPC",
url: "https://arb1.arbitrum.io/rpc"
},
meowrpc: {
name: "Meow RPC",
url: "https://arbitrum.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/arbitrum-one"
},
oneRpc: {
name: "1rpc",
url: "https://1rpc.io/arb"
}
},
tokens: {
@ -2689,18 +2718,19 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/xdai-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/gnosis"
gnosis: {
name: "Gnosis",
url: "https://rpc.gnosischain.com"
},
blockPi: {
name: "BlockPi",
url: "https://gnosis.blockpi.network/v1/rpc/public"
},
oneRpc: {
name: "1rpc",
url: "https://1rpc.io/gnosis"
}
},
tokens: {
@ -2742,9 +2772,7 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/avalanche-tornado-subgraph",
subgraphs: {
theGraph
},
subgraphs: {},
rpcUrls: {
publicRpc: {
name: "Avalanche RPC",
@ -2802,17 +2830,23 @@ const defaultConfig = {
aggregatorContract: "0x4088712AC9fad39ea133cdb9130E465d235e9642",
reverseRecordsContract: "0xEc29700C0283e5Be64AcdFe8077d6cC95dE23C23",
tornadoSubgraph: "tornadocash/sepolia-tornado-subgraph",
subgraphs: {
tornado
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/sepolia"
pandaops: {
name: "ethpandaops",
url: "https://rpc.sepolia.ethpandaops.io"
},
sepolia: {
name: "Sepolia RPC",
url: "https://rpc.sepolia.org"
},
stackup: {
name: "Stackup",
url: "https://public.stackup.sh/api/v1/node/ethereum-sepolia"
},
onerpc: {
name: "1rpc",
url: "https://1rpc.io/sepolia"
}
},
tokens: {

150
dist/index.umd.js vendored

@ -61170,14 +61170,6 @@ var NetId = /* @__PURE__ */ ((NetId2) => {
NetId2[NetId2["SEPOLIA"] = 11155111] = "SEPOLIA";
return NetId2;
})(NetId || {});
const theGraph = {
name: "Hosted Graph",
url: "https://api.thegraph.com"
};
const tornado = {
name: "Tornado Subgraphs",
url: "https://tornadocash-rpc.com"
};
const defaultConfig = {
[1 /* MAINNET */]: {
rpcCallRetryAttempt: 15,
@ -61195,14 +61187,26 @@ const defaultConfig = {
networkName: "Ethereum Mainnet",
deployedBlock: 9116966,
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/mainnet"
},
mevblockerRPC: {
name: "MevblockerRPC",
url: "https://rpc.mevblocker.io"
},
keydonix: {
name: "keydonix",
url: "https://ethereum.keydonix.com/v1/mainnet"
},
SecureRpc: {
name: "SecureRpc",
url: "https://api.securerpc.com/v1"
},
meowrpc: {
name: "Meow RPC",
url: "https://eth.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/ethereum-mainnet"
},
oneRPC: {
name: "1RPC",
url: "https://1rpc.io/eth"
@ -61221,10 +61225,7 @@ const defaultConfig = {
tornadoSubgraph: "tornadocash/mainnet-tornado-subgraph",
registrySubgraph: "tornadocash/tornado-relayer-registry",
governanceSubgraph: "tornadocash/tornado-governance",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
tokens: {
eth: {
instanceAddress: {
@ -61327,14 +61328,27 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/bsc-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/bsc"
bnbchain: {
name: "BNB Chain",
url: "https://bsc-dataseed.bnbchain.org"
},
ninicoin: {
name: "ninicoin",
url: "https://bsc-dataseed1.ninicoin.io"
},
nodereal: {
name: "NodeReal",
url: "https://binance.nodereal.io"
},
meowrpc: {
name: "Meow RPC",
url: "https://bsc.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/bsc-mainnet"
},
oneRPC: {
name: "1RPC",
@ -61380,14 +61394,19 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/matic-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
oneRpc: {
name: "1RPC",
url: "https://1rpc.io/matic"
},
meowrpc: {
name: "Meow RPC",
url: "https://polygon.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/polygon-mainnet"
}
},
tokens: {
@ -61430,14 +61449,19 @@ const defaultConfig = {
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
ovmGasPriceOracleContract: "0x420000000000000000000000000000000000000F",
tornadoSubgraph: "tornadocash/optimism-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/op"
optimism: {
name: "Optimism",
url: "https://mainnet.optimism.io"
},
meowrpc: {
name: "Meow RPC",
url: "https://optimism.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/optimism-mainnet"
},
oneRpc: {
name: "1RPC",
@ -61483,18 +61507,23 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/arbitrum-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
oneRpc: {
name: "1rpc",
url: "https://1rpc.io/arb"
},
Arbitrum: {
name: "Arbitrum RPC",
url: "https://arb1.arbitrum.io/rpc"
},
meowrpc: {
name: "Meow RPC",
url: "https://arbitrum.meowrpc.com"
},
stackup: {
name: "Stackup RPC",
url: "https://public.stackup.sh/api/v1/node/arbitrum-one"
},
oneRpc: {
name: "1rpc",
url: "https://1rpc.io/arb"
}
},
tokens: {
@ -61536,18 +61565,19 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/xdai-tornado-subgraph",
subgraphs: {
tornado,
theGraph
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/gnosis"
gnosis: {
name: "Gnosis",
url: "https://rpc.gnosischain.com"
},
blockPi: {
name: "BlockPi",
url: "https://gnosis.blockpi.network/v1/rpc/public"
},
oneRpc: {
name: "1rpc",
url: "https://1rpc.io/gnosis"
}
},
tokens: {
@ -61589,9 +61619,7 @@ const defaultConfig = {
echoContract: "0xa75BF2815618872f155b7C4B0C81bF990f5245E4",
offchainOracleContract: "0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8",
tornadoSubgraph: "tornadocash/avalanche-tornado-subgraph",
subgraphs: {
theGraph
},
subgraphs: {},
rpcUrls: {
publicRpc: {
name: "Avalanche RPC",
@ -61649,17 +61677,23 @@ const defaultConfig = {
aggregatorContract: "0x4088712AC9fad39ea133cdb9130E465d235e9642",
reverseRecordsContract: "0xEc29700C0283e5Be64AcdFe8077d6cC95dE23C23",
tornadoSubgraph: "tornadocash/sepolia-tornado-subgraph",
subgraphs: {
tornado
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: "Tornado RPC",
url: "https://tornadocash-rpc.com/sepolia"
pandaops: {
name: "ethpandaops",
url: "https://rpc.sepolia.ethpandaops.io"
},
sepolia: {
name: "Sepolia RPC",
url: "https://rpc.sepolia.org"
},
stackup: {
name: "Stackup",
url: "https://public.stackup.sh/api/v1/node/ethereum-sepolia"
},
onerpc: {
name: "1rpc",
url: "https://1rpc.io/sepolia"
}
},
tokens: {

@ -1,6 +1,6 @@
{
"name": "@tornado/core",
"version": "1.0.3",
"version": "1.0.4",
"description": "An SDK for building applications on top of Privacy Pools",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
@ -53,7 +53,7 @@
"@types/circomlibjs": "^0.1.6",
"@types/node": "^22.5.5",
"@types/node-fetch": "^2.6.11",
"@typescript-eslint/eslint-plugin": "8.6.0",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"esbuild-loader": "^4.2.2",
"eslint": "8.57.0",

@ -102,15 +102,6 @@ export type networkConfig = {
[key in NetIdType]: Config;
};
const theGraph = {
name: 'Hosted Graph',
url: 'https://api.thegraph.com',
};
const tornado = {
name: 'Tornado Subgraphs',
url: 'https://tornadocash-rpc.com',
};
export const defaultConfig: networkConfig = {
[NetId.MAINNET]: {
rpcCallRetryAttempt: 15,
@ -128,14 +119,26 @@ export const defaultConfig: networkConfig = {
networkName: 'Ethereum Mainnet',
deployedBlock: 9116966,
rpcUrls: {
tornadoRPC: {
name: 'Tornado RPC',
url: 'https://tornadocash-rpc.com/mainnet',
},
mevblockerRPC: {
name: 'MevblockerRPC',
url: 'https://rpc.mevblocker.io',
},
keydonix: {
name: 'keydonix',
url: 'https://ethereum.keydonix.com/v1/mainnet',
},
SecureRpc: {
name: 'SecureRpc',
url: 'https://api.securerpc.com/v1',
},
meowrpc: {
name: 'Meow RPC',
url: 'https://eth.meowrpc.com',
},
stackup: {
name: 'Stackup RPC',
url: 'https://public.stackup.sh/api/v1/node/ethereum-mainnet',
},
oneRPC: {
name: '1RPC',
url: 'https://1rpc.io/eth',
@ -154,10 +157,7 @@ export const defaultConfig: networkConfig = {
tornadoSubgraph: 'tornadocash/mainnet-tornado-subgraph',
registrySubgraph: 'tornadocash/tornado-relayer-registry',
governanceSubgraph: 'tornadocash/tornado-governance',
subgraphs: {
tornado,
theGraph,
},
subgraphs: {},
tokens: {
eth: {
instanceAddress: {
@ -260,14 +260,27 @@ export const defaultConfig: networkConfig = {
echoContract: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
offchainOracleContract: '0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8',
tornadoSubgraph: 'tornadocash/bsc-tornado-subgraph',
subgraphs: {
tornado,
theGraph,
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: 'Tornado RPC',
url: 'https://tornadocash-rpc.com/bsc',
bnbchain: {
name: 'BNB Chain',
url: 'https://bsc-dataseed.bnbchain.org',
},
ninicoin: {
name: 'ninicoin',
url: 'https://bsc-dataseed1.ninicoin.io',
},
nodereal: {
name: 'NodeReal',
url: 'https://binance.nodereal.io',
},
meowrpc: {
name: 'Meow RPC',
url: 'https://bsc.meowrpc.com',
},
stackup: {
name: 'Stackup RPC',
url: 'https://public.stackup.sh/api/v1/node/bsc-mainnet',
},
oneRPC: {
name: '1RPC',
@ -313,15 +326,20 @@ export const defaultConfig: networkConfig = {
echoContract: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
offchainOracleContract: '0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8',
tornadoSubgraph: 'tornadocash/matic-tornado-subgraph',
subgraphs: {
tornado,
theGraph,
},
subgraphs: {},
rpcUrls: {
oneRpc: {
name: '1RPC',
url: 'https://1rpc.io/matic',
},
meowrpc: {
name: 'Meow RPC',
url: 'https://polygon.meowrpc.com',
},
stackup: {
name: 'Stackup RPC',
url: 'https://public.stackup.sh/api/v1/node/polygon-mainnet',
},
},
tokens: {
matic: {
@ -363,14 +381,19 @@ export const defaultConfig: networkConfig = {
offchainOracleContract: '0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8',
ovmGasPriceOracleContract: '0x420000000000000000000000000000000000000F',
tornadoSubgraph: 'tornadocash/optimism-tornado-subgraph',
subgraphs: {
tornado,
theGraph,
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: 'Tornado RPC',
url: 'https://tornadocash-rpc.com/op',
optimism: {
name: 'Optimism',
url: 'https://mainnet.optimism.io',
},
meowrpc: {
name: 'Meow RPC',
url: 'https://optimism.meowrpc.com',
},
stackup: {
name: 'Stackup RPC',
url: 'https://public.stackup.sh/api/v1/node/optimism-mainnet',
},
oneRpc: {
name: '1RPC',
@ -416,19 +439,24 @@ export const defaultConfig: networkConfig = {
echoContract: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
offchainOracleContract: '0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8',
tornadoSubgraph: 'tornadocash/arbitrum-tornado-subgraph',
subgraphs: {
tornado,
theGraph,
},
subgraphs: {},
rpcUrls: {
oneRpc: {
name: '1rpc',
url: 'https://1rpc.io/arb',
},
Arbitrum: {
name: 'Arbitrum RPC',
url: 'https://arb1.arbitrum.io/rpc',
},
meowrpc: {
name: 'Meow RPC',
url: 'https://arbitrum.meowrpc.com',
},
stackup: {
name: 'Stackup RPC',
url: 'https://public.stackup.sh/api/v1/node/arbitrum-one',
},
oneRpc: {
name: '1rpc',
url: 'https://1rpc.io/arb',
},
},
tokens: {
eth: {
@ -469,19 +497,20 @@ export const defaultConfig: networkConfig = {
echoContract: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
offchainOracleContract: '0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8',
tornadoSubgraph: 'tornadocash/xdai-tornado-subgraph',
subgraphs: {
tornado,
theGraph,
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: 'Tornado RPC',
url: 'https://tornadocash-rpc.com/gnosis',
gnosis: {
name: 'Gnosis',
url: 'https://rpc.gnosischain.com',
},
blockPi: {
name: 'BlockPi',
url: 'https://gnosis.blockpi.network/v1/rpc/public',
},
oneRpc: {
name: '1rpc',
url: 'https://1rpc.io/gnosis',
},
},
tokens: {
xdai: {
@ -522,9 +551,7 @@ export const defaultConfig: networkConfig = {
echoContract: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
offchainOracleContract: '0x0AdDd25a91563696D8567Df78D5A01C9a991F9B8',
tornadoSubgraph: 'tornadocash/avalanche-tornado-subgraph',
subgraphs: {
theGraph,
},
subgraphs: {},
rpcUrls: {
publicRpc: {
name: 'Avalanche RPC',
@ -582,18 +609,24 @@ export const defaultConfig: networkConfig = {
aggregatorContract: '0x4088712AC9fad39ea133cdb9130E465d235e9642',
reverseRecordsContract: '0xEc29700C0283e5Be64AcdFe8077d6cC95dE23C23',
tornadoSubgraph: 'tornadocash/sepolia-tornado-subgraph',
subgraphs: {
tornado,
},
subgraphs: {},
rpcUrls: {
tornadoRPC: {
name: 'Tornado RPC',
url: 'https://tornadocash-rpc.com/sepolia',
pandaops: {
name: 'ethpandaops',
url: 'https://rpc.sepolia.ethpandaops.io',
},
sepolia: {
name: 'Sepolia RPC',
url: 'https://rpc.sepolia.org',
},
stackup: {
name: 'Stackup',
url: 'https://public.stackup.sh/api/v1/node/ethereum-sepolia',
},
onerpc: {
name: '1rpc',
url: 'https://1rpc.io/sepolia',
},
},
tokens: {
eth: {

@ -1001,7 +1001,7 @@
resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975"
integrity sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==
"@typescript-eslint/eslint-plugin@8.6.0":
"@typescript-eslint/eslint-plugin@^8.6.0":
version "8.6.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.6.0.tgz#20049754ff9f6d3a09bf240297f029ce04290999"
integrity sha512-UOaz/wFowmoh2G6Mr9gw60B1mm0MzUtm6Ic8G2yM1Le6gyj5Loi/N+O5mocugRGY+8OeeKmkMmbxNqUCq3B4Sg==