Overview
A deflationary Rune applies a tax on swaps. The tax is deducted from the output amount and distributed across one or more configurable buckets.Tax Parameters
| Parameter | Range | Description |
|---|---|---|
buy_tax_bps | 0–10000 | Tax on BTC-to-Rune swaps, in basis points |
sell_tax_bps | 0–10000 | Tax on Rune-to-BTC swaps, in basis points |
- Tax is applied after the pool fee and before the user receives the output.
- A value of 0 disables the tax for that direction.
Tax Distribution Buckets
Each deflationary Rune defines one or more distribution buckets. Bucket allocations must sum to exactly 10000 bps (100%).| Bucket | Behavior |
|---|---|
| BURN | Runes are permanently removed from circulation via a Runestone OP_RETURN output. |
| AUTO_LP | Runes are injected into the pool as single-sided liquidity. |
| ADDRESS | Runes are sent to a configured wallet address. Maximum 3 address buckets per etch. |
Immutability
Tax rules are immutable after broadcast. Neither the etcher nor the platform can modify tax parameters or bucket allocations after the etching transaction confirms.Verification
A deterministic hash of the tax configuration is computed for client-side verification:On-Chain Audit Tags
Tax rules can be independently verified on-chain using Tag 111 and Tag 777 audit tags embedded in the etching transaction. These tags anchor the tax configuration to the Bitcoin blockchain, allowing anyone to confirm that the published rules match the on-chain commitment. See the On-Chain Audit Tags documentation for the full verification mechanism.Example Configuration
Worked Example (sell side)
- User sells 10,000 Runes into the pool.
- Pool fee (30 bps) is applied first; AMM computes a gross BTC output.
- Sell tax of 1000 bps (10%) is applied to the Rune input:
tax = 10000 × 1000 / 10000 = 1000 Runes. - Tax distribution:
- BURN:
1000 × 5000 / 10000 = 500 Runespermanently destroyed. - AUTO_LP:
1000 × 3000 / 10000 = 300 Runesadded to pool reserves. - ADDRESS:
1000 × 2000 / 10000 = 200 Runessent to creator wallet.
- BURN:
- User receives BTC output computed from the remaining 9,000 Runes.