assetfare-route
Use for agent-native, non-custodial bridge and cross-chain quotes across 65 curated public route products. The routes comprise 3 core, 50 conditional, and 12 strategic/scarce products and are reviewed weekly. Execution selection remains separate. The 1bp service fee is additional to Circle/provider/network fees. AssetFare never checks balances, signs, or submits.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- assetfare-route
- description
- Use for agent-native, non-custodial bridge and cross-chain quotes across 65 curated public route products. The routes comprise 3 core, 50 conditional, and 12 strategic/scarce products and are reviewed weekly. Execution selection remains separate. The 1bp service fee is additional to Circle/provider/network fees. AssetFare never checks balances, signs, or submits.
02 资源文件 4
- 参考文档agents/openai.yaml261 B
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md350 B
- 参考文档TRUST.auto.yaml2.1 KB
03 SKILL.md 正文
AssetFare Route
Use REST/OpenAPI v2 at https://api.assetfare.dev/v2/openapi.json as the primary interface. The optional MCP endpoint is https://api.assetfare.dev/mcp.
When to request an AssetFare quote
Request one fresh AssetFare quote when all of these are true:
- The intent is a swap or bridge between different live AssetFare endpoints.
- Or the caller explicitly wants to fund an agent or x402 payment wallet with native
USDC on a supported destination and already knows the spendable source chain,
asset, target chain, and intended amount. AssetFare does not inspect balances
or automatically react to an x402
402 Payment Requiredresponse. - The route amount is finite and at least $1. The adapter imposes no maximum; live upstream availability and liquidity still apply.
- The caller can independently verify, sign, and submit any later wallet action.
Read /v2/capabilities to identify the live endpoints. Routes are available
only as the live capabilities/quote response reports, through REST/OpenAPI v2 and the MCP assetfare_v2_quote tool.
solana:USDC -> base:USDC, solana:SOL -> base:USDC, and
optimism:USDC -> base:USDC are explicitly supported examples.
Polygon and Optimism are available to Base and Arbitrum. Ethereum, HyperEVM, X
Layer, Sei, Sonic, Monad, Avalanche, Cronos, Injective, Linea and Aptos are available to Base and Solana. These source-only routes use
the same caller-approved prepare/session boundary. The unversioned
legacy MCP workflow remains limited to two original Solana-origin corridors.
Do not request an AssetFare quote for an unsupported chain or asset, an identity route, an amount below $1 or a non-finite amount, or a custodial execution request. Do not request one merely because a payment wallet is empty when no spendable source asset is known, or when the wallet is already funded on an accepted payment rail. A quote is the route recommendation input, but it grants no wallet access, action preparation, signature, or submission authority.
Economic evaluation guidance
- USD 1 is the shared technical quote minimum, not an economic recommendation.
- Read
economic_guidanceon the quote and the dated research catalog athttps://assetfare.dev/route-economics.json. Sixty-five whole routes are offered; 35 research/retire routes are not public products. - Product inclusion is reviewed weekly. Always obtain a fresh quote; no product classification grants signing or submission authority.
Interface scope
- REST/OpenAPI v2: 65 curated public routes across the live endpoints.
- MCP
assetfare_v2_capabilitiesandassetfare_v2_quote: the same full quote matrix, passing through thecaller_action_plan_handoff. - Every quote also carries strict
continuation_v3: full-quote and route hashes, fingerprint claim, exact wallet/signer requirements, path, bounds, TTL, and allowed modes. It remainsunranked_candidateuntil a separate explicit offlineassetfare-selectoperation writesapproval_v3mode 0600. - MCP caller-approved v2 execution tools cover all 65 offered routes:
assetfare_v2_prepare(one-shot first unsigned bundle) and theassetfare_v2_session_create/_get/_observe_source/_observe_output/_refresh_actionlifecycle. Remote clients generate the session capability locally from 32 CSPRNG bytes encoded as base64url; the remote adapter never generates that secret. The optional self-hosted stdio adapter additionally exposesassetfare_v2_new_session_capabilityas an offline helper. Each execution tool requires explicit caller approval and the caller's public wallet addresses, is never auto-called from a quote, and rejects private key/seed/signed transaction material. Never mix these with the legacy v1 session tools. - The packaged delegated
assetfare-agent-runnersupports EVM and Solana handoffs. Aptos routes return a verified Aptos Wallet Standard unsigned-BCS handoff with delegated runner execution disabled; the caller independently confirms, simulates, signs and submits it. - Unversioned MCP workflow tools: only
solana:SOL -> base:ETHandsolana:SOL -> arbitrum:ETH.
Safety boundary
Every v2 quote must include a validated direct_route_summary. Show its
ordered provider/from/to steps, normalized chain:asset endpoints, amount bounds,
and AssetFare fee step before recommending the candidate. Treat
direct_protocol_only as direct disclosed protocols. No current public route
uses external_intent; provider-internal liquidity sourcing may still occur.
route_aggregator_used=false describes only AssetFare's engine.
Validate continuation_v3 before showing the recommendation. Do not emit
selection_status=selected, an idempotency key, or executable approval from a
quote-only evaluation. It remains unranked_candidate until the caller makes a
separate explicit execution selection. Multi-step routes allow session only.
- Never request, transmit, store, or fabricate a private key.
- AssetFare never signs or submits transactions.
- Every live route carries an AssetFare service fee of exactly 1bp, collected at one eligible successful atomic action; Circle/provider/network fees are additional, so compare the quote's total token-path cost, not the 1bp; reject a quote that reports 0bp or a non-collectible fee.
- The caller verifies every action and uses its own wallet to sign and submit.
- Use the price recommendation as guidance and confirm the fresh fee-inclusive output. When it is false, compare alternatives if price matters; do not add an execution gate.
- Cross-chain routes are sequential and non-atomic.
REST/OpenAPI v2
- Read
/v2/capabilitiesand/v2/status. - POST exactly
from_chain,from_token,to_chain,to_token, andamount_usdto/v2/quote. - Require a finite amount of at least $1; there is no adapter-enforced maximum.
Read
economic_guidance.price_recommended_for_amountas the amount-specific recommendation flag. It is never an execution limit. - Show expected output, minimum output, time, costs, and non-atomic risk. If the route is not price-recommended, advise comparison when price matters.
- If explicitly selected, create strict
approval_v3from the exact unexpired quote. Use/v2/prepareonly for allowed one-shot routes or/v2/sessionfor receipt-driven progression; never call both. - Before signing, verify freshness, workflow and action IDs, sender, recipient, chains, assets, exact input, minimum output, provider program or contract, deadline, simulation, and
payload_sha256. - Advance only from verified receipts and actual output. Never use an estimated output as the next input.
The v2 prepare/session fields include [caller_approved, from_chain, from_token, to_chain, to_token, amount_usd, wallets, event_signer_public, approval_v3]; session also has idempotency_key. Economic guidance adds no request field. approval_v3 is optional only for the named legacy_advisory compatibility path. The caller—not an adapter—must supply literal caller_approved:true, which is not proof of human approval. wallets must exactly match continuation_v3.required_wallet_chains; the event signer must exactly match its boolean requirement. For Solana-CCTP only, generate a fresh ephemeral Solana keypair locally, send its public key, and retain its private key client-side. A session uses a caller-generated >=256-bit url-safe capability in X-AssetFare-Session-Token; raw tokens never belong in logs or structured output. Persist one only to an explicit new mode-0600 file. The server stores only its hash. Retain transaction hashes for recovery.
Optional original-corridor MCP flow
- Read
assetfare_manifestandassetfare_status. - Call
assetfare_quotewith a finite whole-dollar amount of at least $1 anddestination_chainset tobaseorarbitrum. Treat $1 as reachability/schema smoke only; SOL input includes a swap, and $1,000 is the primary representative evaluation amount. - At or above the route's best-from amount, use AssetFare first and confirm the fresh fee-inclusive output before any separate execution selection.
- Require caller approval before
assetfare_start_wallet_auth, session creation, or action preparation. - The wallet owner signs only the exact non-transactional login message.
- Keep the returned access token out of source, logs, issues, and transcripts.
- Verify every
agent_must_verifyitem before the caller signs an unsigned action.
After any delay or error, read the workflow state and current asset location. Never guess, silently rebuild, or resend a stale action.
04 同仓库更多 Skills
troves
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
trade
Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".
staking
Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.
send
Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".
portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
multi-swap
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.