Skip to content

daithi-coombes/docker-eos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EOS docker workbench

Running

To run

docker-compose up -d

To view stdout/stderr

docker-compose logs -f

Creating 1st wallet

SSH into the docker container

docker-compose exec eosio /bin/bash

From within container, kill and then start any keosd processes using custom port to listen on (8899)

pkill keosd
keosd --http-server-address=localhost:8899

In new terminal/shell ssh back into the docker container as before, and run

cleos --wallet-url=http://localhost:8899 wallet open

Save 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 list

Enter 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: EOS5WUgzgXaFKZBbLcw6eNjPTekB6GskwM6N4MeHTWeGjVY4niQRo

Now 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 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

Now with default wallet unlocked, and containing keys, you can create an account

cleos --wallet-url=http://localhost:8899 create account eosio myaccount EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS5WUgzgXaFKZBbLcw6eNjPTekB6GskwM6N4MeHTWeGjVY4niQRo

The 1st public key above (EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV) is the public key of the eosio genesis account.

The genesis account: eosio

@see EOSIO/eos#4154 (comment)

  • eosio public key: EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
  • eosio private key: 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published