-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (34 loc) · 1.64 KB
/
Copy path.env.example
File metadata and controls
38 lines (34 loc) · 1.64 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
33
34
35
36
37
38
# Copy to .env and fill in. .env is git-ignored — never commit real keys.
# --- Ostium Builder SDK (delegated + gasless) ---
# The DELEGATE private key (NOT your funds wallet key). Registered on-chain to trade
# on behalf of TRADER_ADDRESS. A leaked delegate key cannot move funds, only trade.
DELEGATE_PRIVATE_KEY=0xYOUR_DELEGATE_KEY
# The funds wallet the delegate trades for (holds USDC). Public address only.
TRADER_ADDRESS=0xYOUR_FUNDS_WALLET_ADDRESS
# Network: testnet (Arbitrum Sepolia) | mainnet (Arbitrum One)
OSTIUM_NETWORK=testnet
# Mainnet is blocked unless you explicitly opt in (real funds at risk). Leave unset for testnet.
# ALLOW_MAINNET=true
# Optional: custom Pimlico sponsor URL / policy. Omit to use Ostium's hosted sponsor.
# PIMLICO_URL=
# SPONSORSHIP_POLICY_ID=
# Optional: public Arbitrum RPC for reads (SDK has a default if omitted).
# RPC_URL=
# One-time ONLY: your TRADER (funds-wallet) private key — used by `npm run register-delegate`
# to setDelegate our delegate Safe. Remove again afterwards. Testnet only.
# TRADER_PRIVATE_KEY=
# --- Adapter ---
ADAPTER_CONFIG=config.yaml
HOST=127.0.0.1
PORT=8080
# Optional: directory for sqlite (dedup + audit) + cached pairs.json. Default: data
# DATA_DIR=data
# --- Adapter webhook secret ---
# Shared by all demo strategies (config.example.yaml references STRAT_DEMO_SECRET). Set this once
# and use the SAME value as the `Adapter secret` in every Pine script. Any random string.
STRAT_DEMO_SECRET=
# Optional: separate token to authorize the dashboard "Close position" endpoint.
# Defaults to STRAT_DEMO_SECRET when unset.
# DASHBOARD_TOKEN=
# --- Notifications (optional) ---
DISCORD_WEBHOOK_URL=