The 2.18.1 source candidate makes nLockTimeIsFinal apply the node's rule for the
next block: a height lock time below tip + 1 and a time lock time below the
median time past of the last eleven headers (BIP113), instead of the tip height
and the wall clock. Inputs with an omitted sequence count as final. No API, wire
or schema migration is required. Source is not publication or deployment.
The 2.18.1 source candidate scores broadcaster answers that judge nothing about the transaction as service errors: ARC HTTP 401 and 403 (a keyless request to the default arc.taal.com, or a refused key), WhatsOnChain 401, 403, 408, exhausted 429 and 5xx answers that relay no node refusal, and a Bitails per- transaction connection reset. Such a transaction now stays queued for retry or fails over instead of being marked invalid with its inputs released. No API, wire, configuration or schema migration is required. Source is not publication or deployment.
The 2.18.1 source candidate lets a sendMax (maxPossibleSatoshis) createAction
be funded from unproven change when the wallet holds no confirmed coins, instead
of failing with an invalid output amount. No API, wire or schema migration is
required. Source is not publication or deployment.
The 2.17.0 source candidate reports listCertificates totalCertificates as
the size of the matching set at every offset, including full and empty later
pages in IndexedDB. Non-empty final pages use the skipped rows plus the page;
other pages count without a page window. User, deletion, type and certifier
filters and returned certificate fields are unchanged. Upgrade the affected
local storage package or remote Storage service to receive corrected totals.
No API, wire or schema migration is required.
Spending authorization accounts for the inputs and outputs that permission modules pass to the wallet, including token funding and change. Caller input descriptions remain attached to their outpoints when a module reorders inputs. Output descriptions follow the metadata retained by copied or reordered outputs, including outputs with identical scripts and amounts. New module entries with no caller description use the existing description fallback. Requested-output verification, exact wallet-spend checks and storage service-charge accounting remain enforced. No API, wire or stored-data migration is required.
The 2.17.0 source candidate adds optional actionBatchMode to the SetupClient
factory arguments. Select legacy when your application broadcasts
its own noSend transactions and needs the existing per-action storage path:
import { SetupClient, type SetupClientWalletArgs } from '@bsv/wallet-toolbox-client'
declare const options: SetupClientWalletArgs
const { wallet } = await SetupClient.createWallet({ ...options, actionBatchMode: 'legacy' })The Node package exposes the same option. Omission keeps auto,
including its existing storage-capability negotiation and fallback. When batching
is available, related signed noSend actions can remain staged until a subsequent
batch commit. The new option does not recover previously discarded batches or
change signing, BRC-100 calls or database schemas. Existing consumers need no
migration; package publication and consumer upgrades are separate steps.
The 2.15.3 source candidate restores ordinary import of exactly framed legacy AtomicBEEF with surplus unrelated branches. It retains the declared payment and its dependencies, reruns strict SDK argument validation, and preserves native proof, ownership and receipt checks. Truncated, trailing and incomplete inputs remain rejected. No API, wire or schema migration is required. Upgrade the host and remote Storage separately; reconcile and retry the original import instead of creating or broadcasting a replacement payment. Source is not publication or deployment.
The candidate now captures immutable journal field artifacts with a distinct metadata/extent encoding and version-four binding. The actual pinned source hashes every field, stores repeated content once, rehashes its replay and captures streamed notification identities in bounded profile-filtered batches. Content-index metadata enters the artifact hash chain, and READY waits for physical source closure. The existing archive quotas, row/version-three APIs and HTTP advertisements remain unchanged. Remote field transport, destination cache/semantic promotion and primary handoff still require integration and full qualification.
The held #569 candidate adds an internal bounded logical journal-field source and verified native content-staging connection. Client/mobile journal artifact capability and packet encoding remain unchanged; remote field transfer/promotion and remote primary handoff still need implementation. Exact leading U+FEFF, NUL and astral SQL text survives the existing journal frame format. This component does not establish complete large-field sync or production readiness.
The unpublished 2.15 candidate exposes resumable sync with atomic IndexedDB page commits and foreground work between pages. See the sync contract and rollout guide, including cancellation, inclusive timestamp boundaries and measured native-browser behavior.
@bsv/wallet-toolbox-client is the browser-safe Wallet Toolbox distribution.
It includes the BRC-100 wallet, signer, services, IndexedDB storage, and remote
storage client without Node-only Knex, SQLite, MySQL, or filesystem adapters.
The built-in BRC-177 p nosend expiry module works with local IndexedDB or a
2.11-compatible remote storage service; the active provider owns durable
expiry monitoring, synchronized lifecycle state, and pre-signed reclaim
submission.
IndexedDB listOutputs results keep totalOutputs equal to the full matching
count across short final and out-of-range pages.
BRC-177 anchors cover both the delivery and an economic reclaim. When the
reclaim floor is larger, the protected action pays the bounded surplus as
miner fee while retaining no wallet change. Upgrade the active storage
implementation to receive this funding fix; no wire or database migration is required.
Prepared BEEF persistence remains a server-side Knex capability. Browser
IndexedDB uses the canonical path, and compatible remote servers can enable
the optimization without a browser configuration or wire change.
Wallet snapshots are wallet-equivalent secrets and belong only in browser or
extension storage backed by an OS Keychain or comparably trusted store, never
ordinary localStorage, logs, analytics, or unprotected sync. Remote storage and
credential-bearing Arcade SSE require HTTPS except for explicit loopback
development, and transport debugging cannot expose credentials. Spending
approvals are never cached or coalesced; certificate acquisition and identity
discovery require valid certifier signatures before storage or trust scoring.
Related browser noSend chains retain local action batching, while unrelated
actions cannot join or commit the active workspace. Supported remote providers
can resume a soft-expired workspace using its exact persisted inputs.
WalletStorageManager.getStores() retains each remote provider's configured
endpointURL after production bundlers minify class names, so backup selection
and make-primary flows remain stable.
Immediate browser actions can chain wallet-managed change from a delayed
parent only after completed and unproven liquidity is exhausted or exact
serialized-cost comparison proves that a pathological settled plan is larger.
Pending funds are never hidden. IndexedDB wallets migrate exact untouched
144-output / 32-satoshi defaults to a progressive 5,000-satoshi preference.
Durable permission tokens retain delayed broadcast so permission approval does
not inherit network latency.
Opt-in remote-storage timing spans retain trace and parent-span correlation in
the telemetry sink without adding headers to authenticated requests.
The browser distribution also exposes the WAB UMP ambiguity fallback and
OTP-verified startPhoneNumberChange / completePhoneNumberChange flow. A
settings UI may submit the current number to force a fresh presentation hash;
it must persist the wallet snapshot immediately after success.
Browser authentication accepts one verified matching UMP token as an existing
account. When no token verifies, one clean empty overlay response establishes a
new account even if other hosts fail or return malformed records.
The browser build includes the fetch-based, credential-free ChainTracks v2 client and reconnecting SSE adapter without Node-only modules. Public defaults cover mainnet, testnet, and TerraTestNet; STN/TSTN and regtest use an injected or configured endpoint.
The portable local controller coalesces stale height refresh and immutable
object loads, applies failed-load backoff, and validates through the asynchronous
InlineBulkFileDataValidator without importing Node worker or filesystem code.
The coordinated 2.15.0 candidate preserves this wrapper's ordinary API and SDK peer range. The core package's new SQLite action/funding controllers are separate Node deep imports. This wrapper does not expose them or grant IndexedDB, mobile or remote storage a durable operation journal. If a host separately adopts core recovery, preserve its complete wallet database and keys and reconcile outstanding operations before rollback; ordinary entity export/sync omits that auxiliary state. See local action recovery.
Broadcast result completion in the 2.14.9 source candidate preserves an already
unmined or completed request while returning the actual provider outcome.
A successful first receipt without a mining proof therefore no longer fails
with an internal unknown-status error on shared storage or after concurrent
storage-worker progress. Negative provider outcomes still reject that receipt;
repeat successful receipt remains idempotent. Upgrade the implementation
performing broadcast/internalization after protected publication. No public
API or wire migration is required. Remote SQL storage adds a durable user/TXID
receipt claim while preserving historical rows; back up and preflight before
coordinating all serving storage instances in the
rollout. Browser IndexedDB does not use the SQL claim. This candidate does not
deploy hosted storage or repair older partial receipts automatically.
Recover both key material and wallet records; a manager snapshot or device keystore alone is not a complete data backup. IndexedDB can be evicted or lost with the browser profile. Keep an independent data copy and test recovery on a clean profile. Use the recovery guide, BRC-38/39 integration and recovery drill. The portable helpers require a concrete provider and a tested consistency/resource-limit strategy.
npm install @bsv/wallet-toolbox-client @bsv/sdkimport {
Services,
StorageClient,
Wallet,
WalletSigner,
WalletStorageManager
} from '@bsv/wallet-toolbox-client'The package publishes browser/import ESM and CommonJS conditions with matching declarations. Its installed-consumer gate bundles the exact tarball with Vite and esbuild, rejects Node-only modules, validates source maps, and enforces compressed and uncompressed size budgets.
This single bundle also exports WalletMonitorTask (the base class for a
custom task passed to Monitor.addTask), attemptToPostReqsToNetwork with
its PostReqsToNetworkResult type, parseJsonRpc / stringifyJsonRpc (the
storage remoting wire format), and verifyUnlockScripts with its
UnlockScriptVerificationResult type, so a host no longer needs an
unsupported deep import to reach them:
import {
WalletMonitorTask,
attemptToPostReqsToNetwork,
parseJsonRpc,
stringifyJsonRpc,
verifyUnlockScripts
} from '@bsv/wallet-toolbox-client'Remote Wallet Storage often serves public web, extension, WUI, and mobile clients from origins unknown at build time. The client imposes no origin allowlist. Operators may explicitly configure one at the service edge, but CORS is not authentication; storage authorization and identity isolation remain mandatory in either mode.
See the package README for complete remote and IndexedDB setup.
Apache License 2.0. See the package license.
The source candidate adds exact completed-action binding for independently
validated local storage fees and change. The SDK capability marker is
completeBoundAction.outputAuthorizationVersion=1; upgrade the wallet and SDK together.
Existing SDK2 peers retain strict behavior. The separate SDK3 migration still
applies; SDK2 consumers need an additive backport or that migration. Serialized
wallet results do not carry local authority. The fee fix does not change signup
persistence or interrupted-funding reconciliation. See the package README and
release and migration ledger.