forked from agent0lab/agent0-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
46 lines (36 loc) · 1.53 KB
/
env.example
File metadata and controls
46 lines (36 loc) · 1.53 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
39
40
41
42
43
44
# Agent0 SDK Example Configuration
#
# Examples auto-load the FIRST .env file found (then stop), in this order:
# 1) <monorepo-root>/.env
# 2) agent0-ts/.env
# 3) agent0-ts/examples/.env
#
# Copy this file to the monorepo root as `./.env`:
# cp agent0-ts/env.example ./.env
#
# IMPORTANT: Never commit real private keys or secrets.
# ---------- Chain / RPC ----------
# Ethereum Sepolia example RPC (replace with your own)
RPC_URL="https://sepolia.infura.io/v3/YOUR_PROJECT_ID"
# ---------- Signing keys (for transactions) ----------
# Provide ONE of these for write examples (register / giveFeedback / transfer).
# PRIVATE_KEY takes precedence over AGENT_PRIVATE_KEY in the examples.
PRIVATE_KEY="0xYOUR_FUNDED_PRIVATE_KEY"
# AGENT_PRIVATE_KEY="0xYOUR_FUNDED_PRIVATE_KEY"
# Optional: used by some agent wallet flows (setWallet)
NEW_WALLET_PRIVATE_KEY="0xYOUR_NEW_WALLET_PRIVATE_KEY"
# ---------- Agent IDs ----------
# Used by feedback examples (must exist on-chain on the same chain as RPC_URL)
# Format: "chainId:tokenId" e.g. "11155111:123"
AGENT_ID="11155111:123"
# Optional: deterministic transfer destination (transfer-agent example)
NEW_OWNER="0x0000000000000000000000000000000000000000"
# ---------- IPFS (Pinata) ----------
# Required for examples that call registerIPFS() or upload feedback files.
PINATA_JWT="YOUR_PINATA_JWT"
# ---------- Subgraph ----------
# Optional: override the default subgraph URL for the configured chain.
SUBGRAPH_URL=""
# ---------- feedback-end-to-end knobs ----------
MAX_POLL_SECONDS="180"
POLL_INTERVAL_MS="5000"