Skip to content

Proposal: optional external route comparison before acp trade signing #99

Description

@odaiin

Pre-trade route comparison proposal

acp trade already provides a strong one-command execution flow across EVM,
Solana, and Hyperliquid. I am not proposing to replace that router.

Would an optional read-only external comparison hook or companion example be
useful before an agent signs an acp trade route?

AssetFare can provide a fresh fee-inclusive quote across Solana, Base,
Arbitrum, and Robinhood Chain without an API key, wallet address, private key,
signature, session, or transaction. The server never signs or submits. An ACP
agent could compare expected receive, conservative minimum, timing, step count,
and non-atomic risk, then continue with the existing ACP route unless the owner
explicitly selects another option.

The independent first call is:

curl -sS https://api.assetfare.dev/v2/quote \
  -H 'content-type: application/json' \
  -d '{"from_chain":"solana","from_token":"SOL","to_chain":"base","to_token":"USDC","amount_usd":1}'

For that exact SOL → Base USDC route, 30 same-input observations favored
AssetFare expected receive over Relay in 30/30 by an average 40 bp. Median quote
latency was 2.07 seconds versus 0.50 seconds. One rate limit and one fail-closed
provider error are disclosed. This is historical evidence, not a best-route
claim:

https://github.com/odaiin/assetfare-mcp/blob/main/evidence/solana-base-usdc-paired-quotes-20260916.md

Public interfaces:

If external pre-trade comparison is in scope, I can build and maintain a
quote-only companion command or skill that consumes no ACP credentials and
never invokes wallet sign, wallet send-transaction, or acp trade. I would
like guidance on the preferred extension point before writing or submitting a
PR.

Disclosure: I maintain AssetFare. An invited test would be classified as an
assisted external pilot, not organic demand.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions