-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy path.env.example
More file actions
28 lines (20 loc) · 922 Bytes
/
.env.example
File metadata and controls
28 lines (20 loc) · 922 Bytes
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
# Server
NODE_ENV=development
PORT=8080
# Solana RPC (mainnet-beta, devnet, or private)
SOLANA_RPC_URL=https://api.devnet.solana.com
# Base58-encoded secret key bytes (64-byte keypair). ONLY for dev / automation.
# Production: use HSM, KMS, or a dedicated signing service — never commit real keys.
PAYER_SECRET_BASE58=
# Optional: path to JSON keypair file (array of 64 numbers) if not using PAYER_SECRET_BASE58
# PAYER_KEYPAIR_PATH=./keys/payer.json
# Optional: must match the "address" field inside your IDL JSON (sanity check)
RWA_PROGRAM_ID=
# Path to Anchor IDL JSON (from `anchor build`). The file must include "address".
RWA_IDL_PATH=./idl/rwa_program.json
# Jupiter Swap API (v6)
JUPITER_API_BASE=https://quote-api.jup.ag
# Optional: default slippage bps for quotes (e.g. 50 = 0.5%)
DEFAULT_SLIPPAGE_BPS=50
# Optional: CORS origin for browser clients (comma-separated)
CORS_ORIGINS=http://localhost:3000