-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
50 lines (45 loc) · 2.08 KB
/
.env.example
File metadata and controls
50 lines (45 loc) · 2.08 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
# vcharacter-prime Environment Configuration
#
# Copy this file to .env and fill in the values
# ---------------------------------------------------------------------------
# Network
# ---------------------------------------------------------------------------
# PUBLIC_ prefix makes this available to client-side code.
# 'testnet' or 'mainnet'
PUBLIC_VERUS_NETWORK=testnet
# URL of the other network's deployment (for the "Switch to Mainnet/Testnet" link).
# Leave empty or omit to hide the switch link.
PUBLIC_SWITCH_NETWORK_URL=
# ---------------------------------------------------------------------------
# Service Identity
# ---------------------------------------------------------------------------
# The service identity signs commitment and storage requests. Its FQN namespace
# must match the outer-key FQN written on-chain (see src/lib/config.ts VDXF_KEYS),
# or the wallet will reject the request with "Cannot update with unknown key".
#
# === TESTNET (testidx@) ===
# SERVICE_IDENTITY_NAME=testidx@
# SERVICE_IDENTITY_IADDRESS=i6V4or9qptD5JzxkqgUKz45tvtBNMb72N3
#
# === MAINNET (vcharacter@) ===
# SERVICE_IDENTITY_NAME=vcharacter@
# SERVICE_IDENTITY_IADDRESS=iJPATzocvNM3k9UaCDYjVFarzrG3ujzCup
#
# Derive the primary address's private key with:
# ./verus -chain=vrsctest getidentity <name>@ # look for "primaryaddresses"
# ./verus -chain=vrsctest dumpprivkey <primary_address>
#
# IMPORTANT: Keep SERVICE_IDENTITY_WIF secret. Never commit to version control.
SERVICE_IDENTITY_NAME=testidx@
SERVICE_IDENTITY_IADDRESS=i6V4or9qptD5JzxkqgUKz45tvtBNMb72N3
SERVICE_IDENTITY_WIF=YOUR_WIF_HERE
# ---------------------------------------------------------------------------
# Upstash Redis (required for cross-device wallet flow)
# ---------------------------------------------------------------------------
# Create a free REST-API database at https://console.upstash.com.
# Use the REST URL + REST TOKEN (not the native/TCP connection string).
#
# Without these, the app only works same-device (scanning the QR on the same
# device running the browser).
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=