forked from Virtual-Protocol/acp-node-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (30 loc) · 1.94 KB
/
Copy path.env.example
File metadata and controls
35 lines (30 loc) · 1.94 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
# Copy to `.env` and fill in real values before running examples.
#
# `*_WALLET_ADDRESS` — Privy server-managed wallet address (0x-prefixed, 20 bytes).
# `*_WALLET_ID` — Privy wallet id (UUID-like, from the Privy dashboard).
# `*_SIGNER_PRIVATE_KEY` — Privy *authorization key* (NOT an EOA key).
# base64-encoded PKCS#8 P-256 (prime256v1) private key,
# ~155 chars, starts with `MIGH`. Generated in the Privy
# dashboard under "Authorization keys"; signs wallet-API
# requests via `generateAuthorizationSignature(...)`.
# ---- Seller (src/examples/basic/seller.ts, src/examples/llm/seller.ts) ----
SELLER_WALLET_ADDRESS=0x0000000000000000000000000000000000000000
SELLER_WALLET_ID=00000000-0000-0000-0000-000000000000
SELLER_SIGNER_PRIVATE_KEY=MIGH...replace-with-your-base64-pkcs8-p256-key...
# ---- Buyer (src/examples/basic/buyer.ts, src/examples/llm/buyer.ts) ----
BUYER_WALLET_ADDRESS=0x0000000000000000000000000000000000000000
BUYER_WALLET_ID=00000000-0000-0000-0000-000000000000
BUYER_SIGNER_PRIVATE_KEY=MIGH...replace-with-your-base64-pkcs8-p256-key...
# ---- Solana seller (src/examples/solana-basic/seller.ts) ----
# Distinct from the EVM wallets above: a Privy Solana wallet has its own
# base58 address and id. The address is base58 (no `0x` prefix); the signer
# key is the same kind of Privy authorization key as the EVM examples.
SOLANA_SELLER_WALLET_ADDRESS=11111111111111111111111111111111
SOLANA_SELLER_WALLET_ID=00000000-0000-0000-0000-000000000000
SOLANA_SELLER_SIGNER_PRIVATE_KEY=MIGH...replace-with-your-base64-pkcs8-p256-key...
# ---- Solana buyer (src/examples/solana-basic/buyer.ts) ----
SOLANA_BUYER_WALLET_ADDRESS=11111111111111111111111111111111
SOLANA_BUYER_WALLET_ID=00000000-0000-0000-0000-000000000000
SOLANA_BUYER_SIGNER_PRIVATE_KEY=MIGH...replace-with-your-base64-pkcs8-p256-key...
# ---- Optional: required only by the llm/ examples ----
ANTHROPIC_API_KEY=