newaccount
Create an account, buy ram, stake for bandwidth for the account

Positionals

    creator TEXT - The name of the account creating the new account
    name TEXT - The name of the new account
    OwnerKey TEXT - The owner public key for the new account
    ActiveKey TEXT - The active public key for the new account

Options

    -h,--help Print this help message and exit
    --stake-net TEXT - The amount of BET delegated for NET bandwidth
    --stake-cpu TEXT - The amount of BET delegated for CPU bandwidth
    --vote-stake TEXT - The amount of BET delegated for VOTE bandwidth
    --buy-ram-kbytes UINT - The amount of RAM bytes to purchase for the new account in kibibytes (KiB), default is 8 KiB
    --buy-ram TEXT - The amount of RAM bytes to purchase for the new account in BET
    --transfer - Transfer voting power and right to unstake BET to receiver
    -x,--expiration TEXT - set the time in seconds before a transaction expires, defaults to 30s
    -f,--force-unique - force the transaction to be unique. this will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times
    -s,--skip-sign Specify if unlocked wallet keys should be used to sign transaction
    -d,--dont-broadcast - Don't broadcast transaction to the network (just print to stdout)
    -r,--ref-block TEXT set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake)
    -p,--permission TEXT - An account and permission level to authorize, as in '[email protected]' (defaults to '[email protected]')
    --max-cpu-usage-ms UINT - set an upper limit on the milliseconds of cpu usage budget, for the execution of the transaction (defaults to 0 which means no limit)
    --max-net-usage UINT - set an upper limit on the net usage budget, in bytes, for the transaction (defaults to 0 which means no limit)

Usage

Prerequisites

    An existing account
    A username that follows naming conventions
    two keypairs (for maximum security)
1
daobet-cli system newaccount eosio someusername EOS123456.. EOS123456...
Copied!
Last modified 2yr ago