Skip to content

Commit

Permalink
chore: Add BTC taproot derivation paths (#2695)
Browse files Browse the repository at this point in the history
Adds the BTC Taproot derivation paths to our hardcoded list since they
do not follow SLIP44.
  • Loading branch information
FrederikBolding authored Sep 3, 2024
1 parent 5f82540 commit a4a7c74
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/snaps-utils/src/derivation-paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ export const SNAPS_DERIVATION_PATHS: SnapsDerivationPath[] = [
curve: 'secp256k1',
name: 'Bitcoin Testnet Native SegWit',
},
{
path: ['m', `86'`, `0'`],
curve: 'secp256k1',
name: 'Bitcoin Taproot',
},
{
path: ['m', `86'`, `1'`],
curve: 'secp256k1',
name: 'Bitcoin Testnet Taproot',
},
{
path: ['m', `44'`, `501'`],
curve: 'ed25519',
Expand Down

0 comments on commit a4a7c74

Please sign in to comment.