dflow-proof-kyc
БесплатноБез исполняемых скриптовНе проверенIntegrate DFlow Proof — a Solana wallet identity-verification primitive (Stripe Identity under the hood) — for either (a) gating your own app's features…
от x402agent★ 26 звёзд на GitHubОб этом скилле
DFlow Proof
Proof is DFlow's identity-verification primitive for Solana wallets. Stripe Identity verifies the person once; Proof links that verified identity to one or more wallet addresses. Builders query a public endpoint to check status.
There are two reasons to integrate it:
- Self-gating your own app — any product that needs identity-based KYC (jurisdiction-gated DeFi, regulated token sales, identity-attested access, etc.) can use Proof as a ready-made primitive.
- Kalshi PM trading on DFlow — DFlow's Trading API requires Proof for Kalshi prediction-market buys. This skill is also where the matching error handling lives.
Prerequisites
- DFlow docs MCP (
https://pond.dflow.net/mcp) — install per the repo README. This skill is the recipe; the MCP is the reference. Look up the deep-link signing code, the full parameter list, and user-journey diagrams viasearch_d_flow/query_docs_filesystem_d_flow— don't guess. dflowCLI (optional, only relevant for Kalshi-trading use) — install per the repo README.
Part I — Proof as a generic primitive (self-gating)
Use this path when you need KYC for your own app, independent of Kalshi.
Check verification status
GET https://proof.dflow.net/verify/{address} → { "verified": boolean }. Public, no auth. Use it to gate features, to decide whether to show a "Verify me" CTA, or to short-circuit a restricted action.
Redirect the user to verify (deep link)
If the wallet isn't verified, redirect the user to Proof's hosted flow. The deep link carries a signed ownership proof so Proof can link the wallet to the verified identity automatically:
- URL:
https://dflow.net/proof?wallet=<addr>&signature=<sig>×tamp=<ms>&redirect_uri=<url> - Optional:
email,projectId. - Signature: user signs the exact message
Proof KYC verification: {timestamp}(Unix ms, 13 digits) with their wallet; base58-encode the bytes. - Full signing snippet and parameter table → docs MCP, or read directly:
/build/proof/partner-integration.
Handle the return
User lands back on your redirect_uri. Re-query /verify/{address} to confirm status. If verified: true, proceed; otherwise, surface an appropriate "verification pending / failed" message.
Part II — Kalshi PM trading (Trading API enforcement)
DFlow's Trading API enforces Proof only on Kalshi PM buys. Not sells, not redemptions, not spot, not quotes.
Three patterns, each maps to a user intent:
- Proactive UX gate — at session start, call
/verify/{address}, cache the result, and conditionally show the "Buy" button. Best UX; same primitive as Part I. - Reactive fallback — if the proactive check was skipped or is stale,
/orderwill reject unverified buys withunverified_wallet_not_allowed(API) /PROOF_NOT_VERIFIED(CLI). Both error envelopes carrydetails.deepLink— redirect the user straight to it, then retry the buy after they return verified. (The CLI auto-opens the browser itself and prints the deepLink for headless environments.) - Quote-before-KYC — omit
userPublicKeyfromGET /orderto preview pricing without verification. Lets unverified users see what a buy would cost before committing to KYC.
What to ASK the user (and what NOT to ask)
Ask if missing:
- What are they using Proof for? Self-gating their own app / Kalshi PM trading / both.
- Self-gating → only
/verify/{address}+ deep-link flow matters. Skip trade-API error handling. - Kalshi trading → same flow, plus handle
unverified_wallet_not_allowed/PROOF_NOT_VERIFIED+details.deepLinkat/ordertime. - Both → superset of the Kalshi path.
- Wallet pubkey — the address to verify / check.
- App's callback URL (
redirect_uri) — where Proof sends the user after verification. - Web or native mobile — changes the redirect_uri guidance (universal / app links for mobile; see Gotchas).
Do NOT ask about:
- API key —
/verify/{address}is public, no auth. Proof itself has no API key concept. - RPC / signing for trading — that's
dflow-kalshi-trading. This skill just does the verification piece.
Gotchas (the docs MCP won't volunteer these)
- Proof is enforced on Kalshi PM buys, not spot swaps. Don't state "all DFlow trades need KYC" — they don't.
- Buys only, not sells or redemptions. Even on Kalshi, selling an outcome token or redeeming a winner needs no KYC.
- Proof doesn't verify age. Stripe Identity captures name, address, email, and government-issued ID, but Proof does not currently check or expose date-of-birth. Don't use Proof for age gating — you won't get what you need.
- Enforced on both dev and prod. Many agents assume dev is unprotected; it isn't.
- Proof is usable outside Kalshi. Don't default to think
Установить dflow-proof-kyc в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dflow-proof-kyc?
Integrate DFlow Proof — a Solana wallet identity-verification primitive (Stripe Identity under the hood) — for either (a) gating your own app's features behind KYC, or (b) completing the mandatory verification step for Kalshi prediction-market buys on DFlow. Use when the user asks "how do I KYC a wallet?", "check if a wallet is verified", "add KYC to my DeFi app", "handle unverified_wallet_not_allowed / PROOF_NOT_VERIFIED", "redirect to dflow.net/proof", or "gate a feature by jurisdiction or identity". Do NOT use to actually place trades (use `dflow-kalshi-trading`), for geoblocking (separate concern, handled inline in the trading skill), for age gating (Proof doesn't currently verify age), or for spot swaps (no KYC required).
Как установить скилл dflow-proof-kyc?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dflow-proof-kyc запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic