-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
51 lines (41 loc) · 1.68 KB
/
.env.example
File metadata and controls
51 lines (41 loc) · 1.68 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
# CompZ SDK Environment Configuration
# Copy this file to .env and configure for your environment
# ============================================
# Zcash RPC Configuration (Self-Hosted Mode)
# ============================================
# Required for anchoring transactions to your own Zcash node
#ZCASH_RPC_URL=http://localhost:18232
#ZCASH_RPC_USER=compz
#ZCASH_RPC_PASS=your_secure_password_here
# ============================================
# Zcash Wallet Configuration
# ============================================
# Your shielded z-address for transactions
#ZCASH_DEFAULT_ADDRESS=ztestsapling1...your_z_address_here...
# Network selection (true for testnet, false for mainnet)
#ZCASH_TESTNET=true
# ============================================
# Optional: Read-Only Verification
# ============================================
# For verifying transactions without running a full node
#ZCASH_VIEWING_KEY=zxviews1...your_viewing_key_here...
# ============================================
# Optional: Custom Demo Endpoint
# ============================================
# Override the default demo gateway URL
#COMPZ_DEMO_ENDPOINT=https://api.compz.dev
# ============================================
# Quick Start Guide
# ============================================
# 1. Local mode (no config needed):
# - Hashing and normalization work out of box
# - No blockchain anchoring
#
# 2. Self-hosted mode:
# - Uncomment ZCASH_RPC_* variables above
# - Set up Zcash node (see BLOCKCHAIN_SETUP.md)
# - Run: compz anchor examples/compliance_result.json
#
# 3. Read-only verification:
# - Set ZCASH_VIEWING_KEY for blockchain verification
# - Use Zashi wallet for sending: compz pay <file> --qr