forked from DFXswiss/services
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
48 lines (37 loc) · 1.81 KB
/
.env.sample
File metadata and controls
48 lines (37 loc) · 1.81 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
# DFX Services - Environment Configuration
# Copy this file to .env and adjust values as needed
#
# IMPORTANT: Never commit .env to git!
# === App Configuration ===
PORT=3001
REACT_APP_PUBLIC_URL=http://localhost:3001
# API URL - uncomment ONE of these:
REACT_APP_API_URL=http://localhost:3000 # Local API
# REACT_APP_API_URL=https://dev.api.dfx.swiss # Dev API
# REACT_APP_API_URL=https://api.dfx.swiss # Production API
# === E2E Test Configuration ===
# All variables below are REQUIRED when running Playwright tests
# Test wallet mnemonic (NEVER use for real funds!)
TEST_SEED="below debris olive author enhance ankle drum angle buyer cruel school milk"
# Second test wallet for dual-wallet/gasless tests
TEST_SEED_2="your second twelve word test seed phrase here"
# Test IBAN for sell/refund operations
TEST_IBAN=CH9300762011623852957
# Test email for mail login flow
TEST_EMAIL=your-test-email@example.com
# Test addresses for signature-based login (derived from TEST_SEED)
# Generate these by running: npx ts-node e2e/scripts/generate-signatures.ts
TEST_ADDRESS_1=0xd3AD44Bda0158567461D6FA7eC39E53534e686E9
TEST_SIGNATURE_1=0x9f2ab17b008d42b29e085210020962beb0758091866598b7a1a54295d1dec7fa56a6425bd491d31707ef3ee97f6479450a56210ae7408a5c2efde806ac50cf481b
TEST_ADDRESS_2=0xB18f08332eD99e0FBee29B2E09Be166B58e6083b
TEST_SIGNATURE_2=0x76cc51c74e84ad3eb0ca1cfde3465d0621292bf6e4edfa3cf40d0dc715e111d7304fbeaddcfe4df2426e6f101c2b2509301579e93857076a1b3ad32843e23aa91c
# Transaction IDs for refund tests
TEST_TX_ID=11
BUY_CRYPTO_TX_ID=4
# Lightning.space API URL
LIGHTNING_API_URL=https://lightning.space/v1
# === Widget Build (optional - DO NOT enable for local dev!) ===
# These break the dev server! Only use for production widget builds.
# BUILD_PATH=./widget
# GENERATE_SOURCEMAP=false
# CUSTOM_CHUNK_PATH=/widget/