Bitcoin Forum
November 22, 2026, 09:00:29 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Monitor BTC – open-source watch-only Bitcoin wallet (MIT)  (Read 13 times)
Rael Ales (OP)
Newbie
*
Offline

Activity: 2
Merit: 0


View Profile WWW
Today at 04:27:59 PM
 #1

I'm sharing Monitor BTC, an open-source, watch-only Bitcoin wallet that runs on Cloudflare Workers. It shows balance, receive addresses and history from an xpub, without ever handling private keys.

How it works

The user pastes an xpub/zpub/ypub. The server derives the addresses (BIP44, 49, 84 and 86) and reads balance and history from Electrum servers over TLS.
It builds unsigned PSBTs with fee and change calculation, and can accelerate a pending transaction via CPFP.
Signing is done offline in Cofre BTC, a single HTML file that runs in the browser. Before signing, it checks the account, derivation, script, outputs and fee.
Only after signing is the transaction broadcast. The Monitor checks that the inputs belong to the xpub and are finalized.

Design decisions

No database and no storage. The session lives in a Durable Object that discards everything when the last screen closes.
The xpub never appears in logs or URLs.
Cofre has an optional BIP39 passphrase field. Whoever loses that passphrase loses the wallet it defines.

Known limitations

Full rescan on each new session, with a gap limit of 50 addresses.
No monitoring with the page closed.
Mainnet only. No RBF.
The Electrum servers see the scripthashes you query.
No external audit yet. Security reviews are welcome.

Source (MIT): https://github.com/RaelAles/BTC
Live: https://btc.raelales.com

Questions and criticism are welcome. If you find a problem, please open an issue on GitHub.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!