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

Why does WAB Engine use integer satoshis rather than decimal BTC?

permalink THAMER
#bitcoin#developer-faq#self-custody#wab-engine

Short answer

The engine’s developer-facing amount convention uses whole satoshis. For example, 25,000 sat is represented as the integer 25000, not the decimal BTC value 0.00025000. This simplifies arithmetic and avoids floating-point ambiguity in payment software.

Practical guidance

Bitcoin Core RPC methods may use different amount representations. Convert explicitly at an integration boundary and never assume an unlabelled number is denominated in satoshis.

Related reading

Bitcoin Core RPC command reference
https://bitcoincore.org/en/doc/

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