dflow

Integrate the DFlow trading protocol SDK for Solana spot and prediction markets.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kiran-nebula/agentshaus --skill dflow-kiran-nebula
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dflow
Source: https://github.com/kiran-nebula/agentshaus/tree/main/packages/agent-runtime/workspace/skills/sendaifun/dflow
Command: npx skills add https://github.com/kiran-nebula/agentshaus --skill dflow-kiran-nebula

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a comprehensive SDK for integrating with the DFlow trading protocol on Solana, enabling seamless trading across spot and prediction markets.

Core Features & Use Cases

  • Complete Trading Protocol SDK: Integrates spot trading, prediction markets, Swap API, Metadata API, WebSocket streaming, and DFlow tools.
  • Automated Swaps: Execute token swaps with advanced routing and MEV protection.
  • Prediction Market Integration: Trade outcome tokens for prediction markets.
  • Use Case: An application can use this Skill to allow users to swap any SPL token on Solana with optimal pricing and low slippage, or to build a platform for trading on future events.

Quick Start

Use the dflow skill to swap 1 SOL for USDC with 0.5% slippage.

Frequently Asked Questions about dflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute token swaps on Solana with MEV protection?

You can execute Solana token swaps with MEV protection by using the DFlow trading protocol SDK, which supports custom routing and automated swaps to minimize slippage and secure optimal pricing across spot markets.

What are prediction markets on Solana and how do I trade outcome tokens?

Prediction markets on Solana allow trading outcome tokens for future events. The DFlow SDK integrates this functionality, enabling applications to build platforms where users can trade on event predictions directly through supported APIs.

How do I access real-time Solana trading data via WebSockets?

Access real-time Solana trading data via WebSockets using the DFlow SDK's streaming API, which provides live market updates and metadata feeds for spot trading and prediction markets directly from the protocol.

Can I swap any SPL token on Solana using a single SDK?

Yes, you can swap any SPL token on Solana using the DFlow SDK. It provides complete trading protocol integration covering spot markets with advanced routing and low slippage capabilities.

Does the DFlow SDK support both imperative and declarative swap modes?

Yes, the DFlow SDK supports both imperative and declarative swap modes for executing Solana token swaps, allowing developers to choose between explicit instruction-based routing or automated optimal path execution.