Skip to content

fix: Support SLIP44 format changes - #204

Merged
FrederikBolding merged 2 commits into
mainfrom
fb/fix-format
Jul 2, 2026
Merged

fix: Support SLIP44 format changes#204
FrederikBolding merged 2 commits into
mainfrom
fb/fix-format

Conversation

@FrederikBolding

@FrederikBolding FrederikBolding commented Jul 2, 2026

Copy link
Copy Markdown
Member

The SLIP44 format changed, making our automatic update job fail, this PR adjusts the build script for it and updates the JSON file.


Note

Medium Risk
Changes affect derived BIP-44 coin-type hex values used by consumers of slip44.json; incorrect parsing or hex math could mis-route wallet derivations for affected coins.

Overview
Upstream SLIP-0044 dropped the hex column from its registry table, so the src/build.js generator no longer parses a 0x… field from slip44.md. It now reads coin type, symbol, and name, derives hardened coin type as 0x80000000 | index, and skips rows with empty symbol and name.

slip44.json is regenerated from that logic: many new coin-type entries are added, and hex values are updated where they no longer match the computed formula (e.g. Morpheum, Ice Network, Osmosis). One existing entry’s hex is normalized to lowercase (0x800010ca for Loca).

Reviewed by Cursor Bugbot for commit bd99a88. Bugbot is set up for automated code reviews on this repo. Configure here.

@FrederikBolding
FrederikBolding requested a review from a team as a code owner July 2, 2026 09:43
@FrederikBolding
FrederikBolding merged commit f27c20f into main Jul 2, 2026
22 checks passed
@FrederikBolding
FrederikBolding deleted the fb/fix-format branch July 2, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants