Skip to content

Commit

Permalink
add rpc for base (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpeluche authored Apr 25, 2024
1 parent 5c55334 commit 5c3fc4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ export function getRPCClient(options: RPCClientOptions): PublicClient {
return createPublicClient({
chain: viemChains.base,
transport: fallback([
http('https://base-rpc.publicnode.com', httpTransportConfig),
http('https://base-pokt.nodies.app', httpTransportConfig),
http('https://base.drpc.org', httpTransportConfig),
http('https://base-mainnet.public.blastapi.io', httpTransportConfig),
http('https://mainnet.base.org', httpTransportConfig),
]),
Expand Down

0 comments on commit 5c3fc4f

Please sign in to comment.