o1js icon indicating copy to clipboard operation
o1js copied to clipboard

Mina-signer: mention private key conversion function when `PrivateKey.fromBase58()` fails

Open mitschabaude opened this issue 10 months ago • 3 comments

Several users of mina-signer have been trying to use it with out of range private keys and ran into an error.

That's why we introduced a conversion function to support these private keys. That function should be mentioned in the error message, whenever PrivateKey.fromBase58() fails with an error containing

Scalar: inputs larger than XXX are not allowed, got YYY

mitschabaude avatar Apr 12 '24 12:04 mitschabaude

Hey I would like to help this issue if it is still available. @mitschabaude

emirsoyturk avatar Jun 16 '24 09:06 emirsoyturk

@emirsoyturk yes that would be great! It's available

mitschabaude avatar Jun 16 '24 09:06 mitschabaude

Just opened a PR

emirsoyturk avatar Jun 16 '24 10:06 emirsoyturk