Bonsol Blog Post Header

Bonsol: Infinite Compute for Solana

Solana is a highly capable and performant blockchain offering ultra fast transactions, low fees and a culture that delivers a great on-chain experience. This has established Solana as the preferred chain for daily transactions while also positioning it as a strong contender to become the home of internet capital markets. Although Solana has found strong initial PMF, we believe it is prime to enter its next era of growth. However as the network continues to mature and support increasingly complex applications, it faces inherent limitations in its on-chain computation capabilities. Solana needs a way to handle applications with more expensive logic. To address this challenge, we introduce Bonsol, a verifiable computation framework designed for Solana. Bonsol was built to extend Solana's computation boundaries and to allow developers to outsource complex logic off-chain. By doing this, Bonsol transforms Solana from a place where only certain things are possible, to one where anything is possible.

Understanding Solana's Computational Limits

Solana's speed and efficiency comes with its trade-offs. The network imposes strict constraints on compute and transaction size which limits the kinds of programs it can support. There are proposals like SIMD-256 which propose to raise block CU limits, but they are incremental and likely not enough to support computation-heavy applications in the long term. For example:

These limitations hinder Solana's ability to fully realize its full potential as the backbone of the modern internet and one of the largest, most competitive capital markets in the world. With Bonsol, we aim to introduce a way for Solana applications to easily overcome these limitations by integrating off-chain computation.

What is Bonsol?

Bonsol is a Solana-native verifiable computation framework that allows developers to offload complex computations off-chain while generating cryptographic proofs that can be verified on-chain. It contains a suite of developer tools and a prover network, enabling builders to easily create and deploy verifiable applications with direct integration into a decentralized proof network. Currently supporting the RISC Zero zkVM, the platform plans to integrate more zkVMs in the future. By transforming Solana into a ZK-capable chain, Bonsol combines high-performance computation with scalability. This foundational technology enables privacy-focused, high-complexity use cases without compromising cost efficiency. The mission is to openly develop the most performant, scalable, and decentralized compute platform to usher in the next era of growth on Solana.

What isn't Bonsol?

Bonsol is not a standalone blockchain or a competing L1. It does not replace Solana's core infrastructure but rather extends Solana's computational capabilities beyond its on-chain limitations. Bonsol also isn't a compute provider, but rather coordinates a permissionless set of provers to facilitate the integration of data center-levels of compute directly into Solana.

Key Features

  1. Unlimited Compute Power: By offloading resource-intensive tasks off-chain, Bonsol removes the CU limitations of Solana transactions.
  2. On-Chain Verifiability: Cryptographic proofs ensure that off-chain computations produce succinct, constant-size verifiable programs regardless of their computational complexity.
  3. Native Integration: Bonsol is natively integrated with Solana's ecosystem, allowing developers to enhance existing programs or build entirely new use cases that settle on Solana and leverage Solana resources.
  4. Community-Driven Development: As an open-source project, Bonsol invites developers to contribute, experiment, and innovate.

How Bonsol Works

  1. Deploying Verifiable Programs:
    • Developers define their off-chain logic using a zkVM (we currently support the RISC Zero zkVM, others coming soon 👀).
    • These programs are deployed to Solana via Bonsol CLI and made available to the prover network through execution requests.
  2. Submit Execution Requests:
    • Users interact with the verifiable program and create execution requests containing the logic they would like to execute off-chain.
  3. Proof Claim:
    • Provers in the Bonsol network listen to new requests on-chain and compete to claim the execution requests according to a set of rewards and punishments to incentivize honest behavior.
  4. Proof Generation:
    • Provers execute the off-chain logic and generate STARK proofs.
    • These proofs are then wrapped into Groth16 SNARKs for efficient on-chain verification.
  5. On-Chain Verification:
    • The SNARK proof is submitted to the Solana blockchain for verification.
  6. Callback Instructions:
    • Once verified, the callback instructions specified by the requesting program are executed.
Bonsol In Action

5 Things to Build on Bonsol

Bonsol unlocks a broad spectrum of applications that were previously constrained by on-chain computation limits. Below is an simplified overview of ideas for what can be built on Bonsol today:

Use Case Description Example
Verifiable Agents Fully autonomous, provably secure agents that operate without human intervention. Decentralized, yield-generating trading bots with cryptographic proofs ensuring no tampering.
Storage and Transaction Proofs Prove historical ownership, chain of ownership, or that a specific event occurred on-chain. Verifiable database ensuring data integrity and correctness of historical transaction data.
Provable Game Engines Novel game mechanics by outsourcing simulations or engine logic off-chain. Asynchronous strategy games like Shoshin.gg that rely on off-chain computations.
Private Liquidity Pools Liquidity pools where balances are provable without revealing depositors or traders. Execute private order fills within pools while avoiding slippage entirely through private proofs.
Cross-Chain Activity Proofs Provide trust-minimized proofs of activity between chains to enable secure cross-chain operations. Prove activity on a destination chain before releasing funds on a home-chain during swaps.

Why Use Bonsol?

1. Fast and Cheap

Bonsol uses Groth16 SNARKs for proof generation due to their unique benefits:

2. Native Integration with Solana

Bonsol implements native Groth16 verifiers on Solana, enabling:

3. Incentivized Prover Network

Bonsol's distributed prover network ensures fast execution of zkPrograms through an auction-like mechanism:

Community

Bonsol is a community-driven initiative aimed at fostering innovation within the Solana ecosystem. We drew heavy inspiration from the Optimism Collective, who pioneered a new model of digital democratic governance optimized to drive rapid and sustained growth of a decentralized ecosystem. Similarly, development of Bonsol is 100% open-source and we are starting the Bonsol Collective — a band of people, projects, and companies collaborating to build a stronger ecosystem for Solana and govern the protocol together. The project is currently live on both Mainnet and Devnet, allowing developers to experiment and contribute immediately.

Development Goals

  1. Iterate on mechanism design for practical compute networks.
  2. Seamless DevEx for building cryptographically secure applications.
  3. Unlock a new set of applications and use cases to propel Solana into its next phase of growth.

If you're passionate about shaping the future of decentralized computation and learning how Bonsol can unlock capabilities in your application — get in touch with us here.

Final Thoughts

Our goal is to enable a new paradigm of applications on Solana. Bonsol empowers developers to build anything and everything by bridging the gap between off-chain compute and on-chain verification. As Solana continues its journey of becoming the home of internet-scale capital markets, we are unlocking infinite compute for the next generation of on-chain applications.


Start building on Bonsol today:

Website | Docs | GitHub | X | Telegram