forked from ZyntariHQ/Invoisio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (33 loc) · 1.76 KB
/
Copy path.env.example
File metadata and controls
41 lines (33 loc) · 1.76 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
DATABASE_URL=postgres://postgres:postgres@localhost:5432/invoisio_db?schema=public
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=password
DATABASE_NAME=invoisio_db
DATABASE_SYNC=true
DATABASE_LOAD=true
JWT_SECRET='ci-only-not-a-real-secret-0123456789abcdef'
# ── Stellar Network Configuration ────────────────────────────────────────────
# Horizon URL - Use testnet for development, mainnet for production
HORIZON_URL=https://horizon-testnet.stellar.org
# Network Passphrase - Testnet or Mainnet
# Testnet: "Test SDF Network ; September 2015"
# Mainnet: "Public Global Stellar Network ; September 2015"
STELLAR_NETWORK_PASSPHRASE="Test SDF Network ; September 2015"
# Merchant Stellar Public Key (G-address)
MERCHANT_PUBLIC_KEY=
# USDC Token Configuration
USDC_ISSUER=GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN
USDC_ASSET_CODE=USDC
# Memo prefix for invoice identification
MEMO_PREFIX=invoisio-
# Horizon poll interval in ms (for payment watcher)
HORIZON_POLL_INTERVAL=15000
# ── Soroban contract integration ─────────────────────────────────────────────
# Soroban RPC endpoint (testnet default shown)
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
# Deployed contract ID — from soroban/contracts/invoice-payment/.contract-id
SOROBAN_CONTRACT_ID=CXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# Admin secret key registered during contract initialize() — required for write operations
# WARNING: treat this as a production secret; never commit a real key
ADMIN_SECRET_KEY=SXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX