razvan commited on
Commit
d589324
Β·
verified Β·
1 Parent(s): cef4358

Upload .env.example

Browse files
Files changed (1) hide show
  1. .env.example +71 -0
.env.example ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BuilderBrain Environment Configuration
2
+ # Copy to .env and fill in real values for live mode
3
+
4
+ # ────────────────────────────── Circle Gateway ──────────────────────────────
5
+ # Get from https://developers.circle.com/
6
+ # Required for: cross-chain USDC transfers, unified balance queries
7
+ CIRCLE_API_KEY=sk_test_your_circle_api_key_here
8
+
9
+ # Circle Gateway testnet (default)
10
+ # GATEWAY_BASE_URL=https://gateway-api-testnet.circle.com
11
+
12
+ # ────────────────────────────── Arc/Circle ──────────────────────────────
13
+ # Arc Testnet RPC endpoint (from Arc docs: "Connect to Arc")
14
+ ARC_RPC_URL=https://arc-testnet-rpc.example.com
15
+
16
+ # Depositor wallet address on Arc (for Gateway balance queries)
17
+ ARC_DEPOSITOR_ADDRESS=0xYourDepositorAddressHere
18
+
19
+ # Arc domain ID for your chain (get from GET /gateway-info)
20
+ ARC_DOMAIN_ID=0
21
+
22
+ # ────────────────────────────── Polymarket ──────────────────────────────
23
+ # Polymarket API key (for CLOB order submission)
24
+ POLY_API_KEY=your_polymarket_api_key
25
+
26
+ # Polymarket private key (for order signing)
27
+ # WARNING: Use environment secrets, never commit to repo
28
+ POLY_PRIVATE_KEY=0xYourPrivateKeyHere
29
+
30
+ # Builder code (register at https://polymarket.com/settings?tab=builder)
31
+ # Format: bytes32 hex string, e.g. 0x00000000000000000000000000000001
32
+ POLY_BUILDER_CODE=0xYourBuilderCodeHere
33
+
34
+ # ────────────────────────────── USYC (Yield) ──────────────────────────────
35
+ # Arc Testnet USYC addresses (from Circle docs)
36
+ USYC_TOKEN_ADDRESS=0xe9185F0c5F296Ed1797AaE4238D26CCaBEadb86C
37
+ USYC_TELLER_ADDRESS=0x9fdF14c5B14173D74C08Af27AebFf39240dC105A
38
+ USYC_ORACLE_ADDRESS=0x52b56c7642E71dc54714d879127d97cd0B3D4581
39
+ USYC_ENTITLEMENTS_ADDRESS=0xcc205224862c7641930c87679e98999d23c26113
40
+
41
+ # ────────────────────────────── ERC-4337 Paymaster ──────────────────────────────
42
+ # Pimlico bundler RPC (Arc EntryPoint)
43
+ PIMLICO_BUNDLER_URL=https://bundler.pimlico.io/v2/arc-testnet
44
+
45
+ # Circle Paymaster address (if supported on Arc)
46
+ # Currently using Arbitrum Sepolia: 0x31BE08D... (check latest docs)
47
+ CIRCLE_PAYMASTER_ADDRESS=0x31BE08D...
48
+
49
+ # ────────────────────────────── Wallets ──────────────────────────────
50
+ # Circle Developer-Controlled Wallets
51
+ CIRCLE_WALLET_API_KEY=your_circle_wallet_api_key
52
+ CIRCLE_WALLET_SET_ID=your_wallet_set_uuid
53
+
54
+ # ────────────────────────────── OpenAI / LLM ──────────────────────────────
55
+ # For reasoning agent enrichment (optional)
56
+ OPENAI_API_KEY=sk-your_openai_key
57
+
58
+ # ────────────────────────────── Application ──────────────────────────────
59
+ # Default bankroll for paper trading
60
+ DEFAULT_BANKROLL_USD=10000
61
+
62
+ # Paper trade mode (set to false for live trading)
63
+ PAPER_TRADE=true
64
+
65
+ # Kelly engine constraints
66
+ MAX_LEVERAGE=2.0
67
+ MAX_DRAWDOWN=0.20
68
+ MIN_EDGE=0.03
69
+
70
+ # Logging
71
+ LOG_LEVEL=INFO