-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
49 lines (39 loc) · 1.96 KB
/
.env.example
File metadata and controls
49 lines (39 loc) · 1.96 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
# ============================================================
# StellarSettle – Deployment environment variables
# Copy this file to .env and fill in your values.
# NEVER commit your real .env file to version control.
# ============================================================
# ----- Stellar network -----
# Use "testnet", "mainnet", or "futurenet"
STELLAR_NETWORK=testnet
# ----- Deployer identity -----
# Secret key of the account that signs and pays for deployment.
# Starts with 'S' (e.g. SXXXXX…)
STELLAR_SECRET_KEY=SXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# Public key matching STELLAR_SECRET_KEY (starts with 'G').
# Used as the admin address for all contracts.
ADMIN_PUBLIC_KEY=GXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# ----- Platform fee -----
# Fee in basis points (100 bps = 1%). Default: 300 = 3 %
PLATFORM_FEE_BPS=300
# ----- Invoice Token metadata -----
# Human-readable name for the SEP-41 invoice token
INVOICE_TOKEN_NAME="StellarSettle Invoice Token"
# Ticker symbol for the invoice token (max 12 chars recommended)
INVOICE_TOKEN_SYMBOL=SSINV
# Decimal places for the invoice token (7 matches Stellar native asset)
INVOICE_TOKEN_DECIMALS=7
# Invoice identifier used when initialising the token contract.
# Must be a valid Soroban Symbol (≤32 chars, alphanumeric + underscore).
INVOICE_TOKEN_INVOICE_ID=INV001
# ----- WASM build output paths -----
# Relative to the repo root (adjust if you use a custom release profile).
WASM_INVOICE_ESCROW=target/wasm32-unknown-unknown/release/invoice_escrow.wasm
WASM_INVOICE_TOKEN=target/wasm32-unknown-unknown/release/invoice_token.wasm
WASM_PAYMENT_DISTRIBUTOR=target/wasm32-unknown-unknown/release/payment_distributor.wasm
# ----- (Optional) Pre-deployed contract IDs -----
# Leave blank to let the scripts deploy fresh contracts.
# If set, the deploy step is skipped and only `initialize` is called.
INVOICE_ESCROW_CONTRACT_ID=
INVOICE_TOKEN_CONTRACT_ID=
PAYMENT_DISTRIBUTOR_CONTRACT_ID=