百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

autobahn

> 开发工具
开源

Solana 上的 Dex 聚合器

374 stars0 点赞4 次浏览
访问官网GitHub

工具介绍

Solana 上的 Dex 聚合器

Fill.city Autobahn

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.

Using the router (as a client)

Basically it is the same API as Jupiter: https://autobahn.mngo.cloud//

quote (GET)

Supported parameters:

  • inputMint
  • outputMint
  • amount
  • slippageBps
  • maxAccounts
  • onlyDirectRoutes

swap & swap-instructions (POST)

Supported parameters:

  • userPublicKey
  • wrapAndUnwrapSol
  • autoCreateOutAta
  • quoteResponse

Running the router

See example configuration file example-config.toml to create your own setup

Run like this:

RUST_LOG=info router my_config.toml

Creating a new DEX Adapter

Adding new DEX adapter is welcome, you can do a pull-request, it will be appreciated !

See CreatingAnAdapter.MD file for details.

Integration testing

It's possible to dump data from mainnet, and then use that in tests:

  • To assert quoting is correct (same result as simulated swap)
  • To check router path finding perfomance

See Testing.MD file for details.

There's a script for daily smoke tests:

RPC_HTTP_URL=... ./scripts/smoke-test.sh

Tokio-Console

Build 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

License

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· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustdex-aggregatorliquidity-providerssolanaswap

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具