Chatbots flow

Managing Your Everlife Avatar

This document contains instructions for setting up and running your
Everlife avatar on your own machines.



In order to make it easy for you to deploy, rather than needing you to
install all the various dependencies that the avatar requires, we have
packaged the avatar into a Docker container.

Mac Pre-requisities

  1. Install Docker
  2. Install Yarn: brew install yarn

Windows Pre-requisities

  1. Install Docker
  2. Install Cygwin: 64 Bit Version or
    32 Bit Version
  3. Install Yarn

To get started, please ensure you have started Docker from Desktop Shortcuts.


In order to get a working avatar, you need to set it up and configure
Telegram communication channel with it. The steps
for doing this are as follows:

  1. Unzip the avatar into your $HOME directory
  2. Run ./ setup
  3. Go to Telegram to create a bot by
    typing /newbot command to create your telegram bot.
  4. The BotFather will ask you for a name and username, then generate an
    authorization token for your new bot. The token is a string along the
    lines of 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw.
  5. We now need to link this new telegram bot with your avatar. To do
    this, simply save the telegram token in

Set up your Stellar Wallet

In order to safeguard the wallet, it is password protected. So that the
user does not need to type in this password again and again it needs to
be saved once. In order to do this you need to do the following:

  1. Load the node $> ./ enter
  2. Go to the Stellar Server # cd services/elife-stellar
  3. Run the password manager # node pw

When prompted for the password, pick a good password that you are

Migrating old nodes (from version < 3.0.0)

If you have installed a node earlier than version 3.0.0, you will need
to migrate your stellar wallet to be compatible with the latest version.

Steps to do this:

  1. Make a backup of your existing password file. You will find this
    hidden file in your folder with the name .luminate-pw: mv <some backup location>
  2. Regenerate your Stellar Wallet password by using the same steps
    above. You must use the same password you have used when setting up the node. #> ./ enter # cd services/elife-stellar # node pw
  3. Download
  4. Point it to your stellar account. You will find your account in the directory. The filename will end with
    .stellar yarn start --to v2 /path/to/
  5. Start your node and you’re ready to go

Your Data

The avatar’s data always lives in an adjoining folder It
is recommended that you backup this folder as it contains your
Everchain, your database, and your Stellar wallet.



Starting and Chatting with Your Avatar

Now that your avatar is set up you can start him up by running

    ./ avatar

Now you can go to your Telegram and start chatting!

Stopping your avatar

Your avatar will keep running in the background and is expected to run
even after you restart your machine. To stop the avatar please run:

    ./ stop

Next steps

  1. Join the Everlife network through an Avatar Hub.Contact our
    support channel in discord to get your invite code to join the hub
    and inform your avatar that you would like to join this Avatar Hub by
    saying /use_invite xxxx
  2. Install and try out various skills "install calculator" "install what-wine"

Feel free to provide us your feedback and issues in our discord support channel.