-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
122 lines (113 loc) · 5.82 KB
/
Copy path.env.example
File metadata and controls
122 lines (113 loc) · 5.82 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# ══════════════════════════════════════════════════════════════════════════════
# Zama Compatibility Harness — Environment Configuration
# ══════════════════════════════════════════════════════════════════════════════
#
# Copy this file to .env and fill in the values for your adapter.
#
# Only ONE section is needed depending on the adapter you run:
# • Built-in EOA adapter (default src/adapter/index.ts) → set PRIVATE_KEY
# • Crossmint adapter (SIGNER_MODULE=./examples/crossmint/signer.ts)
# → set CROSSMINT_* vars
# • Turnkey adapter (SIGNER_MODULE=./examples/turnkey/signer.ts)
# → set TURNKEY_* vars
# • Openfort baseline adapter (SIGNER_MODULE=./examples/openfort/signer.ts)
# → set OPENFORT_* vars
# • Custom adapter module → set whatever it needs
#
# ── Built-in EOA Adapter ──────────────────────────────────────────────────────
#
# Only needed when using the built-in adapter (default test path).
# Not required when using a custom module through SIGNER_MODULE.
#
# The account must hold Sepolia ETH for the Transaction Execution test.
# Faucets: https://sepoliafaucet.com | https://faucet.alchemy.com/faucets/ethereum-sepolia
#
PRIVATE_KEY=0x
# ── Crossmint MPC Adapter ─────────────────────────────────────────────────────
#
# Only needed when running:
# SIGNER_MODULE=./examples/crossmint/signer.ts npm test
# See examples/crossmint/COMPATIBILITY.md for setup details.
#
# CROSSMINT_API_KEY=your_server_side_api_key
#
# Wallet locator — one of:
# email:alice@example.com:evm-smart-wallet
# userId:abc123:evm-smart-wallet
# phoneNumber:+1234567890:evm-smart-wallet
# CROSSMINT_WALLET_LOCATOR=email:alice@example.com:evm-smart-wallet
#
# Optional: supply the wallet 0x address directly to skip the API lookup at startup.
# If omitted, the address is resolved via GET /wallets/{locator} before tests run.
# CROSSMINT_WALLET_ADDRESS=0x
# ── Turnkey API Key Adapter ───────────────────────────────────────────────────
#
# Only needed when running:
# SIGNER_MODULE=./examples/turnkey/signer.ts npm test
# See examples/turnkey/COMPATIBILITY.md for setup details.
#
# Required:
# TURNKEY_ORG_ID=...
# TURNKEY_PRIVATE_KEY_ID=...
# TURNKEY_API_PUBLIC_KEY=...
# TURNKEY_API_PRIVATE_KEY=...
#
# Optional:
# TURNKEY_WALLET_ADDRESS=0x...
# TURNKEY_BASE_URL=https://api.turnkey.com
# TURNKEY_RPC_URL=https://eth-sepolia.g.alchemy.com/v2/YOUR_KEY
# ── Openfort EOA Baseline Adapter ─────────────────────────────────────────────
#
# Only needed when running:
# SIGNER_MODULE=./examples/openfort/signer.ts npm test
# See examples/openfort/COMPATIBILITY.md for scope and caveats.
#
# OPENFORT_TEST_PRIVATE_KEY=0x...
#
# Optional: adapter-specific RPC override (defaults to RPC_URL)
# OPENFORT_RPC_URL=https://eth-sepolia.g.alchemy.com/v2/YOUR_KEY
# ── Network ───────────────────────────────────────────────────────────────────
#
# Profile selector:
# - sepolia (default)
# - mainnet (requires explicit RELAYER_URL)
#
# NETWORK_PROFILE=sepolia
#
# Sepolia JSON-RPC endpoint. Defaults to a public endpoint.
# Override with Infura / Alchemy for better reliability.
#
# RPC_URL=https://ethereum-sepolia-rpc.publicnode.com
# ── Relayer ───────────────────────────────────────────────────────────────────
#
# Zama relayer base URL. Defaults to the public Sepolia testnet relayer.
# Override for a private or mainnet relayer.
#
# RELAYER_URL=https://relayer.testnet.zama.org/v2
#
# API key forwarded as x-api-key. Not required for the public Sepolia relayer.
# Required for mainnet or private relayers.
#
# RELAYER_API_KEY=
# ── Reporting ─────────────────────────────────────────────────────────────────
#
# Optional machine-readable report artifact path.
# Example:
# REPORT_JSON_PATH=./reports/latest.json
#
# REPORT_JSON_PATH=
# ── Harness Runtime ──────────────────────────────────────────────────────────
#
# Deterministic local mode:
# - disables network/relayer/registry-dependent validations in the test suite
# - marks those checks as UNTESTED with explicit rationale
#
# HARNESS_MOCK_MODE=1
# ── Validation Gate Policy (optional) ────────────────────────────────────────
#
# Use with `npm run validate`:
# - policy file path (JSON), see ./validation-policy.example.json
# - optional env override to accept PARTIAL outcomes as pass
#
# VALIDATION_POLICY_PATH=./validation-policy.example.json
# VALIDATION_ALLOW_PARTIAL=false