Code to generate keys
Key is the core element of constructing Bitcoin trust network. The key usually consists of private key and public key. The private key is used to generate signatures and the public key is used to generate addresses. Bitcoin keys are generated by the elliptic curve algorithm SECP256k1. This data set contains the core code to generate the key.
There are three steps in the code: core variable definition, key object generation, public key generation and private key generation. You can use Visual Studio 2017 to run code.The annotation part of the code explains the meaning of the code statement in detail and can be used according to the prompts in the code.