Account¶
Prerequisites¶
Install cleos from: https://github.com/EOSIO/eos/releases
Create Account¶
Mainnet¶
cleos create key --to-console > keys.txt
export DSP_PRIVATE_KEY=`cat keys.txt | head -n 1 | cut -d ":" -f 2 | xargs echo`
export DSP_PUBLIC_KEY=`cat keys.txt | tail -n 1 | cut -d ":" -f 2 | xargs echo`
Save keys.txt somewhere safe!
Have an exising EOS Account¶
Kylin¶
Create an account
# Create a new available account name (replace 'yourdspaccount' with your account name):
export DSP_ACCOUNT=yourdspaccount
curl http://faucet-kylin.blockzone.net/create/$DSP_ACCOUNT > keys.json
curl http://faucet-kylin.blockzone.net/get_token/$DSP_ACCOUNT
export DSP_PRIVATE_KEY=`cat keys.json | jq -e '.keys.active_key.private'`
export DSP_PUBLIC_KEY=`cat keys.json | jq -e '.keys.active_key.public'`
Save keys.json somewhere safe!
Account Name¶
# Create wallet
cleos wallet create --file wallet_password.pwd
Save wallet_password.pwd somewhere safe!
Import account¶
cleos wallet import --private-key $DSP_PRIVATE_KEY