Creating a new EOS (eosio) account

EOS mainnet has recently launched, and there’s still lack of tools and instructions for an average user. EOS accounts were generated automatically at the ond of ICO for those who kept their ERC20 tokens in their own Ethereum walltes, and took the time to create and register new EOS keys at EOS smart contract. As the mainnet starts operating, new accounts are needed for new users.

In this article, Alice is an EOS account owner, and she creates an account for Bob.

Setting up EOS software environment

Alice needs to set up the command-line tool on a Linux machine. The instructions are available in EOS wiki on Github. The build process takes a couple of hours, and it creates a full suite to run a testnet node. We don’t need that, and we will only use the cleos tool talking to mainnet API.

Alice chooses the API endpoint to connect to. There’s a number of Block Producers, and each has its own public API URL. You can easily find the URL by accessing from the BP’s web site. Here are a few examples of working URLs:

Alice needs to check that her tools are able to work with the mainnet. The command will output the latest block information. For her own security, Alice also verifies that the block information is the same as at https://eostracker.io/

Setting up a wallet

Alice has its EOS private key in a secure place, and she needs to import it to the machine where is installed. She creates a wallet named “default” and imports her private EOS key into it:

Generating Bob’s keys

Bob needs to create a pair of keys using one of the tools available. The private key needs to be stored secretly and never be shared.

Creating the account

Alice needs to have some liquid EOS on her account in order to create an account for Bob. When I tried this command, my account was charged EOS0.3249.

IMPORTANT: the new account name should be exactly 12 characters! Further on, we name the new account as “xxBob”

Now Bob can use his private key to operate his account on his own.

Telegram: cc32d9, EOS account: "cc32dninexxx"

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store