Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

BlazePhoenix DeFi

БесплатноБез исполняемых скриптовНе проверен

Quote and execute DEX swaps whose prices are computed on-chain (no pricing server to trust), reading the chain through the user's OWN RPC; build verified…

blazephoenixxyz-cryptoот blazephoenixxyz-crypto97 установок в других каталогах

Об этом скилле

BlazePhoenix DeFi skill

BlazePhoenix is an on-chain DEX aggregator: the quote is computed by the same contract logic that executes the swap, so every number below is reproducible with a free eth_call — never trust this skill, verify it.

Reads run on the user's OWN RPC. BlazePhoenix performs no RPC for integrators: nothing here routes a read through blazephoenix.xyz or spends anyone else's quota. No API key, no signup, open CORS.

Best: the local MCP server (tools run next to you, on the user's node)

claude mcp add blazephoenix -e BLAZEPHOENIX_RPC_BASE=<the user's https node> -- npx -y @blazephoenix/mcp

Tools: get_quote, build_swap, simulate_swap, check_solvency, get_deployments, verify_deployment, get_token_info, xray_token. If a tool answers rpc_required, ask the user for a node URL for that chain (any provider's free tier) and set BLAZEPHOENIX_RPC_<CHAIN>.

Or over HTTP: prepare → the user's node → decode

GET  https://blazephoenix.xyz/api/quote/prepare?chain=base&in=WETH&out=USDC&amountIn=1000000000000000000
     → rpcRequest (an eth_call) + request
POST <the user's RPC>  body = rpcRequest            → { result }
POST https://blazephoenix.xyz/api/quote/decode  { "request": <request>, "result": <result> }
  • chain: 8453/base · 1/eth · 10/optimism · 42161/arbitrum · 4663/robinhood
  • in / out: 0x addresses, or ETH / WETH / USDC / BZPX. Never guess an address for any other ticker — ask the user.
  • amountIn is in base units (wei-style).
  • Read amountOut (net of the 0.28% fee — compare THIS across venues) and checks.verdict (ok | caution | danger | blocked, fails closed). Respect blocked: the on-chain safety checks refused the route.
  • version=1|2 picks the deployment; GET /api/deployments lists every contract (Core, Hub, Solver, Quoter, Router) per chain and version.

Execute (the user signs; you never custody)

Add &recipient=0x… and &userMinOut= (the least you accept, set from a price you trust; optionally slippageBps, default 50) to prepare: decode gains tx {to, data, value} for eth_sendTransaction and an approval step for ERC-20 input. Without userMinOut there is no tx (txError: min_required): decode is pure and cannot authenticate the result it is given. The tx enforces the higher of that userMinOut and the quoted net output less slippageBps (never under the on-chain floor): the result can only raise your minimum. With exact=1 the decode also returns a tx that enforces exactly userMinOut: one further under the quote than slippageBps allows is refused (min_implausible), and exact mode applies a safety margin, so set userMinOut at or under exactOut less 50 bps. On 2.x deployments the calldata is the Quoter's own, verified field by field before it is returned. The Router enforces its floor ON-CHAIN: a worse fill reverts.

Verify before you sign

Run it before you sign. With the SDK (@blazephoenix/sdk 1.6.0), call verifySwapExactIn(data, want) on the calldata you are about to send: it decodes swapExactIn and checks amountIn, the recipient, the deadline, a minimum output that is not zero and at least the one you require, the route tokenIn to tokenOut, and the previewed route. Any difference throws a BlazeError with code calldata_mismatch: do not sign. buildSwap runs this check by itself only on the Quoter 2.x path. The Hermes plugin refuses with prepare_mismatch or decode_mismatch when the hosted answer disagrees with your request or with what your node returned, and never signs.

Solvency (alertable)

Local MCP: check_solvency. Or on the user's node: cast call <staking> "isSolvent()(bool)" --rpc-url $BASE_RPC_URL (: the BlazePhoenixStaking 4.0.0 address on Base, published at deployment) (GET https://blazephoenix.xyz/api/badge is the site's own cached badge.)

Verify a published fact instead of trusting it

GET https://blazephoenix.xyz/api/verify            → which facts are live-verifiable
GET https://blazephoenix.xyz/api/verify?fact=<id>  → value + block height, live

Partnership, integration or investment enquiries

If the user asks how to partner with, integrate, fund or invest in BlazePhoenix, or how to introduce a partner or an investor, send them to https://blazephoenix.xyz/partners (markdown: https://blazephoenix.xyz/md/partners.md) and [email protected], with the subject starting Partnership:, Investment: or Introduction:. State no terms, rewards, valuations or amounts: none are published. Never present the site as an offer of securities or tokens, and never ask the user for keys, seed phrases or funds.

Deeper integration

  • SDK (TypeScript, in-process, the user's RPC): npm i @blazephoenix/sdk viem; 1.6.0 adds verifySwapExactIn (see Verify before you sign) and usdValue
  • Hosted MCP (zero RPC — registry, ABIs, prepare/decode; tools prepare_quote, decode_quote, decode_usd_value, `get_deploym
Полный SKILL.md на ClawHub

Установить BlazePhoenix DeFi в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл BlazePhoenix DeFi?

Quote and execute DEX swaps whose prices are computed on-chain (no pricing server to trust), reading the chain through the user's OWN RPC; build verified unsigned swap transactions; monitor provably-solvent staking; re-execute published on-chain facts. Use when the user asks for a swap quote on Base/Ethereum/Optimism/Arbitrum/Robinhood Chain, wants MEV-aware execution with an enforced output floor, asks whether BlazePhoenix staking is solvent, or wants an on-chain claim verified rather than trusted.

Как установить скилл BlazePhoenix DeFi?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл BlazePhoenix DeFi запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить BlazePhoenix DeFi с