To run
docker-compose up -dTo view stdout/stderr
docker-compose logs -fSSH into the docker container
docker-compose exec eosio /bin/bashFrom within container, kill and then start any keosd processes using custom
port to listen on (8899)
pkill keosd
keosd --http-server-address=localhost:8899In new terminal/shell ssh back into the docker container as before, and run
cleos --wallet-url=http://localhost:8899 wallet openSave password. This will create a default account for new.
Make sure default wallet is unlocked.
cleos --wallet-url=http://localhost:8899 wallet unlock
cleos --wallet-url=http://localhost:8899 wallet listEnter your password, and there should be a * beside the default wallet in the
result.
Next create the public/private key pair.
cleos --wallet-url=http://localhost:8899 create key
Private key: 5JXppxoXQUuc8VxtfmwfVrVx2JeyNpcpg9cVerSuxF8qNS2ARNQ
Public key: EOS5WUgzgXaFKZBbLcw6eNjPTekB6GskwM6N4MeHTWeGjVY4niQRoNow import both the genesis key (default: 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3)
and the key from above step
cleos --wallet-url=http://localhost:8899 wallet import 5JXppxoXQUuc8VxtfmwfVrVx2JeyNpcpg9cVerSuxF8qNS2ARNQ
cleos --wallet-url=http://localhost:8899 wallet import 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3Now with default wallet unlocked, and containing keys, you can create an account
cleos --wallet-url=http://localhost:8899 create account eosio myaccount EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS5WUgzgXaFKZBbLcw6eNjPTekB6GskwM6N4MeHTWeGjVY4niQRoThe 1st public key above (EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV)
is the public key of the eosio genesis account.
- eosio public key: EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
- eosio private key: 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3