Skip to content

Commit

Permalink
chore: removed non-default chain properties
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Sep 3, 2024
1 parent 8181086 commit c11d92f
Show file tree
Hide file tree
Showing 27 changed files with 5 additions and 95 deletions.
5 changes: 5 additions & 0 deletions .changeset/tidy-nails-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Removed non-default chain properties.
4 changes: 0 additions & 4 deletions src/chains/definitions/acala.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ export const acala = /*#__PURE__*/ defineChain({
decimals: 18,
},
rpcUrls: {
public: {
http: ['https://eth-rpc-acala.aca-api.network'],
webSocket: ['wss://eth-rpc-acala.aca-api.network'],
},
default: {
http: ['https://eth-rpc-acala.aca-api.network'],
webSocket: ['wss://eth-rpc-acala.aca-api.network'],
Expand Down
12 changes: 0 additions & 12 deletions src/chains/definitions/bahamut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@ export const bahamut = /*#__PURE__*/ defineChain({
'wss://ws2.sahara.bahamutchain.com',
],
},
public: {
http: [
'https://rpc1.bahamut.io',
'https://bahamut-rpc.publicnode.com',
'https://rpc2.bahamut.io',
],
webSocket: [
'wss://ws1.sahara.bahamutchain.com',
'wss://bahamut-rpc.publicnode.com',
'wss://ws2.sahara.bahamutchain.com',
],
},
},
blockExplorers: {
default: {
Expand Down
4 changes: 0 additions & 4 deletions src/chains/definitions/beam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ export const beam = /*#__PURE__*/ defineChain({
symbol: 'BEAM',
},
rpcUrls: {
public: {
http: ['https://build.onbeam.com/rpc'],
webSocket: ['wss://build.onbeam.com/ws'],
},
default: {
http: ['https://build.onbeam.com/rpc'],
webSocket: ['wss://build.onbeam.com/ws'],
Expand Down
4 changes: 0 additions & 4 deletions src/chains/definitions/beamTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ export const beamTestnet = /*#__PURE__*/ defineChain({
symbol: 'BEAM',
},
rpcUrls: {
public: {
http: ['https://build.onbeam.com/rpc/testnet'],
webSocket: ['wss://build.onbeam.com/ws/testnet'],
},
default: {
http: ['https://build.onbeam.com/rpc/testnet'],
webSocket: ['wss://build.onbeam.com/ws/testnet'],
Expand Down
1 change: 0 additions & 1 deletion src/chains/definitions/bitTorrent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const bitTorrent = /*#__PURE__*/ defineChain({
nativeCurrency: { name: 'BitTorrent', symbol: 'BTT', decimals: 18 },
rpcUrls: {
default: { http: ['https://rpc.bittorrentchain.io'] },
public: { http: ['https://rpc.bittorrentchain.io'] },
},
blockExplorers: {
default: {
Expand Down
1 change: 0 additions & 1 deletion src/chains/definitions/bitTorrentTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const bitTorrentTestnet = /*#__PURE__*/ defineChain({
nativeCurrency: { name: 'BitTorrent', symbol: 'BTT', decimals: 18 },
rpcUrls: {
default: { http: ['https://testrpc.bittorrentchain.io'] },
public: { http: ['https://testrpc.bittorrentchain.io'] },
},
blockExplorers: {
default: {
Expand Down
4 changes: 0 additions & 4 deletions src/chains/definitions/bobSepolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ export const bobSepolia = defineChain({
http: ['https://bob-sepolia.rpc.gobob.xyz'],
webSocket: ['wss://bob-sepolia.rpc.gobob.xyz'],
},
public: {
http: ['https://bob-sepolia.rpc.gobob.xyz'],
webSocket: ['wss://bob-sepolia.rpc.gobob.xyz'],
},
},
blockExplorers: {
default: {
Expand Down
3 changes: 0 additions & 3 deletions src/chains/definitions/defichainEvm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ export const defichainEvm = /*#__PURE__*/ defineChain({
default: {
http: ['https://eth.mainnet.ocean.jellyfishsdk.com'],
},
public: {
http: ['https://eth.mainnet.ocean.jellyfishsdk.com'],
},
},
blockExplorers: {
default: {
Expand Down
3 changes: 0 additions & 3 deletions src/chains/definitions/defichainEvmTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ export const defichainEvmTestnet = /*#__PURE__*/ defineChain({
default: {
http: ['https://eth.testnet.ocean.jellyfishsdk.com'],
},
public: {
http: ['https://eth.testnet.ocean.jellyfishsdk.com'],
},
},
blockExplorers: {
default: {
Expand Down
3 changes: 0 additions & 3 deletions src/chains/definitions/jbc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ export const jbc = /*#__PURE__*/ defineChain({
default: {
http: ['https://rpc-l1.jibchain.net'],
},
public: {
http: ['https://rpc-l1.jibchain.net'],
},
},
blockExplorers: {
default: {
Expand Down
4 changes: 0 additions & 4 deletions src/chains/definitions/karura.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ export const karura = /*#__PURE__*/ defineChain({
decimals: 18,
},
rpcUrls: {
public: {
http: ['https://eth-rpc-karura.aca-api.network'],
webSocket: ['wss://eth-rpc-karura.aca-api.network'],
},
default: {
http: ['https://eth-rpc-karura.aca-api.network'],
webSocket: ['wss://eth-rpc-karura.aca-api.network'],
Expand Down
3 changes: 0 additions & 3 deletions src/chains/definitions/kcc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ export const kcc = /*#__PURE__*/ defineChain({
default: {
http: ['https://kcc-rpc.com'],
},
public: {
http: ['https://kcc-rpc.com'],
},
},
blockExplorers: {
default: { name: 'KCC Explorer', url: 'https://explorer.kcc.io' },
Expand Down
4 changes: 0 additions & 4 deletions src/chains/definitions/mandala.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ export const mandala = /*#__PURE__*/ defineChain({
decimals: 18,
},
rpcUrls: {
public: {
http: ['https://eth-rpc-tc9.aca-staging.network'],
webSocket: ['wss://eth-rpc-tc9.aca-staging.network'],
},
default: {
http: ['https://eth-rpc-tc9.aca-staging.network'],
webSocket: ['wss://eth-rpc-tc9.aca-staging.network'],
Expand Down
5 changes: 0 additions & 5 deletions src/chains/definitions/metis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ export const metis = /*#__PURE__*/ defineChain({
apiUrl:
'https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan/api',
},
blockscout: {
name: 'Andromeda Explorer',
url: 'https://andromeda-explorer.metis.io',
apiUrl: 'https://andromeda-explorer.metis.io/api',
},
},
contracts: {
multicall3: {
Expand Down
1 change: 0 additions & 1 deletion src/chains/definitions/oasisTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const oasisTestnet = /*#__PURE__*/ defineChain({
nativeCurrency: { name: 'Fasttoken', symbol: 'FTN', decimals: 18 },
rpcUrls: {
default: { http: ['https://rpc1.oasis.bahamutchain.com'] },
public: { http: ['https://rpc1.oasis.bahamutchain.com'] },
},
blockExplorers: {
default: {
Expand Down
4 changes: 0 additions & 4 deletions src/chains/definitions/oortmainnetDev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ export const oortMainnetDev = /*#__PURE__*/ defineChain({
default: { http: ['https://dev-rpc.oortech.com'] },
},
blockExplorers: {
oort: {
name: 'OORT MainnetDev Explorer',
url: 'https://dev-scan.oortech.com',
},
default: {
name: 'OORT MainnetDev Explorer',
url: 'https://dev-scan.oortech.com',
Expand Down
5 changes: 0 additions & 5 deletions src/chains/definitions/pgn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ export const pgn = /*#__PURE__*/ defineChain({
url: 'https://explorer.publicgoods.network',
apiUrl: 'https://explorer.publicgoods.network/api',
},
blockscout: {
name: 'PGN Explorer',
url: 'https://explorer.publicgoods.network',
apiUrl: 'https://explorer.publicgoods.network/api',
},
},
contracts: {
l2OutputOracle: {
Expand Down
5 changes: 0 additions & 5 deletions src/chains/definitions/pgnTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ export const pgnTestnet = /*#__PURE__*/ defineChain({
url: 'https://explorer.sepolia.publicgoods.network',
apiUrl: 'https://explorer.sepolia.publicgoods.network/api',
},
blockscout: {
name: 'PGN Testnet Explorer',
url: 'https://explorer.sepolia.publicgoods.network',
apiUrl: 'https://explorer.sepolia.publicgoods.network/api',
},
},
contracts: {
l2OutputOracle: {
Expand Down
5 changes: 0 additions & 5 deletions src/chains/definitions/sapphire.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ export const sapphire = /*#__PURE__*/ defineChain({
name: 'Oasis Explorer',
url: 'https://explorer.oasis.io/mainnet/sapphire',
},
blockscout: {
name: 'Oasis Sapphire Explorer',
url: 'https://old-explorer.sapphire.oasis.io',
apiUrl: 'https://old-explorer.sapphire.oasis.io/api',
},
},
contracts: {
multicall3: {
Expand Down
5 changes: 0 additions & 5 deletions src/chains/definitions/sapphireTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ export const sapphireTestnet = /*#__PURE__*/ defineChain({
name: 'Oasis Explorer',
url: 'https://explorer.oasis.io/testnet/sapphire',
},
blockscout: {
name: 'Oasis Sapphire Testnet Explorer',
url: 'https://testnet.old-explorer.sapphire.oasis.dev',
apiUrl: 'https://testnet.old-explorer.sapphire.oasis.dev/api',
},
},
testnet: true,
})
3 changes: 0 additions & 3 deletions src/chains/definitions/taikoKatla.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ export const taikoKatla = /*#__PURE__*/ defineChain({
default: {
http: ['https://rpc.katla.taiko.xyz'],
},
public: {
http: ['https://rpc.katla.taiko.xyz'],
},
},
blockExplorers: {
default: {
Expand Down
1 change: 0 additions & 1 deletion src/chains/definitions/wemix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const wemix = /*#__PURE__*/ defineChain({
nativeCurrency: { name: 'WEMIX', symbol: 'WEMIX', decimals: 18 },
rpcUrls: {
default: { http: ['https://api.wemix.com'] },
public: { http: ['https://api.wemix.com'] },
},
blockExplorers: {
default: {
Expand Down
1 change: 0 additions & 1 deletion src/chains/definitions/wemixTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const wemixTestnet = /*#__PURE__*/ defineChain({
nativeCurrency: { name: 'WEMIX', symbol: 'tWEMIX', decimals: 18 },
rpcUrls: {
default: { http: ['https://api.test.wemix.com'] },
public: { http: ['https://api.test.wemix.com'] },
},
blockExplorers: {
default: {
Expand Down
4 changes: 0 additions & 4 deletions src/chains/definitions/xdc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ export const xdc = /*#__PURE__*/ defineChain({
default: { http: ['https://rpc.xinfin.network'] },
},
blockExplorers: {
xinfin: {
name: 'XinFin',
url: 'https://explorer.xinfin.network',
},
default: {
name: 'Blocksscan',
url: 'https://xdc.blocksscan.io',
Expand Down
3 changes: 0 additions & 3 deletions src/chains/definitions/zkFair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ export const zkFair = /*#__PURE__*/ defineChain({
default: {
http: ['https://rpc.zkfair.io'],
},
public: {
http: ['https://rpc.zkfair.io'],
},
},
blockExplorers: {
default: {
Expand Down
3 changes: 0 additions & 3 deletions src/chains/definitions/zkFairTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ export const zkFairTestnet = /*#__PURE__*/ defineChain({
default: {
http: ['https://testnet-rpc.zkfair.io'],
},
public: {
http: ['https://testnet-rpc.zkfair.io'],
},
},
blockExplorers: {
default: {
Expand Down

0 comments on commit c11d92f

Please sign in to comment.