rpuzzle icon indicating copy to clipboard operation
rpuzzle copied to clipboard

Add support for WIF strings

Open ty-everett opened this issue 4 years ago • 0 comments

This is a simple change that enabled people to provide a WIF-formatted private key string as the second parameter.

I was having an issue where key instanceof PrivateKey was failing due to a complex peer dependency hoisting problem in my project (a [email protected] PrivateKey is not an instance of [email protected] PrivateKey).

This provides a fix, and also makes it more convenient for anyone else.

ty-everett avatar Oct 24 '20 00:10 ty-everett