Skip to content

zolver-solana/program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

High performance intent-based trading program on Solana

Build and Test

Thank to the power of Solana and Pinocchio, we create a program that enables decentralized intent-based trading on the Solana blockchain.

Design

  1. Stateless order
  • Orders are represented as intents without storing state on-chain.
  • This reduces on-chain storage costs and increases scalability.
  1. Dutch auction mechanism
  • Orders are fulfilled using a Dutch auction mechanism.
  • This allows for dynamic pricing based on market demand.
  • Solvers can compete to fulfill orders at the best price and timing.
  1. Decentralized fulfillment
  • Any participant can act as a solver to fulfill orders.
  • This promotes decentralization and reduces reliance on centralized entities.
  • Order will be published on-chain, and solvers can monitor and fulfill them.

Build and test

  1. Build
cargo build-bpf
  1. Test
cargo test-sbf

Entrypoint

  1. Initialize order
  • Create a new intent-based order
  1. Cancel order
  • Cancel an existing order
  1. Fulfill order
  • Fulfill an existing order

About

High performance intent-based trading program on Solana (using Pinocchio)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages