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

KarpelesLab / libwallet / 24839594979
25%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2026 02:08PM UTC
Jobs 1
Files 108
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

23 Apr 2026 12:43PM UTC coverage: 19.52% (-0.5%) from 20.0%
24839594979

push

github

MagicalTux
wltwallet: Wallet:probeActivity + Wallet:promoteMnemonic

Two new endpoints for the mnemonic-import → MPC migration flow the
user walked through. Probe is read-only, promote is the side-
effecting migration — strictly separate per the user's direction.

Wallet:probeActivity

  Takes a mnemonic-backed wallet + KeyDescription to decrypt the
  share, enumerates BIP44-standard paths for every supported chain,
  probes each RPC in parallel, returns one row per (chain, variant)
  candidate.

  Candidates covered:
    - Bitcoin: BIP84 native segwit + BIP44 legacy
    - Litecoin: BIP84
    - Monacoin: BIP84 + BIP44
    - Bitcoin Cash: BIP44 (no segwit)
    - Dogecoin: BIP44 (no segwit)
    - Ethereum: BIP44 coin_type 60 mainnet (same derivation covers
      all EVM chains; probing other EVMs is a follow-up)
    - Solana: Sollet seed[:32] convention + Phantom SLIP-0010
      m/44'/501'/0'/0'. Both are "correct" depending on the wallet
      the user came from.

  Per-candidate probe errors land on `row.error` so one upstream
  failure doesn't fail the whole scan. Default 10 s per-candidate
  timeout; probing runs concurrently.

Wallet:promoteMnemonic

  Takes the chains the user selected from the probe output and, for
  each, creates a fresh MPC wallet whose master privkey is the
  mnemonic-derived privkey at that chain's BIP32 path. Each chain
  goes through a full tss-lib resharing — the old committee is a
  synthesized 1-of-1 share with Xi = derived privkey, the new
  committee is the TSS descriptors the caller provided.

  Source mnemonic wallet is NOT modified; caller deletes it
  separately once every migrated wallet is verified operational.

  secp256k1 source wallets only in this release; ed25519 mnemonic
  migration is a follow-up.

Derivation helpers moved to production

  derivePrivkeyFromSeed / parseBip32Path / slip10DeriveEd25519 /
  derivePubkeyForPath are now in wallet_raw.go (moved from test) so
  probe + promote + future fixes to the direct-si... (continued)

48 of 577 new or added lines in 4 files covered. (8.32%)

2741 of 14042 relevant lines covered (19.52%)

56.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
250
0.0
wltwallet/probe.go
225
0.0
wltwallet/promote_mnemonic.go
54
40.65
3.66% wltwallet/wallet_raw.go
Jobs
ID Job ID Ran Files Coverage
1 24839594979.1 23 Apr 2026 02:08PM UTC 108
19.52
GitHub Action Run
Source Files on build 24839594979
  • Tree
  • List 108
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24839594979
  • e9e20e33 on github
  • Prev Build on master (#24834742503)
  • Next Build on master (#24843611030)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc