• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / libwallet / 24419426170
25%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2026 07:52PM UTC
Jobs 1
Files 72
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Apr 2026 07:45PM UTC coverage: 24.59% (-0.4%) from 25.022%
24419426170

push

github

MagicalTux
mpurse: signRawTransaction + sendRawTransaction

`window.mpurse.signRawTransaction(hex)` now works end-to-end for
bitcoin-family chains. The dApp hands us an unsigned raw transaction;
we identify which inputs belong to the user's xpub tree, derive the
per-input TSS signers at the right child path, and return the signed
hex.

- New `wlttx.SignRawBitcoinTx`: parses the hex with
  `outscript.BtcTx.UnmarshalBinary`, scans both m/0 and m/1 with
  `modchain_lookupTxoBIP32` to build an ownership map, matches each
  input by (txid:vout), and signs via the existing
  `newBtcInputSigner` (which threads the account IL + per-child IL
  through the wallet's TSS signer). Sighash: SIGHASH_ALL on BTC/LTC/
  DOGE/MONA, SIGHASH_ALL|SIGHASH_FORKID on bitcoin-cash.

- v1 is strict: all inputs must be owned by this account. Errors out
  otherwise. Covers the Counterparty / mpurse happy path (every input
  is the user's). Partial-sign multi-party flows can come later.

- Routed through the approval flow as a new
  `mpurse_sign_transaction` request type; user approves with keys,
  approve handler calls SignRawBitcoinTx.

- `window.mpurse.sendRawTransaction(hex)` is a direct pass-through to
  the current network's `sendrawtransaction` RPC — no approval needed
  (tx is already signed).

- `mpurse_sendAsset` still errors: Counterparty tx construction
  depends on an external service; dApps should build via counterparty
  and then call sign+send.

Dart:
- New `MpurseSignTransactionRequest` subtype in the sealed hierarchy,
  with `unsignedTxHex` / `signedTxHex` getters.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

0 of 144 new or added lines in 3 files covered. (0.0%)

1962 of 7979 relevant lines covered (24.59%)

3.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
65
0.0
0.0% wlttx/bitcoin.go
53
0.7
-0.06% wltbase/web3.go
26
2.82
-0.18% wltbase/request.go
Jobs
ID Job ID Ran Files Coverage
1 24419426170.1 14 Apr 2026 07:52PM UTC 72
24.59
GitHub Action Run
Source Files on build 24419426170
  • Tree
  • List 72
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24419426170
  • ede8a475 on github
  • Prev Build on master (#24418628689)
  • Next Build on master (#24419571909)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc