solana-developers / solana-cookbook

https://solanacookbook.com/
624 stars 344 forks source link

refactor: use new, lightweight library for deriving keys from mnemonic #461

Closed beeman closed 2 years ago

beeman commented 2 years ago

This patch updates the guide on how to derive private keys from mnemonic.

It uses the package micro-ed25519-hdkey which is a new package that replaces ed25519-hd-key.

The big benefit over using this new version is that you don't need to add polyfills (like stream-browserify, etc) and a custom webpack config to make it work, it works in browsers directly!

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
solana-cookbook ✅ Ready (Inspect) Visit Preview Oct 6, 2022 at 11:05PM (UTC)