.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
VITE_MARKETPLACE_API_URL
Service endpoints
VITE_DISCLOSURE_HOST_URL
MARKETPLACE_API_URL
CAPSULE_MARKETPLACE_API_URL
CAPSULE_DISCLOSURE_HOST_URL
WALRUS_SITE_CONTEXT
WALRUS_SITE_EPOCHS
MARKETPLACE_PORT
DISCLOSURE_HOST_PORT
PROTOCOL_MODE
demo uses local memory and no on-chain transactions. testnet requires permanent Walrus storage plus a server-side Sui signer.
STORAGE_DRIVER
WALRUS_PUBLISHER_URL
WALRUS_AGGREGATOR_URL
WALRUS_EPOCHS
WALRUS_AUTH_TOKEN
secret
DATABASE_URL
secret
Optional persistent marketplace repository.
DATABASE_DRIVER
RECONCILIATION_INTERVAL_MS
Positive values enable periodic read-only Sui reconciliation; 0 is manual only.
SUI_NETWORK
Server-only Sui signing. Never prefix the private key with VITE_ or commit .env.
SUI_RPC_URL
brew install flyctl && fly launch --from https://github.com/0xr10t/capsule
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/0xr10t/capsule
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/0xr10t/capsule