Skip to main content

A set of scripts for BitShares

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitsharesscripts-2.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

bitsharesscripts-2.0.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file bitsharesscripts-2.0.0.tar.gz.

File metadata

  • Download URL: bitsharesscripts-2.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.3 Linux/4.19.67_p2-r2-debian-sources-lts

File hashes

Hashes for bitsharesscripts-2.0.0.tar.gz
Algorithm Hash digest
SHA256 08b45da4f332b61293538705b4657d655c6608bc611bc3139eebf2915b3e8d55
MD5 763fcf0b8db15b521944b9f99d879f4f
BLAKE2b-256 3649bde7e41f16be233f9dce9c9b449bb1f92a0694b2936bde7a7a12f5dda680

See more details on using hashes here.

File details

Details for the file bitsharesscripts-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: bitsharesscripts-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.3 Linux/4.19.67_p2-r2-debian-sources-lts

File hashes

Hashes for bitsharesscripts-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a233477a86576417cef6551d629193e268331f028e9a16c56e08c9df9a4fb029
MD5 77b99d6118c353763f1f8f538d4fabc0
BLAKE2b-256 087ce1b6f5a5e13c3bb0d402b33f85c3e04702dbf188a380051dda59399a5e66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page