Modular Solana Meta-Aggregator
The repository is very much a work in progress.
Magnus
Magnus is a modular Solana aggregator aimed at unifying the components required to integrate with any of the liquidity sources deployed on Solana. This includes AMMs, Prop AMMs, and adjacent Aggregators.
The implementation aims to be discrete enough to work both as a standalone, runnable binary, and a plug-and-play framework.
The system is made up of two core components:
- magnus - the offchain service that aggregates account state in real-time, computes predefined strategies and sends tailored transactions (or bundles).
- router - the onchain router program that facilitates the swaps.
- HumidiFi
- SolFiV2
- ObricV2
- ZeroFi
- TesseraV
- GoonFi
- Raydium (Constant Product)
- Raydium (Concentrated Liquidity)
Check out pmm-sim if you're interested in simulating and/or benchmarking swaps across any of the proprietary AMMs.
The aggregator exposes the following endpoints used to trigger a quote or swap:
=> /api/v1/quote
=> /api/v1/swap
The API Server's endpoints docs can be found once the aggregator's been span-up, at 0:0:0:0:19000.
License: MIT