Skip to main content

Scripts for Golos blockchain

Project description


test Documentation Status

This is a python scripts collection for golos blockchain network.

For documentation on reusable parts, pleasee see documentation on reathedocs.

  • - make a donation for post
  • - change all account keys using random generated password or user-provided
  • - calculate profit from vesting holdings
  • - claim balance from accumulative to tip or vesting
  • - calculate current inflation or model long-term inflation
  • - just generate private and public keypair
  • - transfer some money to another account
  • - transfer GOLOS to vesting balance (Golos Power)
  • - display account balances
  • - display balances of multiple accounts
  • - look up current witnesses price feeds and calculate new expected median price
  • - script to estimate system debt in GBG, see ESTIMATE_GBG_DEBT
  • - get and print post/comment
  • - script to display global properties
  • - script to display current votable parameters
  • - calculate current voting power of specified account
  • - calculate used bandwidth of the account. Can be used in scripting as monitoring tool (-w 75 -q)
  • - find all vesting withdrawals with rates and dates
  • - find all GBG conversion requests
  • - script to obtain GBG price feed history
  • - script to display miner queue
  • - get witnesses voting for a particular chain param
  • - show voting for inflation targets properties
  • - script to obtain current info for specified witness
  • - script to display known witnesses, sorted by votes
  • - publish post to the blockchain
  • - print Golos Power for each sea habitant level
  • - create child account
  • - scan account history to find transfers
  • - upvote/downvote post or comment
  • - withdraw from vesting balance of one account to specified account
  • - withdraw from vesting balance of multiple accounts to specified account
  • - script to delegate vesting shares
  • - vote for witness
  • - remove vote from witness
  • - script to manipulate witness data in the blockchain, see UPDATE_WITNESS


  • golos node 0.18+

Installation via poetry

  1. Install poetry
  2. Run poetry install to install the dependencies
  3. Copy common.yml.example to common.yml and change variables according to your needs
  4. Now you're ready to run scripts:
poetry shell

Installation via pip

With pip you can install golosscripts package, which provides various functions and helpers:

pip install golosscripts

How to use

  1. Prepare working environment using virtualenv (see above)
  2. Copy common.yml.example to common.yml and change variables according to your needs

Project details

Download files

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

Files for golosscripts, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size golosscripts-0.3.3-py3-none-any.whl (17.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size golosscripts-0.3.3.tar.gz (16.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page