Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (34 sloc) 1.36 KB
title date pre draft weight
Frequently asked questions
2018-06-11 09:07:37 -0400
<b>4. </b>
false
6

Create Account

# replace <values> with your own values
# add keys to wallet
cleos --wallet-url <wallet url> --url <api endpoint url> wallet import <priv key>

# create account
# the staked amount should look like "1.0025 EOS" and require 4 numbers after the decimal
cleos --wallet-url <wallet url> --url <api endpoint url> system newaccount <creator account> <created account> <owner public key> <active public key> --stake-net "N.NNNN EOS" --stake-cpu "N.NNNN EOS" --buy-ram-kbytes 8 --transfer

Set Active Key

# replace <values> with your own values
cleos --wallet-url <wallet url> --url <api endpoint url> set account permission <account name> active <public key> owner

Set Owner Key

# replace <values> with your own values
cleos --wallet-url <wallet url> --url <api endpoint url> set account permission <account name> owner <public key> -p <account name>@owner

Vote for Producers

# replace <values> with your own values
# vote for multiple producers
cleos --wallet-url <wallet url> --url <api endpoint url> system voteproducer prods <account name> <producer 1> <producer 2>

# append vote for producer
cleos --wallet-url <wallet url> --url <api endpoint url> system voteproducer approve <account name> <producer>