Repository navigation
Feature/live demo - #5
Merged
Merged
Conversation
- Demo wallet: a throwaway testnet key per tab, used only to sign the sign-in challenge, so reviewers can try the full flow without Freighter. A missing Freighter now shows a helpful error. - Mode banner driven by /api/config (sealing: onchain|dev-ledger, settlement: onchain|simulated, validator_mode). Simulated settlement no longer records a fake amount_out. - Per-IP rate limits on sign-in and order submission, plus TRUST_PROXY for correct client IPs behind a proxy. - Docker: one backend image for the API, validators and cluster bootstrap. docker-compose runs 5 validator containers, each mounting only its own key directory, plus the backend and an nginx frontend. Validators use port 7700 because fetch() refuses 6000 (WHATWG bad ports). nginx re-resolves the backend so restarts don't cause 502s. - render.yaml blueprint (API + static app), and Vercel/Netlify SPA routing. - CI builds the Docker images. Verified on the compose stack: DKG over the Docker network; orders settle via nginx with all 5 validators, with 3 of 5, and after a backend restart; they fail cleanly with 2 of 5.
docs/DEPLOY.md covers Render, Vercel/Netlify, and Docker Compose, plus enabling on-chain sealing with a fresh order-vault admin key. The README gains a Try it section. Contributor issues: TLS between coordinator and validators, and a shared rate-limit store.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docker compose up --buildruns the full system: 5 validator containers, each with only its own key, plus the backend and nginx frontend.Verified on the compose stack