Solana 上的 Dex 聚合器
Autobahn is the open source aggregator for swaps on Solana. This public good protocol enables developers to contribute their own DEX adapters. Take back control: access to orderflow from routers on Solana should not be centralized.
The graph search is optimized for reliability of trade execution. Reliability is preferred over marginal price to improve user experience. Full test coverage through daily verification of all routed pools ensures correctness.
A hosted version is available. Reach out to [email protected] to get an access token. Self-hosting requires custom validator patches to enable low-latency account subscriptions.
Basically it is the same API as Jupiter:
https://autobahn.mngo.cloud//
Supported parameters:
Supported parameters:
See example configuration file example-config.toml to create your own setup
Run like this:
RUST_LOG=info router my_config.tomlAdding new DEX adapter is welcome, you can do a pull-request, it will be appreciated !
See CreatingAnAdapter.MD file for details.
It's possible to dump data from mainnet, and then use that in tests:
See Testing.MD file for details.
There's a script for daily smoke tests:
RPC_HTTP_URL=... ./scripts/smoke-test.shBuild router with feature tokio-console and RUSTFLAGS="--cfg tokio_unstable" like this:
RUSTFLAGS="--cfg tokio_unstable" cargo build --bin router --release --features tokio-console
And use the tokio-console crate to display running tasks
Autobahn is published under GNU Affero General Public License v3.0. In case you are interested in an alternative license please reach out to [email protected]
暂无开放 Issues,或尚未同步最近议题。