Configuration reference
AI Rulebook compiler
| Variable | Required by | Behavior |
|---|---|---|
SLIP_RULE_PROVIDER | Web server, live SDK AI test | Must be ollama or gateway; there is no automatic fallback. |
SLIP_RULE_MODEL | Web server, live SDK AI test | Exact Ollama model name or AI Gateway model identifier. |
OLLAMA_BASE_URL | Ollama mode | Server-side Ollama API, including an MBP LAN address such as http://192.168.1.95:11434/api. |
AI_GATEWAY_API_KEY | Gateway mode | Server-only Vercel AI Gateway credential. Never use a NEXT_PUBLIC_ prefix. |
POST /api/v1/compile fail closed when the selected provider is incomplete.
Ollama does not require a cloud key. The SDK also accepts any AI SDK LanguageModel without changing
Slip’s canonical validation. See Run Rulebook AI on an MBP.
Solana
| Variable | Required by | Behavior |
|---|---|---|
SOLANA_RPC_DEVNET | Server, keeper | Credential-capable RPC used for reads and keeper transactions. |
NEXT_PUBLIC_SOLANA_RPC_DEVNET | Browser | Public RPC used for wallet simulation and submission. Never include credentials. |
SLIP_DEVNET_USDT_MINT | Keeper and tooling | Six-decimal classic SPL settlement mint. |
KEEPER_KEYPAIR_PATH | Keeper | Funded signer used to pay resolver transaction fees and receive disclosed tips. |
ACTIVATION_KEYPAIR_PATH | TxLINE activation scripts | Wallet that subscribes to and activates TxLINE access. |
Deployment gate
| Variable | Default | Behavior |
|---|---|---|
NEXT_PUBLIC_SLIP_MARKET_ENABLED | false | Shows create, stake, and claim controls only when true. Set only for an RPC running the checked-in unified program. |
TxLINE
| Variable | Required | Behavior |
|---|---|---|
TXLINE_DEVNET_ORIGIN | No | Defaults to https://txline-dev.txodds.com. |
TXLINE_MAINNET_ORIGIN | No | Mainnet origin for future deployment tooling. |
TXLINE_API_TOKEN | Yes for web and keeper data | Activated token sent as X-Api-Token. TxlineClient fails precisely when it is unavailable. |
TXLINE_DEVNET_PROGRAM_ID | Tooling | TxLINE devnet program address. |
TXLINE_DEVNET_TXL_MINT | Activation | Token-2022 TxL utility mint used by subscription accounts. |
TXLINE_SERVICE_LEVEL | No | Defaults to free World Cup level 1. |
TXLINE_DURATION_WEEKS | No | Defaults to 4 and must be a multiple of 4. |
Keeper operations
| Variable | Default | Behavior |
|---|---|---|
KEEPER_POLL_MS | 30000 | Delay between market scans. |
KEEPER_SETTLE_RETRIES | 6 | Reserved settlement retry configuration. |
KEEPER_RETRY_BASE_MS | 15000 | Base durable backoff interval after failure. |
KEEPER_STATE_PATH | .keeper/state.json | Durable attempt and completion state; file permissions are restricted. |
KEEPER_HEALTH_PORT | 8787 | Loopback HTTP health port. |
KEEPER_ALERT_WEBHOOK_URL | unset | Optional HTTP(S) target for Tier-A and pass-failure alerts. |