Thank to the power of Solana and Pinocchio, we create a program that enables decentralized intent-based trading on the Solana blockchain.
- Stateless order
- Orders are represented as intents without storing state on-chain.
- This reduces on-chain storage costs and increases scalability.
- 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.
- 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
cargo build-bpf- Test
cargo test-sbf- Initialize order
- Create a new intent-based order
- Cancel order
- Cancel an existing order
- Fulfill order
- Fulfill an existing order