Generate an address to make basic transactions on the Ethereum blockchain network.

Using Ethereum Mainnet...

Generate the keys

Use GenerateAsymmetricKeyPair to create an Ethereum key pair to be used for sending and receiving ether:

Encode the keys

Use BlockchainKeyEncode to derive a unique new Ethereum address from the public key:

  • The public key is used for sending ether.

Create QR code

Use BarcodeImage to create a QR code associated with this Ethereum address:

Send QR code

Use SendMessage to send the address and QR code to your mobile device:

  • If this is the first time you are sending a message, you will need to add a phone number to the Wolfram Integrated Services framework. Verify the phone number, then rerun SendMessage.

Save the private key

Use Export to save the private keys to a .wl file for later use:

  • The private key is used for receiving ether.

Using Ethereum Testnet...

Generate the keys

Use GenerateAsymmetricKeyPair to create an Ethereum key pair to be used for sending and receiving ether:

Encode the keys

Use BlockchainKeyEncode to derive a unique new Ethereum address from the public key:

  • The public key is used for sending ether.

Create QR code

Use BarcodeImage to create a QR code associated with this Ethereum address:

Send QR code

Use SendMessage to send the address and QR code to your mobile device:

  • If this is the first time you are sending a message, you will need to add a phone number to the Wolfram Integrated Services framework. Verify the phone number, then rerun SendMessage.

Save the private key

Use Export to save the private keys to a .wl file for later use:

  • The private key is used for receiving ether.

Notes

Mainnet and testnet encoding for Ethereum are the same, but it is important to remember that transactions sent to mainnet do not work on the testnet; they are independent of one another, even if they share the same encoding.