EOS developer on MacOS - Create wallets, accounts and save in the local EOS blockchain

in #cleos6 years ago (edited)

eos branch: dawn-v4.2.0

Starting EOS :
Terminal
$ cd ~/Documents/eos // cd to the directory where all EOS files are
$ nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --contracts-console //starts EOS

error message: 1671409ms thread-0 producer_plugin.cpp:627 start_block ] Not producing block because the irreversible block is too old [age:249104s, max:1800s]

Solution
adding --max-irreversible-block-age 99999999 at the end of the commande:
$ nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --contracts-console --max-irreversible-block-age 99999999

NEXT
$ cleos wallet create -n mywallet

Got a new wallet called mywallet

$ cleos create key

Generate a new pair of keys (public and private)

$ cleos wallet import {private key} -n mywallet

Linked the wallet mywallet to the generated account keys

$ cleos create account eosio my.eos.acc {public key} {public key}

Created a new account linked to my new wallet and saved in the EOS local blockchain

Now you can start using EOS with your newly created wallet and account

Coin Marketplace

STEEM 0.21
TRX 0.26
JST 0.039
BTC 96177.02
ETH 3370.51
USDT 1.00
SBD 3.07