Change RPC to non-censoring

This commit is contained in:
Theo 2023-07-09 19:36:45 -07:00
parent fb80cd1904
commit 8527be370c
2 changed files with 6 additions and 6 deletions

@ -1,7 +1,7 @@
NET_ID=1 NET_ID=1
HTTP_RPC_URL=https://mainnet.infura.io HTTP_RPC_URL=https://api.securerpc.com/v1
# ORACLE_RPC_URL should always point to the mainnet # ORACLE_RPC_URL should always point to the mainnet
ORACLE_RPC_URL=https://mainnet.infura.io ORACLE_RPC_URL=https://api.securerpc.com/v1
REDIS_URL=redis://127.0.0.1:6379 REDIS_URL=redis://127.0.0.1:6379
# DNS settings # DNS settings
@ -11,8 +11,8 @@ APP_PORT=8000
# without 0x prefix # without 0x prefix
PRIVATE_KEY= PRIVATE_KEY=
# 0.05 means 0.05% # 0.1 means 0.1%, we recommend 0.1 for sidechains and 0.4 for mainnet
REGULAR_TORNADO_WITHDRAW_FEE=0.05 REGULAR_TORNADO_WITHDRAW_FEE=0.1
REWARD_ACCOUNT=0x... REWARD_ACCOUNT=0x...
CONFIRMATIONS=4 CONFIRMATIONS=4

@ -12,8 +12,8 @@ export const rpcUrl = process.env.HTTP_RPC_URL;
export const CONFIRMATIONS = Number(process.env.CONFIRMATIONS ?? 4); export const CONFIRMATIONS = Number(process.env.CONFIRMATIONS ?? 4);
export const MAX_GAS_PRICE = Number(process.env.MAX_GAS_PRICE ?? 1000); export const MAX_GAS_PRICE = Number(process.env.MAX_GAS_PRICE ?? 1000);
export const BASE_FEE_RESERVE_PERCENTAGE = Number(process.env.BASE_FEE_RESERVE_PERCENTAGE ?? 25); export const BASE_FEE_RESERVE_PERCENTAGE = Number(process.env.BASE_FEE_RESERVE_PERCENTAGE ?? 25);
export const mainnetRpcUrl = process.env.MAINNET_RPC_URL || process.env.ORACLE_RPC_URL || 'https://mainnet.infura.io/'; export const mainnetRpcUrl = process.env.MAINNET_RPC_URL || process.env.ORACLE_RPC_URL || 'https://api.securerpc.com/v1';
export const oracleRpcUrl = process.env.ORACLE_RPC_URL || 'https://mainnet.infura.io/'; export const oracleRpcUrl = process.env.ORACLE_RPC_URL || 'https://api.securerpc.com/v1';
export const offchainOracleAddress = '0x07D91f5fb9Bf7798734C3f606dB065549F6893bb'; export const offchainOracleAddress = '0x07D91f5fb9Bf7798734C3f606dB065549F6893bb';
export const multiCallAddress = '0xda3c19c6fe954576707fa24695efb830d9cca1ca'; export const multiCallAddress = '0xda3c19c6fe954576707fa24695efb830d9cca1ca';
export const privateKey = process.env.PRIVATE_KEY; export const privateKey = process.env.PRIVATE_KEY;