Create and Share a Blockchain Address

Cryptographic keys are typically the most important numbers for users to access their cryptocurrency. Any key generated using GenerateAsymmetricKeyPair can be encoded in a blockchain-compatible format with BlockchainKeyEncode and then shared. This example shows how to share the address using a QR code, a common method.

First, create a pair of private and public keys using elliptic curves techniques.

Use BlockchainKeyEncode to generate an Ethereum address based on the PublicKey.

Use BarcodeImage to generate a QR code of the address and SendMessage to send it to your mobile device.

Related Examples

de es fr ja ko pt-br zh