New Account
Description:
Create a new account
Specify the authority structure with either '--auth-file' or '--auth-key'.
With --auth-key, the provided EOS public key will be used for both the
owner and active permissions.
With --auth-file, you can create authority structures for both owner
and active, from the start. Here is a sample auth file in YAML:
---
owner:
threshold: 2
keys:
- key: EOS6MRyAjQq8ud7hVNYcfn................tHuGYqET5GDW5CV
weight: 1
waits:
- wait_sec: 300
weight: 1
active:
threshold: 1
accounts:
- permission:
actor: otheraccount
permission: active
weight: 1
---
Usage:
eosc system newaccount [creator] [new_account_name] [flags]
Flags:
--auth-file string File containing owner and active permissions authorities. See example in --help
--auth-key string Public key to use for both owner and active permissions.
--buy-ram string The amount of EOS to spend to buy RAM for the new account (at current EOS/RAM market price)
--buy-ram-kbytes int The amount of RAM kibibytes (KiB) to purchase for the new account. Defaults to 8 KiB. (default 8)
--setpriv Make this account a privileged account (reserved to the 'eosio' system account)
--stake-cpu string Amount of EOS to stake for CPU bandwidth (required)
--stake-net string Amount of EOS to stake for Network bandwidth (required)
--transfer Transfer voting power and right to unstake EOS to receiver