From 5b19867a50cba6c02716f8b4f6446fb5022a365b Mon Sep 17 00:00:00 2001 From: Sewmina Date: Tue, 20 May 2025 21:10:45 +0530 Subject: [PATCH] dev converted the master --- package.json | 4 ++-- src/data/shared.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ff5a67d..57e4e28 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,9 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev -p 3031", + "dev": "next dev -p 3030", "build": "next build", - "start": "next start -p 3031", + "start": "next start -p 3030", "lint": "next lint" }, "dependencies": { diff --git a/src/data/shared.ts b/src/data/shared.ts index ffd9565..3dea281 100644 --- a/src/data/shared.ts +++ b/src/data/shared.ts @@ -1,12 +1,12 @@ -import { Connection } from "@solana/web3.js"; +import { clusterApiUrl, Connection } from "@solana/web3.js"; // Replace this URL with your dedicated RPC endpoint // You can get one from providers like QuickNode, Alchemy, Helius, or GenesysGo // export const CLUSTER_URL = "https://tiniest-cold-darkness.solana-mainnet.quiknode.pro/72332d636ff78d498b880bd8fdc3eb646c827da8/"; // export const CLUSTER_URL = "https://go.getblock.io/908837801b534ae7a6f0869fc44cc567"; -export const CLUSTER_URL = "https://solana-mainnet.core.chainstack.com/c54e14eef17693283a0323efcc4ce731"; +// export const CLUSTER_URL = "https://solana-mainnet.core.chainstack.com/c54e14eef17693283a0323efcc4ce731"; // export const CLUSTER_URL = "https://mainnet.helius-rpc.com/?api-key=72332d63-6ff7-4d49-8b88-0bd8fdc3eb64"; -// export const CLUSTER_URL = clusterApiUrl("devnet"); +export const CLUSTER_URL = clusterApiUrl("devnet"); export const EXPLORER_ADDRESS_TEMPLATE = "https://explorer.solana.com/address/{address}"; export const EXPLORER_TX_TEMPLATE = "https://explorer.solana.com/tx/{address}"; export const connection = new Connection(CLUSTER_URL);