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_DEV= clusterApiUrl("devnet"); // export const CLUSTER_URL = "https://mainnet.helius-rpc.com/?api-key=72332d63-6ff7-4d49-8b88-0bd8fdc3eb64"; // 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); export const API_URL = "/api/v1/"; export const API_BASE_URL = "/api/"; export const VALIDATOR_URL = "https://validator.duelfi.io/"; export const VALIDATOR_URL_DEV = "https://validatordev.duelfi.io/"; export const TOKEN_PROGRAM_ID = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"; export const TOKEN_PROGRAM_ID_OLD = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";