-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (43 loc) · 2.78 KB
/
Copy path.env.example
File metadata and controls
52 lines (43 loc) · 2.78 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
# Values for the bundled local-dev chain (deps/midnight-local-dev, option 6).
# The recovery phrase and recipient address below are throwaway test wallets
# only ever used on a local undeployed network — they're safe to commit.
#
# Note: the e2e cannot run against the public preview chain. Preview's node
# lacks the SPEND_SPLIT_VK / SIGN_SPLIT_VK fallback in well_formed (ledger
# commit a72735ae) and its indexer can't replay split-send blocks. The
# MIDNIGHT_PREVIEW_* prefix is historical — every var here targets local-dev.
# --- Node / indexer / network -------------------------------------------------
MIDNIGHT_PREVIEW_NODE_WS=ws://127.0.0.1:9944
MIDNIGHT_PREVIEW_INDEXER_HTTP=http://127.0.0.1:8088/api/v4/graphql
MIDNIGHT_PREVIEW_INDEXER_WS=ws://127.0.0.1:8088/api/v4/graphql/ws
MIDNIGHT_PREVIEW_NETWORK_ID=undeployed
# Refuse accidental public-preview/non-patched endpoints by default. Set this
# only when all node/indexer URLs point at a known patched split-prove stack.
MIDNIGHT_ALLOW_REMOTE_PATCHED_STACK=
# Test wallet that local-dev option 6 funds with a shielded NIGHT output.
MIDNIGHT_PREVIEW_RECOVERY_PHRASE="until truly news purchase scorpion trend true media chapter yellow elegant unfold endless frequent wheel mad lake arrange album rather try link curve deposit"
# Recipient for the split-send (another throwaway local-dev address).
MIDNIGHT_PREVIEW_RECIPIENT_SHIELDED_ADDRESS=mn_shield-addr_undeployed1yvwkkzgpggxnuuzwrejdr4y7nn5j656gj49lnjwxuffqkkc8xcp2wz4dqcltjsc4z7myp2xm2zmxc965qm63k3cqmyg4ldyfts8txhqmsqhhc
# Image tag produced by `docker build -f deps/midnight-node/Dockerfile.split-prove`.
MIDNIGHT_NODE_IMAGE=midnight-node:split-prove
# Amount sent to the recipient by the split-send e2e, in smallest NIGHT units.
MIDNIGHT_PREVIEW_TRANSFER_AMOUNT=200000000
# --- Wallet derivation knobs --------------------------------------------------
MIDNIGHT_PREVIEW_ACCOUNT=0
MIDNIGHT_PREVIEW_ZSWAP_KEY_INDEX=0
MIDNIGHT_PREVIEW_ZSWAP_KEY_SCAN_LIMIT=1
MIDNIGHT_PREVIEW_ZSWAP_EVENT_LIMIT=50000
# --- Submission / timeouts ----------------------------------------------------
MIDNIGHT_PREVIEW_REQUEST_TIMEOUT_SECS=120
MIDNIGHT_PREVIEW_WALLET_SUBMIT_MODE=raw-rpc
MIDNIGHT_PREVIEW_RAW_RPC_SUBMIT_TIMEOUT_SECS=120
MIDNIGHT_PREVIEW_RAW_RPC_WAIT_FOR=finalized
MIDNIGHT_PREVIEW_WALLET_SUBMIT_TIMEOUT_SECS=180
# Pre-submit ledger-wasm wellFormed check. Off by default: the registry
# @midnight-ntwrk/ledger-v8 package links the packaged zswap verifier keys and
# rejects locally-modified proofs even when the local node accepts them.
MIDNIGHT_PREVIEW_VALIDATE_LEDGER_WASM=
# Optional concrete 32-byte zswap seed, hex encoded. If set, helpers use this
# directly instead of deriving from the recovery phrase. The full split-send
# e2e still requires the recovery phrase for Dust balancing.
MIDNIGHT_PREVIEW_ZSWAP_SEED_HEX=