Skip to main content
bitrune-verify is a command-line tool for independently verifying Bitrune transactions on the Bitcoin blockchain. It decodes the on-chain audit tags embedded in Runestone OP_RETURN outputs and validates that the AMM math is correct — without trusting Bitrune’s servers.

Installation

Build from the project repository:
The binary is produced at target/release/bitrune-verify.

Usage

Arguments: Options: RPC credentials can also be set via environment variables: BITRUNE_RPC_URL, BITRUNE_RPC_USER, BITRUNE_RPC_PASS.

What It Verifies

The tool decodes all Bitrune audit tags present in a transaction and runs validation checks against each:

Example

Verify a swap transaction:
JSON output for programmatic use:

Use Cases

  • Auditors: Verify that every swap executed by Bitrune follows the constant-product formula and applies fees correctly.
  • Rune creators: Confirm that deflationary tax rules are applied exactly as configured at etch time, with no modifications.
  • LP providers: Validate that deposit/withdraw share calculations match the published AMM formulas.
  • Block explorers: Integrate structured Bitrune tag data into transaction detail pages.

Connecting to a Node

For mainnet verification, point the tool at a Bitcoin Core node with txindex=1 enabled:
The tool only reads transactions; it does not broadcast or modify any blockchain state.