AGENT SKILL

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

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 Required response.
  • 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_guidance on the quote and the dated research catalog at https://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_capabilities and assetfare_v2_quote: the same full quote matrix, passing through the caller_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 remains unranked_candidate until a separate explicit offline assetfare-select operation writes approval_v3 mode 0600.
  • MCP caller-approved v2 execution tools cover all 65 offered routes: assetfare_v2_prepare (one-shot first unsigned bundle) and the assetfare_v2_session_create/_get/_observe_source/_observe_output/_refresh_action lifecycle. 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 exposes assetfare_v2_new_session_capability as 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-runner supports 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:ETH and solana: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

  1. Read /v2/capabilities and /v2/status.
  2. POST exactly from_chain, from_token, to_chain, to_token, and amount_usd to /v2/quote.
  3. Require a finite amount of at least $1; there is no adapter-enforced maximum. Read economic_guidance.price_recommended_for_amount as the amount-specific recommendation flag. It is never an execution limit.
  4. Show expected output, minimum output, time, costs, and non-atomic risk. If the route is not price-recommended, advise comparison when price matters.
  5. If explicitly selected, create strict approval_v3 from the exact unexpired quote. Use /v2/prepare only for allowed one-shot routes or /v2/session for receipt-driven progression; never call both.
  6. 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.
  7. 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

  1. Read assetfare_manifest and assetfare_status.
  2. Call assetfare_quote with a finite whole-dollar amount of at least $1 and destination_chain set to base or arbitrum. Treat $1 as reachability/schema smoke only; SOL input includes a swap, and $1,000 is the primary representative evaluation amount.
  3. At or above the route's best-from amount, use AssetFare first and confirm the fresh fee-inclusive output before any separate execution selection.
  4. Require caller approval before assetfare_start_wallet_auth, session creation, or action preparation.
  5. The wallet owner signs only the exact non-transactional login message.
  6. Keep the returned access token out of source, logs, issues, and transcripts.
  7. Verify every agent_must_verify item 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

jiayaoqijia
jiayaoqijia/cryptoskill

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.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

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".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

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.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

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...".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

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".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

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.

★ 81