How to Create Steemit Accounts using the Steempy CLI
I just tried to create a new Steemit account using Steempy and got an error, so as much to make a note for myself as help others in the same situation, here is what you need to do to create a Steemit account on your command line using Steempy!
Here is the first error I got:
ValueError: Not creator account given. Define it with creator=x, or set the default_account using steempy
That is because I was missing the parameter for which account should be the creator.
This is the correct format, if your creator account is not already stored as the default:
steempy newaccount NEWACCOUNTNAME --account YOURACCOUNT
If the account already exists you will see this error:
AccountExistsException
If this error shows ...
!check_max_block_age( _max_block_age ):
... then your chosen node might be bad/dow. If so you can try:
steempy set nodes https://rpc.steemviz.com
Once you have had some errors you might get this error:
ValueError: Key already in storage
You will need to list your accounts:
steempy listaccounts
... then delete the bad keys ...
steempy delkey BADKEYHERE000111QWERTYUIOPQWERTYUIOP
Hope this helps!