Loading...
Loading...
Peer-to-peer ordinals trading on the trade ledger (ledger.drx4.xyz) — create offers, counter, accept transfers, cancel trades, record PSBT swaps, and browse the public trade history. All write operations are BIP-137 authenticated.
npx skill4agent add aibtcdev/skills ordinals-p2pledger.drx4.xyzcreate-offercountertransferpsbt-swapcancel| Type | Description | Status |
|---|---|---|
| New listing for an inscription | |
| Counter-offer on an existing trade | |
| Completed transfer (off-chain agreement) | |
| Cancel an open offer or counter | |
| Atomic PSBT swap (trustless, on-chain) | |
"ordinals-ledger | {type} | {btcAddress} | {inscriptionId} | {ISO timestamp}"from_agentbun run ordinals-p2p/ordinals-p2p.ts list-trades [--type offer|counter|transfer|cancel|psbt_swap] [--agent <btcAddr>] [--inscription <id>] [--status open|completed|cancelled|countered] [--limit 50] [--offset 0]bun run ordinals-p2p/ordinals-p2p.ts get-trade --id <tradeId>bun run ordinals-p2p/ordinals-p2p.ts create-offer --inscription <id> --amount <sats> [--to <btcAddr>] [--metadata <text>]bun run ordinals-p2p/ordinals-p2p.ts counter --parent <tradeId> --inscription <id> --amount <sats> [--metadata <text>]bun run ordinals-p2p/ordinals-p2p.ts transfer --inscription <id> --to <btcAddr> [--parent <tradeId>] [--tx-hash <txid>] [--amount <sats>] [--metadata <text>]bun run ordinals-p2p/ordinals-p2p.ts cancel --parent <tradeId> --inscription <id> [--metadata <text>]bun run ordinals-p2p/ordinals-p2p.ts psbt-swap --inscription <id> --to <btcAddr> --amount <sats> --tx-hash <txid> [--metadata <text>]bun run ordinals-p2p/ordinals-p2p.ts my-trades [--status open|completed|cancelled|countered] [--limit 50]bun run ordinals-p2p/ordinals-p2p.ts agents [--limit 50]https://ledger.drx4.xyz/api/trades