Skip to content

Commit

Permalink
update public RPC for Blast
Browse files Browse the repository at this point in the history
  • Loading branch information
benwolski committed Dec 24, 2024
1 parent 70376e9 commit 1fb99c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/ambient-utils/constants/networks/blastMainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { blastBLAST, blastETH, blastEzETH, blastUSDB } from '../defaultTokens';
import { GCGO_BLAST_URL } from '../gcgo';
import { TopPool } from './TopPool';

export const PUBLIC_RPC_URL = 'https://rpc.blast.io';
export const PUBLIC_RPC_URL = 'https://blast-rpc.publicnode.com';

export const RESTRICTED_RPC_URL =
import.meta.env.VITE_BLAST_RPC_URL !== undefined
Expand Down
11 changes: 1 addition & 10 deletions src/ambient-utils/constants/networks/swellMainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@ import { bigIntToFloat } from '@crocswap-libs/sdk';
import { lookupChain } from '@crocswap-libs/sdk/dist/context';
import { Provider } from 'ethers';
import { NetworkIF } from '../../types/NetworkIF';
import {
swellETH,
swellRSETH,
swellRSWETH,
swellSWETH,
swellUSDE,
swellWEETH,
} from '../defaultTokens';
import { swellETH, swellRSETH, swellSWETH, swellUSDE } from '../defaultTokens';
import { GCGO_SWELL_URL } from '../gcgo';
import { TopPool } from './TopPool';

Expand Down Expand Up @@ -50,8 +43,6 @@ export const swellMainnet: NetworkIF = {
new TopPool(swellETH, swellUSDE, chainSpecFromSDK.poolIndex),
new TopPool(swellSWETH, swellETH, chainSpecFromSDK.poolIndex),
new TopPool(swellRSETH, swellETH, chainSpecFromSDK.poolIndex),
new TopPool(swellRSWETH, swellETH, chainSpecFromSDK.poolIndex),
new TopPool(swellWEETH, swellETH, chainSpecFromSDK.poolIndex),
],
getGasPriceInGwei: async (provider?: Provider) => {
if (!provider) return 0;
Expand Down

0 comments on commit 1fb99c8

Please sign in to comment.