Skip to content

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

Merged
FrederikBolding merged 1 commit into
MetaMask:mainfrom
jeffnuclear:add-stellar-derivation-path
Aug 17, 2026
Merged

FrederikBolding merged 1 commit into
MetaMask:mainfrom
jeffnuclear:add-stellar-derivation-path

Conversation

@jeffnuclear

@jeffnuclear jeffnuclear commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

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
jeffnuclear added a commit to SentinelFi/stellar-metamask-snap that referenced this pull request Aug 10, 2026
@jeffnuclear

Copy link
Copy Markdown
Contributor Author

@Mrtenz for visibility

@jeffnuclear
jeffnuclear force-pushed the add-stellar-derivation-path branch from 6316406 to 23282dd Compare August 16, 2026 18:39
@FrederikBolding
FrederikBolding added this pull request to the merge queue Aug 17, 2026
Merged via the queue into MetaMask:main with commit 22be130 Aug 17, 2026
128 checks passed
jeffnuclear added a commit to SentinelFi/stellar-metamask-snap that referenced this pull request Aug 20, 2026
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