There isn't a call to generate it in the API itself? (check in the .h file)

Reply to this note

Please Login to reply.

Discussion

I guess it could also be just a constructor of course

no, i checked those files. i can drive a keypair from a seckey. but i can't generate a seckey. based on what i saw.

Right, i just looked. I think you just get 32 bytes from /dev/urandom, as it notes there you have a negligible chance of an invalid seckey. But also you can check there, right.

Mostly you just use bip32 master secrets ofc, in practice.

thanks a lot. i was thinking about that as well, but i thought its too simple to be real. that's wonderful!

generally im writing some golang bindings for this library and im trying to provide an api to generate a keypair. im not sure how much it makes sense at all. since the original source says you can read random bytes yourself.