22 lines
596 B
Bash
22 lines
596 B
Bash
# Universal Solana RPC configuration.
|
|
#
|
|
# Helius example:
|
|
# SOLANA_RPC_URL=https://devnet.helius-rpc.com/?api-key=YOUR_KEY
|
|
# SOLANA_WS_URL=wss://devnet.helius-rpc.com/?api-key=YOUR_KEY
|
|
#
|
|
# Standard/self-hosted Solana RPC example:
|
|
# SOLANA_RPC_URL=http://127.0.0.1:8899
|
|
# SOLANA_WS_URL=ws://127.0.0.1:8900
|
|
|
|
SOLANA_RPC_URL=
|
|
SOLANA_WS_URL=
|
|
|
|
SOLANA_PROGRAM_ID=put_your_program_id_here
|
|
SOLANA_COMMITMENT=confirmed
|
|
SQLITE_PATH=./data/solana.db
|
|
|
|
# Temporary backward-compatible Helius fallback.
|
|
# These are used only when SOLANA_RPC_URL / SOLANA_WS_URL are absent.
|
|
HELIUS_API_KEY=
|
|
SOLANA_NETWORK=devnet
|