How to Create Steemit Accounts using the Command Line Steempy

in #steemit8 years ago

Chris — chrisg@ubuntu-512mb-nyc3-01_ ~_steemit — ssh chrisg@165.227.186.76 — 133×46-3.png

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!

Sort:  

You got a 2.97% upvote from @postpromoter courtesy of @makerhacks!

Want to promote your posts too? Check out the Steem Bot Tracker website for more info. If you would like to support the development of @postpromoter and the bot tracker please vote for @yabapmatt for witness!

So when using Steempy

steempy newaccount NEWACCOUNTNAME --account YOURACCOUNT

This creates with delegation or with steem -> SP? From what I know Steempy's default is to create with steem. How do I change this default to create account with delegation?

I think you can use the fee parameter

No I’m making accounts for posting about different article topics because over posting on a single account is looked down on.