File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,19 @@ export type PublicRpcNode = {
44}
55
66// Public RPC nodes
7- export const BLAST_RPC_NODE : PublicRpcNode = {
8- mainnet : "https://starknet-mainnet.public.blastapi.io" ,
9- testnet : "https://starknet-sepolia.public.blastapi.io" ,
7+ export const CHAINSTACK_RPC_NODE : PublicRpcNode = {
8+ mainnet :
9+ "https://starknet-mainnet.core.chainstack.com/5b78befd1967e1ab160a38e1b7fa77db" ,
10+ testnet :
11+ "https://starknet-sepolia.core.chainstack.com/c35d78cd3e49108a4598e148cb569b90" ,
1012} as const
1113
1214export const LAVA_RPC_NODE : PublicRpcNode = {
1315 mainnet : "https://rpc.starknet.lava.build" ,
1416 testnet : "https://rpc.starknet-sepolia.lava.build" ,
1517} as const
1618
17- export const PUBLIC_RPC_NODES = [ BLAST_RPC_NODE , LAVA_RPC_NODE ] as const
19+ export const PUBLIC_RPC_NODES = [ CHAINSTACK_RPC_NODE , LAVA_RPC_NODE ] as const
1820
1921export function getRandomPublicRPCNode ( ) {
2022 const randomIndex = Math . floor ( Math . random ( ) * PUBLIC_RPC_NODES . length )
You can’t perform that action at this time.
0 commit comments