Setting Up

After installation, to start sending Mailchain messages on Ethereum, follow the steps below...

Add Account

To send and receive messages with Mailchain on Ethereum, you will need to add an existing account (or create a new one and save the private key).

mailchain account add --protocol=ethereum --private-key=[PRIVATE-KEY-VALUE] --key-type=secp256k1
  • --protocol=ethereum

  • --private-keyof your account to be able to sign and decrypt messages.

  • --key-type=secp256k1 (for Ethereum).

Mailchain stores your private key in an encrypted format, a passphrase is required.

Enter a non-guessable passphrase, and again to confirm it. You must remember your password to decrypt the key later to send or receive messages.

You should never expose your private keys to an entity you don't trust.

Mailchain stores your private key locally, in an encrypted format. Your private keys are never sent anywhere. They are only used to decrypt messages data, and sign transactions.

Mailchain Settings

By default, Mailchain comes preconfigured with some default values to make it easier to get started. Etherscan is configured by default, but Etherscan recently made it a requirement to use an API key to access the API.

To obtain an API key, follow the instructions here: https://etherscan.io/apis.

To add the API key to the Mailchain Client, follow the instructions here: Mailchain Settings: Viewing and Updating