Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Run a wallet

The wallet is built into the node — there is no separate wallet binary. As a user you send and hold satoshis; the internal M0/M1 mechanics are an implementation detail (how the money works).

Addresses

bathron-cli -testnet getnewaddress          # transparent address
bathron-cli -testnet getnewshieldaddress    # shielded address (private)

Sending

# transparent
bathron-cli -testnet sendmany "" '{"<address>": 10000}'

# shielded — amounts and balances hidden
bathron-cli -testnet shieldsendmany "<from>" '[{"address":"<shield-addr>","amount":10000}]'

Inspecting

bathron-cli -testnet getwalletstate true    # balances, including settlement receipts

Getting funds

Every circulating unit originates from provably burned Bitcoin — there is no faucet key, no premine, no issuer. On the public testnet, funds come from burning testnet BTC (Bitcoin integration) or receiving them from someone who did.