Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
# API base URL
# das-allways read API base URL (swaps, reservations, miners, sse)
VITE_REACT_APP_BASE_URL=http://localhost:9081

# swap-api base URL — wraps the alw CLI swap flow over HTTP (spec §6).
# In dev, the FastAPI app from `allways/swap_api/` runs on :8000.
VITE_SWAP_API_URL=http://localhost:8000

# Optional: WS endpoint for direct subtensor calls (used by the in-browser
# claim-slash flow). Defaults to the local dev subtensor.
VITE_SUBTENSOR_WS_URL=ws://localhost:9944

# Ink! contract address — the browser claim flow targets this via
# `contracts.call(<addr>, …, <selector + swap_id>)`. Mainnet default lives
# in `allways/constants.py::CONTRACT_ADDRESS`; override per environment.
VITE_CONTRACT_ADDRESS=5DjJmTpcHZvF3aZZEafKBdo3ksmdUSZ8bBBUSFhW3Ce3xf1J
Loading
Loading