-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple usage example #496
Comments
👍 |
The best place to start is the header file: Creating a context: https://github.com/bitcoin-core/secp256k1/blob/master/include/secp256k1.h#L182 For example usage, see the tests. |
Hi! secret key this is the private key? If so, how to generate it? |
EC private keys are just random bytes. |
Dupe of #184 |
It would be interesting to provide a simple usage example in C / C++, i.e. how to use the library on an input private key to produce an output public key, ready to be SHA256d and RIPEMD160d.
Example:
The text was updated successfully, but these errors were encountered: