Skip to content

Commit d59e484

Browse files
committed
security: move Helius RPC key to env var, fallback to public devnet RPC
1 parent 756a92b commit d59e484

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import App from './App.tsx'
1111
import Landing from './Landing.tsx'
1212
import Board from './Board.tsx'
1313

14-
const L1_RPC = 'https://devnet.helius-rpc.com/?api-key=03ec6518-e398-4917-987a-a9fdf13c881a'
14+
const L1_RPC = import.meta.env.VITE_SOLANA_RPC || 'https://api.devnet.solana.com'
1515

1616
function Root() {
1717
const wallets = useMemo(() => [

0 commit comments

Comments
 (0)