Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copy this file to .env and fill in your own values. .env is git-ignored;
# never commit real key IDs or private keys.
#
# Create an API key at https://kalshi.com/account/profile (production) or in the
# demo dashboard, then store the downloaded private key OUTSIDE this repository
# and point the *_KEYFILE variable at it with an absolute path.

# --- Demo environment (demo-api.kalshi.co) ---
DEMO_KEYID=00000000-0000-0000-0000-000000000000
DEMO_KEYFILE=/absolute/path/to/kalshi-demo-private-key.pem

# --- Production environment (api.elections.kalshi.com) ---
# Leave these unset until you intend to trade with real funds.
PROD_KEYID=
PROD_KEYFILE=
Loading