OpenViSTAI · Agents · Blockchain · Crypto
Menu
DeFi

Profit Protect Program

Profit Protect Program is a native Rust Solana program that checks whether an arbitrage transaction meets a caller-specified minimum-profit threshold. Used with an off-chain arbitrage application, it rolls back the transaction when calculated profit is below that threshold.

Independent OpenViST project profile, based on linked sources.

Profit Protect Program — OpenViST project profile in DeFi.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a Solana arbitrage application needs an on-chain profit threshold check to guard against price changes between identifying an opportunity and submitting the trade.

Who it is for

  • Developers building off-chain arbitrage applications that submit transactions on Solana.
  • Solana integrators who need a minimum-profit check within an arbitrage transaction flow.

Documented uses

  • Set a minimum acceptable profit for an arbitrage transaction.
  • Pass the threshold and starting balance to the program as instruction data.
  • Revert a transaction when the checked profit is below the threshold.
  • Review transaction logs to distinguish successful checks from failed threshold checks.
Before you choose

Requirements & limits

  • It is a transaction-checking program, not an arbitrage discovery tool or standalone bot.
  • The integration passes min_profit and current_balance as u64 values and requires the specified accounts, including a signing payer.
  • The checked account supports native SOL or wrapped SOL, according to the repository instructions.
  • The program uses native Rust rather than Anchor.
  • Fee collection is not enabled by default; adding it requires developer work to validate the fee-recipient account.

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 and deploy the Solana program

Compile the repository’s Rust program and deploy it to the Solana network selected in the Solana CLI configuration.

Before you start

  • The project repository and its Makefile
  • Solana CLI configuration for the intended network, with a keypair configured
  • SOL to pay deployment costs

Steps

  1. Configure the Solana CLI for the network where the program should be deployed.

  2. Run the command below from the repository; the documented output is a target/deploy directory containing the compiled .so file and a program-account JSON file.

    Documented command
    make build
  3. Run the command below to deploy to the configured Solana network.

    Documented command
    make deploy

Expected outcome

A compiled program artifact and, after deployment, a program deployed to the configured Solana network.

Guide limitations

  • Deployment costs SOL.
  • The documented commands cover compilation and deployment, not construction or execution of a complete arbitrage transaction.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 October 2026
Original website title
cfanbo/profit_protect_program · Official homepage title · retained in its source language