bcash is our implementation of the eCash protocol in JavaScript. It runs as a full node, as a light client, and as a library that other software builds on. Version 3.0.0 was released on October 31, 2026.
The release has two main additions. bcash now takes part in Avalanche, the mechanism eCash uses to finalize blocks and transactions in seconds. And a bcash light client now runs inside an ordinary web page, speaking to the network directly, with no server of ours in between.
Avalanche
Started with --avalanche, bcash runs Avalanche as Bitcoin ABC 0.34.2 does.
Blocks are finalized by polls of eCash’s stakers. A block that Avalanche rejects is parked, and a parked block is polled again so that stakers can bring it back. Pre-consensus goes a step further and finalizes transactions while they are still in the mempool, before any miner has included them.
A full node answers polls, and it can stake a proof of its own. It also enforces the block policies that come with Avalanche: the miner fund, the staking reward winner, real time targeting and pre-consensus conflicts.
Light clients take part as well. An SPV client checks the stakers’ proofs for itself and polls for its own transactions, so it does not have to take a server’s word that a payment is final. On mainnet, a transaction broadcast by an SPV client was final in 7.6 to 10.4 seconds.
Pages: a light client in the browser
Until now, a web wallet has needed a server to stand between it and the network, because a browser page cannot open the TCP connections that nodes use. That server sees every address the wallet asks about, and the wallet has to trust what it is told.
bcash 3.0 removes it. We call a light client that runs in a browser tab a page.
- WebTransport. A full node can serve the peer-to-peer protocol over WebTransport beside TCP. A page connects to nodes the way any other peer does, and nodes tell each other which of them accept pages.
- WebRTC between pages. Pages also connect to each other. Full nodes introduce them, and from then on pages serve each other their newest blocks, relay unconfirmed transactions, and introduce each other onward.
- Anchored chains. A page starts its chain at the newest checkpoint built into the software, so it is ready in moments, and it can still reach the history below that point when it needs to.
The result is live at webnode.badger.cash: a wallet made of static files, with no backend. It holds XEC and SLP tokens of Types 1 and 2, proves its own coins by SPV, and shows the status of a payment across the peers it is connected to.
The design is written down in the SPV+ specification, and Running in the browser explains how to build on it.
Also in this release
- The transaction index records where each output was spent, so the HTTP interface can answer which transaction spent a given output.
bcash.bip70provides the payment protocol as part of the library.- Every document was rewritten in one layout and checked against the code.
- The test suite passes in full, 6,697 tests, on both the native and the pure JavaScript backends, and the tests against a Bitcoin ABC node pass as well.
Upgrading
Avalanche, WebTransport and the STUN server stay off until you turn them on, so a node upgraded from 2.6.1 behaves as it did before. A few things do change:
- Testnet addresses now begin
ectest:and regtest addressesecregtest:, as in Bitcoin ABC. The old prefixes are refused. Mainnet addresses and keys are unchanged. - New mainnet wallets derive their keys under coin type 1899, as Cashtab does. Existing wallets keep their keys, and nothing needs to be migrated.
- With the transaction index on, the node fills in the spender of each output once, in the background, the first time it starts.
The release notes list every change, and the source is on GitHub.