Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (35 sloc) 2.13 KB
description
After installation, to start sending Mailchain messages, follow the steps below...

Setting Up

Add Account

To send and receive messages with Mailchain you will need to add an account. To do this you will need a private key for an Ethereum account.

mailchain account add --chain=ethereum --private-key=[PRIVATE-KEY-VALUE]

{% hint style="danger" %} If you're a developer working in the latest version of master branch, you may need to run the following command instead. This is related to a pending release:
mailchain account add --chain=ethereum --private-key=[PRIVATE-KEY-VALUE] {% endhint %}

  • --protocol is the protocol which the key is added to. Currently supported [ethereum].
  • --private-key the private key value which should be added. The public key and account will be calculated.
  • --passphrase is can be optionally supplied in the command line or at the prompt when the application starts.

{% 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 %}

Serve

After you have added the account, you are ready to start the application and serve the api.

To start the application, run:

mailchain serve

When prompted enter the same passphrase as when you added the account.

You are now ready to start sending and receiving mails. Navigate to https://inbox.mailchain.xyz to see your mailbox.

The Mailchain web interface has all the functionality needed to send and receive messages. It's easy and fun to use. For more information on switching between Mainnet and testnets, see Mailchain Web Interface.

You can’t perform that action at this time.