Anvil网络查询

anvil-mesh

by bsvanon

Query the Anvil mesh network for live BSV data feeds, verify transactions via SPV, and discover HTTP 402 micropayment services. Non-custodial, sub-cent payments, instant settlement.

4.5k其他未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/bsvanon/anvil-mesh

必需命令行工具

curl

文档

Anvil Mesh

Query live data feeds, verify BSV transactions, and discover paid services on the Anvil mesh network.

What Anvil Does

Anvil is a mesh of BSV nodes that:

  • Publishes signed data feeds (price oracles, sensor data, any structured data)
  • Verifies BSV transactions via SPV with merkle proofs against synced headers
  • Accepts micropayments via HTTP 402 — non-custodial, sub-cent, instant settlement on BSV

Discovery

Find a node's capabilities:

bash
curl https://<node>/.well-known/anvil

Returns a machine-readable manifest listing all available data topics, payment options, and mesh info.

Find payment details:

bash
curl https://<node>/.well-known/x402

Returns endpoint pricing and payment models (HTTP 402 standard).

Query Data

Browse available topics:

bash
curl https://<node>/stats

The envelopes.topics field lists all active data topics with envelope counts.

Fetch envelopes for a topic:

bash
curl "https://<node>/data?topic=oracle:rates:bsv&limit=5"

Returns signed envelopes with payload, publisher pubkey, signature, TTL, and timestamp.

Verify a Transaction

bash
curl "https://<node>/tx/<txid>/beef"

Returns the transaction in BEEF format with merkle proof for SPV verification.

Live Nodes

  • http://212.56.43.191:9333 — anvil-prime
  • http://212.56.43.191:9334 — anvil-one

Payment Flow (HTTP 402)

If an endpoint requires payment:

  1. Request the endpoint
  2. Receive HTTP 402 with price and payment address
  3. Create a BSV transaction for the exact amount
  4. Resend request with payment proof in X402-Proof header
  5. Receive data — transaction settles on BSV network

No accounts, no API keys, no signups. Sub-cent costs, instant settlement.

Example: Get BSV/USD Price

bash
curl -s "http://212.56.43.191:9333/data?topic=oracle:rates:bsv&limit=1" | jq '.envelopes[0].payload | fromjson | .USD'

Links

相关 Skills

Claude API

by anthropic

热门

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.

其他
安全163.8k

并行代理

by axelhu

热门

Use when facing 2 or more independent tasks that can be worked on without shared state - dispatches parallel subagents using sessions_spawn for concurrent investigation and execution, adapted for OpenClaw

其他
未扫描4.5k

高光制作器

by bwbernardweston18

热门

>

其他
未扫描4.5k

评论