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

KarpelesLab / libwallet / 24412128563
25%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2026 05:07PM UTC
Jobs 1
Files 70
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 04:59PM UTC coverage: 24.678% (-0.3%) from 24.934%
24412128563

push

github

MagicalTux
add view accounts (read-only from address or xpub)

View accounts let the user watch a blockchain address or an HD tree
without any backing wallet. They appear in the normal accounts list
(distinguished by Wallet==nil, surfaced as isViewOnly in Dart) and
support balance + NFT queries, but cannot sign.

New endpoint:
- Account:createView {Type, Address?, Xpub?, Name?}
  - Exactly one of Address or Xpub required
  - Xpub only valid for bitcoin-family (enables HD gap-limit scans)
  - Address-only path works for EVM / Solana / single BTC address

Guards added:
- Account.Sign() refuses when view-only (cannot produce signatures)
- Account.check() skips wallet lookup when view-only
- UpdateAddressForNetwork keeps the stored Address for plain-address
  views (no pubkey to re-derive from); just refreshes the URI scheme

Dart:
- client.accounts.createView(type:, address:, xpub:, name:)
- account.isViewOnly getter

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

0 of 80 new or added lines in 2 files covered. (0.0%)

1878 of 7610 relevant lines covered (24.68%)

3.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
59
0.0
wltacct/viewaccount.go
21
0.0
0.0% wltacct/account.go
Jobs
ID Job ID Ran Files Coverage
1 24412128563.1 14 Apr 2026 05:07PM UTC 70
24.68
GitHub Action Run
Source Files on build 24412128563
  • Tree
  • List 70
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24412128563
  • 66a53475 on github
  • Prev Build on master (#24411768366)
  • Next Build on master (#24412795281)
  • 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