feat: optional Flashnet Orchestra pay-in and payout rails - #128
Open
ethanmarcuss wants to merge 2 commits into
Open
feat: optional Flashnet Orchestra pay-in and payout rails#128ethanmarcuss wants to merge 2 commits into
ethanmarcuss wants to merge 2 commits into
Conversation
Keep native solana:USDC intact and convert only at the edges so checkout can take Cash App or other stables and payouts can leave Solana without changing the ledger. Co-authored-by: Cursor <cursoragent@cursor.com>
…checkout Drive pay-in/payout pairs from the live route table, show a desktop Cash App QR, and keep auth rate limits from colliding with checkout polling. Co-authored-by: Cursor <cursoragent@cursor.com>
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
solana:USDCcheckout is unchanged.GET /v1/orchestration/routes(6-decimal USDC/USDT that route both ways withsolana:USDC). Optimism USDT is omitted because Flashnet only routes it to BTC/Lightning/Spark.solana:USDC → dest, fund Orchestra's deposit address with the existing Solana transfer, then stayin_transituntilPOST /v1/payouts/:id/sync.fn_). Checkout never talks to Flashnet. Simulated Solana can still use live Cash App when a key is set.Why this shape
Ledger stays USDC.sol. Convert only at the Flashnet edge. Subscriptions stay Solana-wallet only.
Demo (no Flashnet credentials)
ORCHESTRA_API_KEYunset. Test mode already uses simulated settlement./c/{slug}— picker: Solana wallet, Cash App, Other chain.Live
Cash App onramps require at least $1.00. Details in
docs/orchestra.md.Test plan
npx nx test apinpx nx test webfn_key: Cash App onramp dest is the platform Solana USDC wallet; Other chain list matches Flashnet routes; quote poll uses/v1/orchestration/status