Skip to content

feat: Add Stellar to the known Snap derivation paths - #4097

Open
jeffnuclear wants to merge 1 commit into
MetaMask:mainfrom
jeffnuclear:add-stellar-derivation-path
Open

feat: Add Stellar to the known Snap derivation paths#4097
jeffnuclear wants to merge 1 commit into
MetaMask:mainfrom
jeffnuclear:add-stellar-derivation-path

Conversation

@jeffnuclear

@jeffnuclear jeffnuclear commented Aug 10, 2026

Copy link
Copy Markdown

Adds Stellar to SNAPS_DERIVATION_PATHS in snaps-utils, so the permission prompt for Snaps requesting snap_getBip32Entropy on the Stellar path shows "Manage Stellar accounts" instead of "Manage Unknown network m/44'/148' (ed25519) accounts".

Also, adds a unit test covering the new entry.

stellar_snap_mm

Note

Low Risk
Small metadata and test-only change to derivation path labeling; no crypto or permission logic changes.

Overview
Registers Stellar (m/44'/148', ed25519) in SNAPS_DERIVATION_PATHS, so Snap permission UI for snap_getBip32Entropy on that path shows a friendly "Manage Stellar accounts" label instead of an unknown-network message.

Because getSnapDerivationPathName only falls back to SLIP-44 for secp256k1, ed25519 coin types like Stellar must live in the hardcoded list. A unit test asserts the new mapping.

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

@jeffnuclear
jeffnuclear requested a review from a team as a code owner August 10, 2026 15:13
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.

1 participant