Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (27 loc) · 1.69 KB

setting-up.md

File metadata and controls

43 lines (27 loc) · 1.69 KB
description
After installation, to start sending Mailchain messages on Ethereum, follow the steps below...

Setting Up

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 --network=mainnet --private-key=[PRIVATE-KEY-VALUE] --key-type=secp256k1
  • --protocol=ethereum
  • --network=mainnet or a testnet you are working on.
  • --private-keyof your account to be able to sign and decrypt messages.
  • --key-type=secp256k1 (for Ethereum).

{% hint style="info" %} 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. {% endhint %}

{% hint style="danger" %} 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. {% endhint %}

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