o1-labs / o1js

TypeScript framework for zk-SNARKs and zkApps
https://docs.minaprotocol.com/en/zkapps/how-to-write-a-zkapp
Apache License 2.0
473 stars 105 forks source link

Load private key from keystore file #1674

Open mitschabaude opened 3 weeks ago

mitschabaude commented 3 weeks ago

closes https://github.com/o1-labs/o1js/issues/1673

This shows how we could support loading keystore files in secure box JSON format from libsodium in mina-signer.

However, this currently relies on the libsodium-wrappers-sumo package which would add 1MB to the minified bundle size of mina-signer (currently 137.9kb)