-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathenv.example
More file actions
32 lines (25 loc) · 1.58 KB
/
env.example
File metadata and controls
32 lines (25 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Solana Plugin Environment Variables
# Copy this file to .env and fill in your actual values
# Solana RPC URL (required)
# You can use public endpoints or get a dedicated one from providers like Helius, QuickNode, etc.
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
# Birdeye API Key (required for price data and portfolio valuation)
# Get your free API key from https://birdeye.so/
BIRDEYE_API_KEY=YourBirdeyeApiKeyHere
# Optional: Helius API Key (for enhanced RPC features)
# Get your API key from https://helius.xyz/
HELIUS_API_KEY=YourHeliusApiKeyHere
# Solana Private Key (base58 encoded)
# Required for sending transactions (like transfers, swaps) and for account subscriptions.
# If not provided, the plugin will operate in a read-only mode for basic portfolio viewing (if public key was previously used/cached or if functionality is adapted to not require it for reads).
# WARNING: Keep this secret and never commit to version control if you put a real one here for testing.
# For development, if this is not set, a new key may be generated by some test environments.
SOLANA_PRIVATE_KEY=YourPrivateKeyHere_Base58Encoded_e_g_5jZ2p...
# Optional: Slippage tolerance for swaps (default: 0.5%)
SLIPPAGE=0.5
# Optional: SOL token address (usually the wrapped SOL address for DeFi interactions)
SOL_ADDRESS=So11111111111111111111111111111111111111112
# Example values for testing (replace with your actual values if needed):
# SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
# BIRDEYE_API_KEY=your-birdeye-api-key-here
# SOLANA_PRIVATE_KEY= # Fill with a testnet/devnet private key for transaction tests