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

Miner Fee First, Software Fee Second: Worked Bitcoin Examples

permalink THAMER
#bitcoin#math#miner-fees#software-fees

A fee-inclusive wallet must distinguish the network miner fee from the software usage fee. Both fit inside the same signed budget; they are not stacked on top of each other.

Example A: ordinary fee

For a 200,000 sat SEND total, an illustrative 10% budget is 20,000 sat and recipient allocation is 180,000 sat. If the transaction miner fee is 2,400 sat, the remaining software fee is 17,600 sat.

Example B: high network fee

For the same 200,000 sat SEND, suppose the miner fee is 18,500 sat. The software remainder is only 1,500 sat. The recipient allocation remains 180,000 sat. The software fee absorbs the network fee variation within the budget.

Example C: fee above budget

If a miner fee of 22,000 sat is necessary for the same SEND, it exceeds the 20,000 sat budget. The correct outcome is a rejected SEND, not an additional 2,000 sat charged to the sender.

Real implementation caveats

Transaction inputs, change outputs, fee estimation, output dust limits, and integer rounding must be evaluated against the signed law. These figures are arithmetic illustrations, not guaranteed live transaction quotes.

Related reading:
https://thamer.org/learn/bitcoin-send-10-percent-inclusive-fee-budget-explained
https://thamer.org/learn/ai-agent-bitcoin-payment-budgeting-with-satoshis

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