THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Inclusive Fee Budgets: Separating Bitcoin Miner Fees from Software Fees

permalink THAMER
#bitcoin#signed-fee-law#transaction-economics#wab#wallet-ai-bitcoin

Research status: Engineering philosophy based on stated product architecture and reported laboratory evidence. New examples and tests are illustrative and have not been executed.

One budget, different economic roles

The product statement “miner fees included in its budget” means that the software policy must be understood separately from the network fee market. A miner fee is the difference between transaction input and output totals. A software fee is an application-level economic charge. Bitcoin consensus does not identify an output as a software fee merely because an application labels it that way.

Illustrative accounting

For a hypothetical requested gross amount G = 13,000 sat and a 10% inclusive policy, the budget B is 1,300 sat and the intended recipient amount R is 11,700 sat. If the miner fee M is 257 sat, the arithmetic residual B - M is 1,043 sat. This residual is not proof of a treasury output: the actual transaction and policy implementation must establish its disposition. A reported Testnet transfer used these gross, recipient and miner-fee figures; the raw transaction has not been reverified for this article.

Conservation at transaction level

For a simple transaction with recipient R, software output S and change C, sum(inputs) = R + S + C + M. Additional outputs must be included if present. Change is not an economic charge when it remains under the wallet's control. A client should distinguish the requested amount, delivered amount, actual miner fee, software charge and total wallet debit instead of using a single ambiguous fee field.

Boundary conditions

Integer satoshi rounding, dust policy, insufficient funds and miner fees larger than the budget require explicit semantics. Do not infer whether the engine rejects, adjusts or retries such requests without testing the actual contract. A fee estimate is not an executed fee. An inclusive policy does not guarantee that a transaction can be mined at every network fee rate.

Developer experiment

Construct a Testnet matrix of gross amounts and fee environments. Record requested amount, transaction inputs and outputs, change ownership, reported fees and confirmation state. Independently recompute the miner fee using previous outputs. Compare with the birth policy and flag unexplained differences. Never infer a fee distribution from arithmetic alone.

Primary references and related research

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects