This is a small scripts collection for doing various stuff in Bitshares
balances_as_btc.py
- Summarize all assets on all accounts and show BTC valuecancel_all_orders.py
- Cancel all orders on the specified accountcreate_account.py
- Create new account with random password and providing all keys to stdoutget_account.py
- Display account objectget_asset.py
- Display asset objectget_balance.py
- Display account balancesget_balance_multi.py
- Display summarized balance of multiple accountsget_feeds.py
- Show price feeds for specified assetget_keys.py
- Generate private and public keys from account name and passwordget_op_id.py
- Display operation id numbers and corresponding nameget_witness.py
- Display witness objectupdate_keys.py
- Change account keys using generated random password and providing all keys to stdout
- Make sure you have installed required packages:
apt-get install gcc make libssl-dev
- Install pipenv or:
# Install pip and pipenv
sudo apt install python3-pip python3-dev
pip3 install --user pipenv
# Add pipenv (and other python scripts) to PATH
echo "PATH=$HOME/.local/bin:$PATH" >> ~/.bashrc
source ~/.bashrc
- Run
pipenv install
to install the dependencies - Copy
common.yml.example
tocommon.yml
and change variables according to your needs - Now you're ready to run scripts:
pipenv shell
./script.py
exit
Note: some scripts are sending transactions, you need to add private active keys for your accounts via uptick addkey