Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitphage/bitshares-scripts
A set of scripts for BitShares
https://github.com/bitphage/bitshares-scripts
bitshares python scripts
Last synced: about 2 months ago
JSON representation
A set of scripts for BitShares
- Host: GitHub
- URL: https://github.com/bitphage/bitshares-scripts
- Owner: bitphage
- License: mit
- Created: 2019-01-23T15:48:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:40:23.000Z (about 2 years ago)
- Last Synced: 2024-10-07T17:20:01.225Z (3 months ago)
- Topics: bitshares, python, scripts
- Language: Python
- Homepage:
- Size: 103 KB
- Stars: 7
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-bitshares - bitshares-scripts - a set of python scripts. (Libraries / Tools and Scripts)
README
bitshares-scripts
=================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 value
* `cancel_all_orders.py` - Cancel all orders on the specified account
* `create_account.py` - Create new account with random password and providing all keys to stdout
* `get_account.py` - Display account object
* `get_worker.py` - Display worker object
* `get_asset.py` - Display asset object
* `get_balance.py` - Display account balances
* `get_balance_multi.py` - Display summarized balance of multiple accounts
* `get_feeds.py` - Show price feeds for specified asset
* `get_keys.py` - Generate private and public keys from account name and password
* `get_op_id.py` - Display operation id numbers and corresponding name
* `get_witness.py` - Display witness object
* `update_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`
Installation via poetry
-----------------------1. Make sure you have installed required packages: `apt-get install gcc make libssl-dev`
2. Install [poetry](https://python-poetry.org/docs/)
3. Run `poetry install` to install the dependencies
4. Copy `common.yml.example` to `common.yml` and change variables according to your needs
5. Now you're ready to run scripts:```
poetry shell
./script.py
```Reusable parts
--------------Reusable parts are being moved slowly into `bitsharesscripts` package namespace. It can be installed via `pip install bitsharesscripts`.