Skip to content

Commit

Permalink
rpc2
Browse files Browse the repository at this point in the history
  • Loading branch information
x committed Dec 7, 2024
1 parent 74e8db0 commit 8cae877
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ export const makeProvider = (network: Network) => {
return SolanaProvider.init({
connection: new Connection(
network === "mainnet-beta"
? process.env.MAINNET_SOLANA_RPC_ENDPOINT ??
"https://saber-solanam-77b6.mainnet.rpcpool.com/d1c03a8b-bd71-4d78-93a0-4f17bd818c1e"
? "https://saber-solanam-77b6.mainnet.rpcpool.com/d1c03a8b-bd71-4d78-93a0-4f17bd818c1e"
: "https://api.devnet.solana.com",
{
// https://solana.stackexchange.com/questions/6376/premature-close-error-when-fetching-25-or-more-accounts-at-once-with-solana-web
Expand Down

0 comments on commit 8cae877

Please sign in to comment.