wallet – Saving privateKey client side to local storage


I’m working on an SPV wallet using bitpay’s bitcore lib package.

Am I able to save to local storage the privateKey object generated with ‘new bitcore.PrivateKey()’

Or should I be converting it to WIF before setting it to local storage? Are there any drawbacks or advantages of doing it one way over the other?

Source link

Leave a reply