OpenViSTAI · Agents · Blockchain · Crypto
Menu
Exchanges & Trading

Solgrid.pumpfun

Solgrid.Pumpfun is a C#/.NET SDK for interacting with pump.fun bonding-curve programs and PumpSwap pools on Solana. It reads coin and pool state, calculates quotes, builds buy and sell instructions, routes trades according to coin migration, and exposes trade and migration streams.

Independent OpenViST project profile, based on linked sources.

Solgrid.pumpfun — OpenViST project profile in Exchanges & Trading.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when building C# software that needs pump.fun or PumpSwap transaction construction, trade routing, state access, quote calculations, or pump.fun trade and migration monitoring.

Who it is for

  • C#/.NET developers building Solana trading bots or custom trading applications.
  • Developers creating trade-monitoring services or quote and pool-analysis tools.
  • Teams that need pump.fun or PumpSwap instructions within their own software.

Documented uses

  • Read coin state and calculate a prospective buy quote.
  • Build or submit buy and sell transactions across pump.fun versions and PumpSwap routes.
  • Monitor pump.fun curve trades and coin migrations through a WebSocket stream.
  • Calculate bonding-curve or constant-product pool values for analysis.
  • Construct transaction instructions for custom applications.
Before you choose

Requirements & limits

The repository is public and identifies the project as open source under the MIT license. The documented transaction flow uses a caller-provided Solana RPC client and signs locally with an account key.

  • The client routes migrated coins through PumpSwap and selects pump.fun v1 or v2 according to the quote mint.
  • Transaction signing is local; sending uses the RPC client supplied by the application.
  • TradeStream currently subscribes to the pump.fun program only, so it does not stream PumpSwap fills.
  • The README reports that WebSocket notification delivery varied by provider in the author’s tests.
  • The SDK is C#/.NET software intended for integration into developer-built applications, rather than a standalone trading interface.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Buy a coin through the SDK

Read coin state, quote a purchase, and submit a buy through the SDK.

Before you start

  • A C#/.NET project using Solgrid.Pumpfun.
  • A Solana RPC client endpoint.
  • A signing account whose secret key is read locally from a file.
  • The coin mint to trade.

Steps

  1. Create an RPC client with ClientFactory.GetClient and construct PumpClient with that client and an account loaded from a secret-key file.

  2. Retrieve the coin state with GetCoinStateAsync(mint).

  3. Get a token quote with QuoteBuyTokensAsync(state, amountIn); the example uses 100_000_000 for 0.1 SOL.

  4. Call BuyAsync(mint, amountIn, slippageBps: 500, cuPrice: 500_000) to submit the purchase; the SDK selects v1 or v2 and routes migrated coins through PumpSwap.

Expected outcome

The SDK returns a success flag, error value, and transaction signature from the buy call; it handles program selection and migration routing.

Guide limitations

  • The example does not document how to install or configure the SDK or obtain an RPC endpoint and signing key.
  • Transactions are signed locally and sent through the RPC client provided by the caller.
Source-based practical guide

Stream pump.fun trades and migration events

Subscribe to the documented trade and migration events using the SDK's streaming client.

Before you start

  • A C#/.NET project using Solgrid.Pumpfun.
  • A WebSocket RPC endpoint.

Steps

  1. Create a streaming client with ClientFactory.GetStreamingClient using the WebSocket endpoint.

  2. Construct a TradeStream from the streaming client.

  3. Register handlers for Trade and Migration events to process trade details and migration pool information.

  4. Start the stream with StartAsync().

Expected outcome

The stream reports pump.fun curve trades and coin migrations to the registered handlers.

Guide limitations

  • The stream subscribes only to the pump program; PumpSwap fill events are not delivered because the second subscription is not wired, although an AmmSwapEvent decoder exists.
  • The README reports that one Alchemy WebSocket endpoint confirmed subscriptions but did not deliver notifications in its tests; it recommends testing the WebSocket provider.
COMPARE OPTIONS

Compare options for DEX swap integration

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
Solgrid.pumpfunRead coin state and calculate a prospective buy quote.ServerThe repository is public and identifies the project as open source under the MIT license. The documented transaction flow uses a caller-provided Solana RPC client and signs locally with an account key.
VIA SDKFind swap or bridge routes using source and destination chains, token addresses, and an amount.WebThe package is installed through npm and the documented client uses an API key. The README says the default key is limited to one request per second per IP and directs developers seeking higher limits to contact VIA.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
solgrid-development/Solgrid.Pumpfun · Official homepage title · retained in its source language