Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.2] Add authority structure to cleos system newaccount #543

Merged
merged 3 commits into from
Jun 28, 2022

Conversation

ClaytonCalabrese
Copy link
Contributor

@ClaytonCalabrese ClaytonCalabrese commented Jun 27, 2022

EOSIO/eos#9021

Add the ability to use the authority struct when using cleos system newaccount

An example of how to create a new account using an authority structure

cleos system newaccount eosio testtesttest '{"threshold": 1, "keys":[{"key":"EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV", "weight":1}], "accounts":[{"permission":{"actor":"eosio.prods", "permission":"active"},"weight":1},{"permission":{"actor":"eosio.prods", "permission":"prod.major"},"weight":1},{"permission":{"actor":"eosio.prods", "permission":"prod.minor"},"weight":1}],"waits":[]}' --stake-net "1.0000 EOS" --stake-cpu "1.0000 EOS" --buy-ram-kbytes 4

Resolves: #400

@ClaytonCalabrese ClaytonCalabrese added 3.2 Candidate OCI OCI working this issue... labels Jun 27, 2022
@ClaytonCalabrese ClaytonCalabrese self-assigned this Jun 27, 2022
@heifner heifner changed the title Add authority structure to cleos system newaccount [3.2] Add authority structure to cleos system newaccount Jun 28, 2022
@ClaytonCalabrese ClaytonCalabrese merged commit 609f55d into main Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.2 Candidate OCI OCI working this issue...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backport: Add authority structure to cleos system newaccount
2 participants