Giter Club home page Giter Club logo

bitshares-scripts's Introduction

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.

bitshares-scripts's People

Contributors

bitphage avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.