steempy CLI

steempy is a convenient CLI utility that enables you to manage your wallet, transfer funds, check balances and more.

Using the Wallet

steempy lets you leverage your BIP38 encrypted wallet to perform various actions on your accounts.

The first time you use steempy, you will be prompted to enter a password. This password will be used to encrypt the steempy wallet, which contains your private keys.

You can change the password via changewalletpassphrase command.

steempy changewalletpassphrase

From this point on, every time an action requires your private keys, you will be prompted ot enter this password (from CLI as well as while using steem library).

To bypass password entry, you can set an environmnet variable UNLOCK.

UNLOCK=mysecretpassword steempy transfer <recipient_name> 100 STEEM

Common Commands

First, you may like to import your Steem account:

steempy importaccount

You can also import individual private keys:

steempy addkey <private_key>

Listing accounts:

steempy listaccounts

Show balances:

steempy balance account_name1 account_name2

Sending funds:

steempy transfer --account <account_name> <recipient_name> 100 STEEM memo

Upvoting a post:

steempy upvote --account <account_name>

Setting Defaults

For a more convenient use of steempy as well as the steem library, you can set some defaults. This is especially useful if you have a single Steem account.

steempy set default_account furion
steempy set default_vote_weight 100

steempy config
 | Key                 | Value  |
 | default_account     | furion |
 | default_vote_weight | 100    |

If you’ve set up your default_account, you can now send funds by omitting this field:

steempy transfer <recipient_name> 100 STEEM memo


You can see all available commands with steempy -h

~ % steempy -h
usage: steempy [-h] [--node NODE] [--no-broadcast] [--no-wallet] [--unsigned]
               [--expires EXPIRES] [--verbose VERBOSE] [--version]

Command line tool to interact with the Steem network

positional arguments:
                        sub-command help
    set                 Set configuration
    config              Show local configuration
    info                Show basic STEEM blockchain info
                        Change wallet password
    addkey              Add a new key to the wallet
    delkey              Delete keys from the wallet
    getkey              Dump the privatekey of a pubkey from the wallet
    listkeys            List available keys in your wallet
    listaccounts        List available accounts in your wallet
    upvote              Upvote a post
    downvote            Downvote a post
    transfer            Transfer STEEM
    powerup             Power up (vest STEEM as STEEM POWER)
    powerdown           Power down (start withdrawing STEEM from steem POWER)
    powerdownroute      Setup a powerdown route
    convert             Convert STEEMDollars to Steem (takes a week to settle)
    balance             Show the balance of one more more accounts
    interest            Get information about interest payment
    permissions         Show permissions of an account
    allow               Allow an account/key to interact with your account
    disallow            Remove allowance an account/key to interact with your
    newaccount          Create a new account
    importaccount       Import an account using a passphrase
    updatememokey       Update an account's memo key
    approvewitness      Approve a witnesses
    disapprovewitness   Disapprove a witnesses
    sign                Sign a provided transaction with available and
                        required keys
    broadcast           broadcast a signed transaction
    orderbook           Obtain orderbook of the internal market
    buy                 Buy STEEM or SBD from the internal market
    sell                Sell STEEM or SBD from the internal market
    cancel              Cancel order in the internal market
    resteem             Resteem an existing post
    follow              Follow another account
    unfollow            unfollow another account
    setprofile          Set a variable in an account's profile
    delprofile          Set a variable in an account's profile
    witnessupdate       Change witness properties
    witnesscreate       Create a witness

optional arguments:
  -h, --help            show this help message and exit
  --node NODE           URL for public Steem API (default:
  --no-broadcast, -d    Do not broadcast anything
  --no-wallet, -p       Do not load the wallet
  --unsigned, -x        Do not try to sign the transaction
  --expires EXPIRES, -e EXPIRES
                        Expiration time in seconds (defaults to 30)
  --verbose VERBOSE, -v VERBOSE
  --version             show program's version number and exit