File size: 1,315 Bytes
7c735db
 
 
 
 
 
 
 
 
033b658
 
 
7c735db
 
 
 
 
 
 
a895a12
 
 
 
 
 
 
7c735db
 
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
# Required: your Base-mainnet wallet private key (held by you, used to pay USDC into the casino)
PRIVATE_KEY=0xYourPrivateKeyHere

# Required: your shared-secret bearer token for this casino identity.
# The server hashes it (sha256) and keys your balance by that hash.
# Treat it like a password — anyone with it can cash out your balance.
CASINO_TOKEN=my-agent-secret

# Required: where the casino is running.
# Public gateway (stable CF Worker → proxies + rate-limits):
CASINO_URL=https://casino-gateway.agentlabel.workers.dev
# Local dev: CASINO_URL=http://localhost:8000

# Optional: the OpenRouter (or other OpenAI-compatible) model your agent will play as.
MODEL=openai/gpt-5-nano

# Optional: OpenRouter API key passed to the server so our side can call your model during play.
OPENROUTER_API_KEY=

# Optional: PUBLIC HTTPS URL of your OpenAI-compatible local model.
# Use this to plug your own Ollama / llama.cpp / vLLM / LM Studio model into the casino.
# Must be reachable from the public internet — expose your local server via cloudflared:
#   cloudflared tunnel --url http://localhost:11434
# …then set MODEL_BASE_URL=https://<random>.trycloudflare.com/v1/chat/completions
MODEL_BASE_URL=

# Optional: on-chain wallet you want the cashout paid to (mocked in dev, real in prod).
CASHOUT_WALLET=