Change default oracle RPC from censored and change minimum required relayer balance for sidechains: 10 MATIC/AVAX or 0.1 ETH/BNB

This commit is contained in:
Theo 2023-07-02 17:58:44 -07:00
parent 9b14e3ed89
commit b2ae3d3399

@ -13,7 +13,7 @@ module.exports = {
netId,
redisUrl: process.env.REDIS_URL || 'redis://127.0.0.1:6379',
httpRpcUrl: process.env.HTTP_RPC_URL,
oracleRpcUrl: process.env.ORACLE_RPC_URL || 'https://mainnet.infura.io/',
oracleRpcUrl: process.env.ORACLE_RPC_URL || 'https://rpc.payload.de',
minerMerkleTreeHeight: 20,
privateKey: process.env.PRIVATE_KEY,
instances,
@ -28,5 +28,5 @@ module.exports = {
},
proxyLight,
nativeCurrency,
minimumBalance: '500000000000000000', // 0.5
minimumBalance: netId === 137 || netId === 43114 ? '10000000000000000000' : '100000000000000000', // 10 or 0.1
}