Zilliqa/zilliqa-js

generatePrivateKey is not a function in @zilliqa-js/crypto

schadokar opened this issue · 1 comments

Describe the bug
generatePrivateKey is missing from the @zilliqa-js/crypto npm package.
Using @zilliqa-js/crypto version 0.9.0.

Error
TypeError: zilliqa.generatePrivateKey is not a function

I found the generatePrivateKey method. It is inside the schorr method. Documentation needs to be updated.
zilliqa.schnorr.generatePrivateKey()