-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (45 loc) · 2.39 KB
/
Copy path.env.example
File metadata and controls
54 lines (45 loc) · 2.39 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
# vtimestamp Environment Configuration
# Copy this file to .env and fill in the values
# NEVER commit .env to git - it contains secrets
# =============================================================================
# Service Identity (for signing login challenges)
# =============================================================================
# The VerusID that identifies this service to users' wallets
# Testnet: i-address of your testnet identity
# Mainnet: i-address of your production identity
SERVICE_IDENTITY_NAME=i-address
# WIF (Wallet Import Format) private key for the service identity
# Get it from: ./verus -chain=vrsctest dumpprivkey <primary_address>
# where <primary_address> is from: ./verus -chain=vrsctest getidentity testidx@
SERVICE_IDENTITY_WIF=wif_key
# =============================================================================
# Network Configuration
# =============================================================================
# Network: 'testnet' or 'mainnet'
# PUBLIC_ prefix makes this available to client-side code
PUBLIC_VERUS_NETWORK=testnet
# URL of the other network's deployment (for "Switch to Mainnet/Testnet" link)
# Leave empty or omit to hide the switch link
PUBLIC_SWITCH_NETWORK_URL=
# Optional: Override the RPC endpoint list
# Comma-separated URLs, tried in order on network errors. Whitespace trimmed,
# empty entries dropped. RPC errors (-5 not found, -32601 method not
# whitelisted) are NOT retried — they're authoritative responses.
#
# Defaults if unset:
# mainnet → https://rpc.vrsc.syncproof.net , https://api.verus.services
# testnet → https://api.verustest.net
#
# Examples:
# Add a third public mainnet endpoint after the two defaults:
# VERUS_RPC_ENDPOINTS=https://rpc.vrsc.syncproof.net,https://api.verus.services,https://my-other-rpc.example
# Point at a local vrsctest daemon (required for encrypted reads on testnet,
# since no public testnet endpoint has decryptdata):
# VERUS_RPC_ENDPOINTS=http://127.0.0.1:18843
# VERUS_RPC_ENDPOINTS=
# =============================================================================
# CMM Encryption
# =============================================================================
# Write timestamps as public-encrypted (flags:13) entries. Default. Unset or
# 0/false/no falls back to legacy plaintext writes; the reader handles both.
USE_ENCRYPTED_CMM=1