dflow

Integrate Solana trading with the DFlow SDK for swaps and market data.

116|9|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/elophanto/EloPhanto --skill dflow-elophanto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dflow
Source: https://github.com/elophanto/EloPhanto/tree/main/skills/dflow-trading
Command: npx skills add https://github.com/elophanto/EloPhanto --skill dflow-elophanto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a single, unified API surface and developer experience to integrate DFlow across spot trading, prediction markets, and data services on Solana.

Core Features & Use Cases

  • Complete DFlow trading protocol SDK with Swap API, Metadata API, and WebSocket streaming.
  • End-to-end trading workflows including quotes, transactions, and order status monitoring.
  • Real-world scenario: rapidly build a dashboard that places a swap, subscribes to live price data, and tracks async orders until settlement.

Quick Start

Integrate the DFlow trading SDK into your Solana project and run a simple test trade in a devnet environment.

Frequently Asked Questions about dflow

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

FAQPage Schema
How do I integrate Solana trading with a single API surface for spot and prediction markets?

Integrating Solana trading involves loading operational instructions from a configuration file to access Swap, Metadata, and WebSocket APIs for spot and prediction markets. This provides a unified developer experience for quotes, transactions, and order tracking.

Can I stream live price data and track async orders on Solana?

Yes, you can stream live price data and track async orders using the built-in WebSocket streaming and order status monitoring features. This allows you to subscribe to real-time market updates and follow transactions until settlement.

What is needed to build a dashboard that places swaps and subscribes to live market data?

Building a trading dashboard requires the DFlow SDK to handle the integration of swap execution, WebSocket live data streaming, and asynchronous order status tracking. You load its metadata and instructions to initiate these end-to-end workflows.

Does the DFlow trading SDK support devnet environments for testing trades?

Yes, the DFlow trading SDK supports devnet environments, allowing you to integrate the protocol into your Solana project and run simple test trades safely before deploying to production.

How do I query prediction market metadata on Solana?

You query prediction market metadata by utilizing the SDK's dedicated Metadata API, which provides a unified interface for retrieving market data and integrating it into your Solana trading applications.