OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Solcpp

Solcpp is a C++ SDK for interacting with Solana and Mango Markets, with examples for account-data access, transaction submission, trading, account-update subscriptions and account-health calculations.

Independent OpenViST project profile, based on linked sources.

Solcpp — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when implementing a C++ application that needs Solana RPC access or Mango Markets workflows, and when the provided examples are a useful starting point for your integration.

Who it is for

  • C++ developers building applications that interact with Solana.
  • Developers implementing Mango Markets trading or account workflows in C++.

Documented uses

  • Fetch and decode Solana account information through an RPC connection.
  • Construct, sign and submit a Solana transaction.
  • Place Mango perpetual orders and subscribe to account updates such as fills.
  • Build complex Mango transactions, including atomic cancel-and-replace.
  • Calculate Mango account health using account, group and cache data.
Before you choose

Requirements & limits

The repository is public on GitHub. The README documents a local Conan and CMake build.

  • The Mango Markets SDK is header-only and depends on libsol, the Solana SDK component.
  • The README specifies C++17 for the Mango SDK and uses Conan for dependencies and CMake for building.
  • Transaction submission requires application-provided RPC details and signing credentials.
  • The documented build instructions flag possible curl and cpr issues on some compiler setups.

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

Build Solcpp and run the transaction example

Prepare a local build and invoke the documented send-transaction example.

Before you start

  • C++17 compiler
  • Conan
  • CMake
  • Project dependencies installed through Conan
  • Solana RPC URL, fee payer and keypair file for using the transaction example

Steps

  1. Clone the repository and create a detected Conan default profile.

  2. Create a build directory, then run the documented Conan install command with the listed Boost options.

  3. Configure with CMake using the Unix Makefiles generator and Release build type, then build.

  4. Run the documented tests command or invoke the example-send-transaction binary.

Expected outcome

A local build is prepared, and the documented transaction example can be invoked; its code fetches a blockhash, assembles and signs a transaction, and submits it through an RPC connection.

Guide limitations

  • The README notes possible libcurl build issues with gcc-9 and cpr linking issues on Linux gcc.
  • The example requires suitable RPC connection details and a keypair file; running it submits a transaction.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
18 October 2026
Original website title
mschneider/solcpp · Official homepage title · retained in its source language