Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
51 lines (43 loc) · 2.45 KB
/
Copy path.env.example
File metadata and controls
51 lines (43 loc) · 2.45 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
# Sphere backend (sphere-quest) — marketplace, user installed-apps, auth
VITE_SPHERE_API_URL=http://localhost:3001
# Developer Portal — "Open developer portal" / "Submit your project" CTAs link here
VITE_DEV_PORTAL_URL=https://developers.staging.unicity.network/
# Aggregator (state-transition gateway) API key.
# The testnet2 value below is NOT a secret — safe to keep here and in docs.
# For mainnet this MUST be a real secret: set it only in the deploy env, never commit it.
VITE_AGGREGATOR_API_KEY=sk_ddc3cfcc001e4a28ac3fad7407f99590
# wallet-api backend (S4 provider swap). When set, the ASSET path rides the
# wallet-api backend (server inventory custody + mailbox delivery + §16
# payment requests); messaging/DMs/nametags stay on Nostr. Unset → the legacy
# local-custody composition. Relative values resolve against the app origin
# and are served by the dev/preview proxy, which forwards them to
# WALLET_API_PROXY_TARGET (default http://127.0.0.1:3000 — the wallet-api
# repo's `docker compose -f docker-compose.dev.yml up --build --wait` stack).
# Absolute https URLs pass through unchanged — the staging backend serves
# wildcard CORS, so it works cross-origin without the proxy. This is the
# value the GitHub Pages branch deploys bake in at build time (see
# .github/workflows/deploy-pages-branch.yml):
#VITE_WALLET_API_URL=https://wallet-api.staging.unicity.network
VITE_WALLET_API_URL=/wallet-api
# Composition assert (#351). Set on deployments that INTEND wallet-api
# custody (the Pages workflow sets it next to VITE_WALLET_API_URL): when
# truthy ('false'/'0' count as unset) and VITE_WALLET_API_URL is missing or
# empty, provider composition throws instead of silently falling back to the
# legacy local-custody bundle — a missing URL would change the custody model,
# not just degrade a feature. Leave unset for intentionally legacy builds.
#VITE_REQUIRE_WALLET_API=true
# LOCAL dev-stack engine override (used by the two-profile smoke): point the
# v2 token engine at the mock aggregator AND the trustbase that same gateway
# serves. Set BOTH or neither — never mix a gateway with another network's
# trustbase. Relative values ride the dev/preview proxy
# (AGGREGATOR_PROXY_TARGET, default http://127.0.0.1:3001).
#VITE_AGGREGATOR_URL=/local-agg
#VITE_TRUSTBASE_URL=/local-agg/trustbase.json
# Welcome DM
VITE_WELCOME_AGENT_NAMETAG=kbbot
VITE_WELCOME_DELAY_MS=4000
# Dev server HTTPS (optional)
SSL_CERT_PATH=
HMR_HOST=
# Deployment base path
BASE_PATH=/