Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Add authority structure to cleos system newaccount #9021

Merged
merged 3 commits into from
May 5, 2020

Conversation

deckb
Copy link
Contributor

@deckb deckb commented Apr 29, 2020

Change Description

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

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

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

@deckb deckb requested a review from heifner April 29, 2020 01:52
Copy link
Contributor

@heifner heifner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve conflict

@heifner
Copy link
Contributor

heifner commented May 1, 2020

@deckb Can you add some examples and more information for documentation @lparisc to the PR description.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants