This is a python scripts collection for golos blockchain network.
change_password.py
- change all account keys using random generated password or user-providedgenerate_keypair.py
- just generate private and public keypairtransfer.py
- transfer some money to another accounttransfer_to_vesting.py
- transfer GOLOS to vesting balance (Golos Power)get_balance.py
- display account balancesget_balance_multi.py
- display balances of multiple accountsestimate_upvote.py
- estimate author payout simulating someone's upvoteestimate_curator_rewards.py
- estimate real curators rewardsestimate_median_price.py
- look up current witnesses price feeds and calculate new expected median priceget_voting_power.py
- calculate current voting power of specified accountget_bandwidth.py
- calculate used bandwidth of the account. Can be used in scripting as monitoring tool (-w 75 -q
)get_vesting_withdraws.py
- find all vesting withdrawals with rates and datesget_conversion_requests.py
- find all GBG conversion requestscreate_account.py
- create child accountfind_transfers.py
- scan account history to find transfersfind_rewards.py
- scan account history to find author or curation rewardswithdraw_vesting.py
- withdraw from vesting balance of one account to specified accountwithdraw_vesting_multi.py
- withdraw from vesting balance of multiple accounts to specified account
- golos node 0.18+
- Install pipenv.
- Run the following code
pipenv install
- Prepare working environment using virtualenv (see above)
- Copy
common.yml.example
tocommon.yml
and change variables according to your needs - Run the scripts:
pipenv shell
./script.py
exit
or
pipenv run ./script.py