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_worker.py
- Display worker 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
Note: some scripts are sending transactions, you need to add private active keys for your accounts via uptick addkey
- Make sure you have installed required packages:
apt-get install gcc make libssl-dev
- Install poetry
- Run
poetry 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:
poetry shell
./script.py
Reusable parts are being moved slowly into bitsharesscripts
package namespace. It can be installed via pip install bitsharesscripts
.