Skip to content

Commit 9b17613

Browse files
feat: Add IOTA derivation path (#3653)
Add IOTA derivation path since they use `ed25519`, which our default resolution logic doesn't allow for SLIP-44 defined chains. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds the IOTA ed25519 derivation path `m/44'/4218'` to the supported snaps derivation paths. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 9fbbbd8. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent ac51af7 commit 9b17613

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/snaps-utils/src/derivation-paths.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ export const SNAPS_DERIVATION_PATHS: SnapsDerivationPath[] = [
185185
curve: 'ed25519',
186186
name: 'Massa',
187187
},
188+
{
189+
path: ['m', `44'`, `4218'`],
190+
curve: 'ed25519',
191+
name: 'IOTA',
192+
},
188193
];
189194

190195
/**

0 commit comments

Comments
 (0)