feat minor wallet-csv feat/phase-2g-bundle
AI Agent git-import/068377df · 114 days ago · Apr 3, 2026 · Diff

feat(wallet-csv): add Kraken, Binance, MetaMask, Phantom, Ledger Live normalisers

Extends the wallet-csv importer with five named exchange/wallet format normalisers, bringing the total to nine auto-detected formats:

- Kraken ledger export: strips X/Z ticker prefix (XXBT→BTC, ZUSD→USD); falls back to refid when txid is empty - Binance deposit/withdrawal + spot wallet history: two Binance CSV shapes distinguished by header fingerprint; network inferred from Network column - MetaMask/Etherscan address export: direction inferred from Value_IN(ETH) vs Value_OUT(ETH) since user address is not in the CSV - Phantom (Solana): uses Signature as canonical tx id; network hardcoded - Ledger Live: signed Operation Amount gives direction; network inferred from a ticker→chain lookup table (BTC→bitcoin, ETH→ethereum, etc.)

Also: - Extend DIRECTION_MAP with staking/earn/reward/airdrop/swap/trade values - Generalise network-specific tags in buildNote (eth-tx, sol-tx, btc-tx …) instead of ICP-only - Update docs/IMPORT-SOURCES.md: named format auto-detection table, per-format CLI examples, updated generic column alias table

sha256:848ea406ca8b5635904883b004fae7026e72f15276e3ea87d117986269579e96 sha
sha256:9d21312928d2d20b4b11361aba95ca274f0bc72826472c5a3c84e9cad30f7148 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:848ea406ca8b5635904883b004fae7026e72f15276e3ea87d117986269579e96 --body "your comment"