From 5562db53dcb13d7087cac4e97d300eb98e3c4f9c Mon Sep 17 00:00:00 2001 From: Theo Date: Thu, 1 Jun 2023 02:45:12 -0700 Subject: [PATCH] Change RPC's to uncensored & links to actual --- constants/chainInfo.ts | 5 +++-- constants/contracts.ts | 15 +++++++-------- constants/link.ts | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/constants/chainInfo.ts b/constants/chainInfo.ts index adde9b6..5aa3854 100644 --- a/constants/chainInfo.ts +++ b/constants/chainInfo.ts @@ -1,4 +1,5 @@ import { ChainId, NetworkConfig, MetamaskList } from '@/types' +import { RPC_LIST } from '@/constants' const L1_CHAIN_ID = ChainId.MAINNET @@ -49,7 +50,7 @@ const METAMASK_LIST: MetamaskList = { [ChainId.BSC]: { chainId: '0x38', chainName: 'Binance Smart Chain Mainnet', - rpcUrls: ['https://bsc-dataseed1.binance.org'], + rpcUrls: [RPC_LIST[56]], nativeCurrency: { name: 'Binance Chain Native Token', symbol: 'BNB', @@ -60,7 +61,7 @@ const METAMASK_LIST: MetamaskList = { [ChainId.XDAI]: { chainId: '0x64', chainName: 'Gnosis', - rpcUrls: ['https://rpc.gnosischain.com'], + rpcUrls: [RPC_LIST[100]], nativeCurrency: { name: 'xDAI', symbol: 'xDAI', diff --git a/constants/contracts.ts b/constants/contracts.ts index 0e37110..fe9f161 100644 --- a/constants/contracts.ts +++ b/constants/contracts.ts @@ -21,9 +21,9 @@ export const WRAPPED_TOKEN: { [chainId in ChainId]: string } = { } export const RPC_LIST: { [chainId in ChainId]: string } = { - [ChainId.BSC]: 'https://bsc-dataseed.binance.org/', - [ChainId.MAINNET]: 'https://api.securerpc.com/v1', - [ChainId.XDAI]: 'https://rpc.gnosischain.com/tornado', + [ChainId.BSC]: 'https://bsc-mainnet.chainnodes.org/d692ae63-0a7e-43e0-9da9-fe4f4cc6c607', + [ChainId.MAINNET]: 'https://mainnet.chainnodes.org/d692ae63-0a7e-43e0-9da9-fe4f4cc6c607', + [ChainId.XDAI]: 'https://gnosis-mainnet.chainnodes.org/d692ae63-0a7e-43e0-9da9-fe4f4cc6c607', } export const FALLBACK_RPC_LIST: { [chainId in ChainId]: string[] } = { @@ -36,16 +36,15 @@ export const FALLBACK_RPC_LIST: { [chainId in ChainId]: string[] } = { // 'https://rpc.ankr.com/eth/dbe08b852ba176a8aeac783cc1fa8becaf4f107235dfdae79241063fbf52ca4a', ], [ChainId.XDAI]: [ - 'https://poa-xdai.gateway.pokt.network/v1/lb/61a6992dd6fbf3591b90c95b', // 'https://rpc.ankr.com/gnosis/dbe08b852ba176a8aeac783cc1fa8becaf4f107235dfdae79241063fbf52ca4a', - 'https://rpc.gnosischain.com', + 'https://rpc.gnosis.gateway.fm', ], } export const RPC_WS_LIST: { [chainId in ChainId]: string } = { - [ChainId.MAINNET]: 'wss://mainnet.infura.io/ws/v3/9b8f0ddb3e684ece890f594bf1710c88', - [ChainId.BSC]: 'wss://bsc-ws-node.nariox.org', - [ChainId.XDAI]: 'wss://rpc.xdaichain.com/wss/', + [ChainId.MAINNET]: 'wss://mainnet.chainnodes.org/d692ae63-0a7e-43e0-9da9-fe4f4cc6c607', + [ChainId.BSC]: 'wss://bsc-mainnet.chainnodes.org/d692ae63-0a7e-43e0-9da9-fe4f4cc6c607', + [ChainId.XDAI]: 'wss://gnosis-mainnet.chainnodes.org/d692ae63-0a7e-43e0-9da9-fe4f4cc6c607', } export const MULTICALL: { [chainId in ChainId]: string } = { diff --git a/constants/link.ts b/constants/link.ts index 67914a4..8f90591 100644 --- a/constants/link.ts +++ b/constants/link.ts @@ -35,6 +35,6 @@ export const menuLinks = { // SOCIALS export const DUNE = 'https://dune.xyz/k06a/TornadoCash-Nova' export const TWITTER = 'https://twitter.com/TornadoCash' -export const TELEGRAM = 'https://t.me/TornadoCashOfficial' -export const GITHUB = 'https://github.com/tornadocash' -export const TORNADO_CASH_LANDING = 'https://tornado.cash' +export const TELEGRAM = 'https://t.me/TornadoOfficial' +export const GITHUB = 'https://git.tornado.ws' +export const TORNADO_CASH_LANDING = 'https://tornado.ws'