Anvil Mesh
name: anvil-mesh
by bsvanon · published 2026-03-22
$ claw add gh:bsvanon/bsvanon-anvil-mesh---
name: anvil-mesh
description: 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.
metadata:
openclaw:
requires:
env: []
bins:
- 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:
Discovery
Find a node's capabilities:
curl https://<node>/.well-known/anvilReturns a machine-readable manifest listing all available data topics, payment options, and mesh info.
Find payment details:
curl https://<node>/.well-known/x402Returns endpoint pricing and payment models (HTTP 402 standard).
Query Data
Browse available topics:
curl https://<node>/statsThe `envelopes.topics` field lists all active data topics with envelope counts.
Fetch envelopes for a topic:
curl "https://<node>/data?topic=oracle:rates:bsv&limit=5"Returns signed envelopes with payload, publisher pubkey, signature, TTL, and timestamp.
Verify a Transaction
curl "https://<node>/tx/<txid>/beef"Returns the transaction in BEEF format with merkle proof for SPV verification.
Live Nodes
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
curl -s "http://212.56.43.191:9333/data?topic=oracle:rates:bsv&limit=1" | jq '.envelopes[0].payload | fromjson | .USD'Links
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...