Skip to content

Title: Add DFlow integration cookbook page#570

Open
lukecd wants to merge 1 commit intotkhq:mainfrom
lukecd:dflow-cookbook
Open

Title: Add DFlow integration cookbook page#570
lukecd wants to merge 1 commit intotkhq:mainfrom
lukecd:dflow-cookbook

Conversation

@lukecd
Copy link

@lukecd lukecd commented Feb 25, 2026

  • Adds a new cookbook page (cookbook/dflow.mdx) covering DFlow integration with Turnkey wallets on Solana
  • Covers spot token swaps via the /order endpoint with imperative trade flow (request, sign, submit)
  • Covers prediction market trading: discovering markets via the Metadata API, buying outcome tokens, monitoring async trades, selling before resolution, and redeeming after settlement
  • Includes callouts for liquidity (CLP/IOC behavior) and settlement mint matching
  • Briefly introduces Proof KYC and geoblocking requirements for prediction markets, linking out to DFlow docs for details
  • Updates docs.json to add the new page to the Cookbook navigation group

Covers spot token swaps and prediction market trading via DFlow APIs,
with Turnkey wallet signing. Includes market discovery, async order
monitoring, selling positions, and redemption after settlement.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant