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

KarpelesLab / libwallet / 24834742503
25%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2026 12:25PM UTC
Jobs 1
Files 106
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:17PM UTC coverage: 20.0%. Remained the same
24834742503

push

github

MagicalTux
test: BIP44 vectors pin the restore-from-mnemonic math

Locks down what addresses the derivation pipeline must produce so
a future change doesn't silently land imports on the wrong address
and lose user funds in the restore flow.

Secp256k1 vectors (mnemonic "drop clever eagle…", 15 words):
  m/44'/0'/0'/0/0  → 1PFNjDKjBMA25oLqfY8Y4EmRR51T4b5NCM   (BTC P2PKH)
  m/44'/60'/0'/0/0 → 0x2f0765840477A3c7F76EEc53663006bA7c974d31 (EVM)
  m/84'/0'/0'/0/0  → bc1qrsje8aswzyhyg94us33mlcrsfds4vd5f7th9eh (BTC native segwit)

Ed25519 vector (mnemonic "debris spring slab…", 12 words):
  seed[:32] (no derivation) → FeAf77cBkToyr9b59TfnC3rZES6UddQdctfXQvwQJNuR

Uses ecckd.FromBitcoinSeed + Derive for secp256k1 (full BIP32 with
hardened steps, which already worked — the existing Account flow
just never exercised hardened paths). Solana's "correct" path is
environment-dependent: Sollet / Solana Mobile / Backpack use
seed[:32] directly (matches the vector here); Phantom / Solflare /
solana-web3.js use SLIP-0010 m/44'/501'/0'/0'. Both will be
auto-detected at import time by probing on-chain activity (v0.5.0);
for now this test covers the math for both so we don't regress
when we wire it in.

No production wiring yet — the existing mnemonic import still
lands on the BIP32 master (m), not at the BIP44 standard paths.
That fix is the next step: Account.DerivationPath + sign path
rewrite for mnemonic wallets. Test will flip from "locks the math"
to "locks the live flow" once those land.

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

2693 of 13465 relevant lines covered (20.0%)

60.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24834742503.1 23 Apr 2026 12:25PM UTC 106
20.0
GitHub Action Run
Source Files on build 24834742503
  • Tree
  • List 106
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24834742503
  • d03f11ed on github
  • Prev Build on master (#24833063430)
  • Next Build on master (#24839594979)
  • 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