Skip to content

API keys

Paste these in the first-run setup wizard or Settings → Wallet & secrets (writes to data/.env on your volume).

KeyRequired?Free tier?What it powers
RPC_URL (Helius)YesYes (signup)On-chain reads, vetting, tx simulation
JUPITER_API_KEYYes before liveYesExit swaps (token → SOL), profit-burn, simulate-zap
GMGN_API_KEYOptional (recommended)YesTrending discovery, smart-money feeds, honeypot/sell-tax vetting

Without GMGN the bot still runs on Meteora datapi + RPC + RugCheck — GMGN adds score bonuses (capped at +10) and extra security flags.

Helius RPC (RPC_URL)

Public RPC works for a smoke test. Live needs a private endpoint.

Sign up at HeliusEndpoint docs

  1. Create a project → RPC → copy the Mainnet HTTPS URL
  2. Paste into the wizard or RPC_URL in Settings / .env

Example: https://mainnet.helius-rpc.com/?api-key=YOUR_KEY

Jupiter API key (JUPITER_API_KEY)

Live exits route through Jupiter. Paper simulates fills, but you still want a key for npm run simulate-zap before going live.

Jupiter PortalSetup guide

  1. Sign in (Google, GitHub, or email)
  2. Create or join a team
  3. API Keys → Create — name it (e.g. dlmmbot-prod)
  4. Copy the key immediately — Jupiter shows the full value once
  5. Paste into the wizard or JUPITER_API_KEY

Free tier (1 req/s) is enough to start.

GMGN API key (GMGN_API_KEY) — optional

Query-only trending + honeypot/sell-tax checks. The bot never trades through GMGN, so you do not need GMGN_PRIVATE_KEY.

Open GMGNGenerate a public key

1. Generate a key pair (Ed25519)

Terminal (Linux / macOS / WSL / VPS):

bash
openssl genpkey -algorithm Ed25519 -out gmgn_private.pem
openssl pkey -in gmgn_private.pem -pubout -out gmgn_public.pem
cat gmgn_public.pem   # copy this whole block for step 2

Keep gmgn_private.pem off the bot. GUI: GMGN’s key-generator app → Generate 1 Key Pair → copy the public key.

Paste the entire public key, including the BEGIN / END PUBLIC KEY lines, into GMGN’s form.

2. Create the API key on GMGN

  1. Sign up at gmgn.ai/ai
  2. Open the API key panel
  3. Paste your public key → copy the API Key GMGN shows you
  4. Paste that value as GMGN_API_KEY

Rate limit: GMGN’s query API uses a leaky bucket (rate=20 / capacity=20, heavier weight on holders/traders) and documents ~1 req/s as a safe floor. The farmer runs one serial CLI queue, waits for each call to finish before the next, parks ~5 minutes (or until reset_at) on 429 — never spam the cooldown, that extends bans — and degrades to Meteora-only data while cooling down. One API key per running bot — staging + production sharing a key will 429.

Quick copy checklist

bash
# data/.env (or wizard / Settings)
RPC_URL=https://mainnet.helius-rpc.com/?api-key=YOUR_HELIUS_KEY
JUPITER_API_KEY=your_jupiter_key
GMGN_API_KEY=your_gmgn_key          # optional

Easy setupAdvanced setupConfiguration