-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
51 lines (42 loc) · 2.07 KB
/
.env.example
File metadata and controls
51 lines (42 loc) · 2.07 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
# ==========================================================================
# APEX Contracts v1 — environment template
# Copy to `.env` and fill in the blanks. One file covers local + testnet +
# mainnet; `--network` on the hardhat CLI picks which BSC_*_PRIVATE_KEY and
# BSC_*_RPC_URL get used.
# ==========================================================================
# ---- RPC + deployer keys ----------------------------------------------
# BSC Testnet. Also used by the E2E runner: this key is the deployer, so it
# is router.owner() by default, and the E2E runner reuses it as the owner
# (and, when E2E_CLIENT_KEY / E2E_PROVIDER_KEY are blank, also as the client
# and provider). So in the simplest case, this is the only key you need.
BSC_TESTNET_RPC_URL=https://data-seed-prebsc-2-s3.binance.org:8545
BSC_TESTNET_PRIVATE_KEY=
# BSC Mainnet
BSC_RPC_URL=https://bsc-dataseed.binance.org
BSC_PRIVATE_KEY=
# Etherscan / BscScan API key (contract verification)
ETHERSCAN_API_KEY=
# ---- Deploy configuration ---------------------------------------------
# Optimistic policy: dispute grace window in seconds. 259200 = 3d.
DISPUTE_WINDOW_SECONDS=259200
# Optimistic policy: initial vote quorum. MUST add >= this many voters via
# addVoter(...) after deploy before any disputed job can settle.
INITIAL_QUORUM=3
# ---- E2E runner (testnet only) ----------------------------------------
# Only relevant for `bun run e2e:testnet`; local E2E uses Hardhat's prefunded
# accounts automatically. See test/e2e/README.md for the full setup.
#
# In the minimal setup you don't need ANYTHING here: the runner reuses
# `BSC_TESTNET_PRIVATE_KEY` above for owner + client + provider.
#
# Optional: use distinct wallets for client / provider if you want the E2E
# to exercise the separated-role path. Leave blank to fall back to owner.
#E2E_CLIENT_KEY=
#E2E_PROVIDER_KEY=
# Optional: override E2E timings / sizing. Defaults are tuned for BSC Testnet
# and for a total run time of ~12-15 minutes.
#E2E_DISPUTE_WINDOW_SECONDS=15
#E2E_JOB_EXPIRY_SECONDS=360
#E2E_BUDGET_UNITS=1
#E2E_INITIAL_QUORUM=1
#E2E_FAIL_FAST=true