Switch below the Eos/build/programs/cleos path. 1. Wallet Settings
The secret key needs to be saved and will be used when the back is unlocked.
Liyuechun:cleos yuechunli$./cleos Wallet Create
creating Wallet:default Save password to use in the
future to UN Lock this wallet.
Without password imported keys, won't be retrievable.
PW5HTKRZGANKGNKVGXC6ICWIWDO7PFSJWJADE2DJBT5BSNBWB7SPD "
2. Deploy the contract for account number
Liyuechun:cleos yuechunli$./cleos Set contract Eosio. /.. /contracts/eosio.bios-p Eosio
Liyuechun:cleos yuechunli$./cleos Set contract Eosio. /.. /contracts/eosio.bios-p Eosio
Reading wast/wasm from. /..
/contracts/eosio.bios/eosio.bios.wast ... Assembling WASM
... Publishing Contract
... Executed transaction:32735994889238e18ba60341bb79f6b674738727e9d5996991f8f34b496e3a18 3288 bytes 2200576 Cycles
# Eosio <= eosio::setcode {"Account": "Eosio", "Vmtype": 0, "vmversion": 0, "code": "
0061736d0100000001581060037f7e7f0060057f7e7e7e7e ... # Eosio <= eosio::setabi {"Account": "Eosio", "Abi": {"Types": [], "structs": [{"Name": "Set_account_ Limits "," base ":" "," Fields ": [{] n ...
Liyuechun:cleos yuechunli$
3. Create 2 key, import key
Liyuechun:cleos yuechunli$./cleos Create key
Private Key:5kg4i6ww6mfgxgjriu552kdaq8tqycu4mqtevvganwwbzqf1rd1 Public
key:eos5mske5dggsurc7k3sv9kwrev6e3gbbqasdiic3yajpwrw7c4uq
Liyuechun:cleos yuechunli$./cleos Create key
Private key:5kg2p7pra7wwrw2s53jiabur7phdtdscmzuwq8yvn8uamu8xemb public
key: EOS7WERHOOVJWQYLUQN5V6UDZNL5KQPGJBDMQOKTKXZ4BANZICWLX
Liyuechun:cleos yuechunli$./cleos Wallet Import 5kg4i6ww6mfgxgjriu552kdaq8tqycu4mqtevvganwwbzqf1rd1
imported private key for: Eos5mske5dggsurc7k3sv9kwrev6e3gbbqasdiic3yajpwrw7c4uq
Liyuechun:cleos yuechunli$./cleos Wallet Import 5KG2P7PRA7WWRW2S53JIABUR7PHDTDSCMZUWQ8YVN8UAMU8XEMB
imported private key for: EOS7WERHOOVJWQYLUQN5V6UDZNL5KQPGJBDMQOKTKXZ4BANZICWLX
Liyuechun:cleos yuechunli$
4. Create an account number based on the generated public key
$ Liyuechun:cleos yuechunli$./cleos Create account Eosio Eostoken Eos5mske5dggsurc7k3sv9kwrev6e3gbbqasdiic3yajpwrw7c4uq EOS7WERHOOVJWQYLUQN5V6UDZNL5KQPGJBDMQOKTKXZ4BANZICWLX
Liyuechun:cleos yuechunli$./cleos Create account Eosio Eostoken Eos5mske5dggsurc7k3sv9kwrev6e3gbbqasdiic3yajpwrw7c4uq EOS7WERHOOVJWQYLUQN5V6UDZNL5KQPGJBDMQOKTKXZ4BANZICWLX
executed transaction:e691042df8074a25f47b8364f58a03c2c407e64d2cbc7248e1e9a611a06fe547 352 bytes 102400 Cycles
# Eosio <= eosio::newaccount {"creator": "Eosio", "name": "Eostoken", "owner": {" Threshold ": 1," Keys ": [{" Key ":" eos5mske5dggsurc7k3sv9kw ...
5. View account Information
Liyuechun:cleos yuechunli$./cleos Get Account Eostoken
Liyuechun:cleos yuechunli$./cleos Get account Eostoken {"account_name"
: "Eostoken",
"permissions": [{
"Perm_name": "Active",