Skip to main content

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
  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.

Metadata

Release files for bitsharesscripts 3.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bitsharesscripts 3.1.0
File Size Uploaded
bitsharesscripts-3.1.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bitsharesscripts 3.1.0
File Interpreter ABI Platform
bitsharesscripts-3.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / bitsharesscripts-3.1.0.tar.gz

Download URL bitsharesscripts-3.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cf6b82a730f4ac220ea69745ecc437d3e0c4eb0ddb6029331c2cd2da2f68a5bb
BLAKE2b-256 checksum
How to use checksums
2e17b11f919b89c97e914508f6c5983551b37fa58ad600fa019ca346cb30c676
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.7 Linux/4.19.67_p2-r2-debian-sources-lts

Release files / bitsharesscripts-3.1.0-py3-none-any.whl

Download URL bitsharesscripts-3.1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6224615d725d29c51e97364f8db293dc4c63c82368e02bc3701aabd590ce9028
BLAKE2b-256 checksum
How to use checksums
bb74cf3d8a87ff4ecc6ac50f7dade20bc85486d0705f1b15d3e695ccda556c42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.7 Linux/4.19.67_p2-r2-debian-sources-lts

Release history Release notifications | RSS feed

This release

3.1.0 This release

2 release files

3.0.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page