GithubHelp home page GithubHelp logo

zahedaziz / lisk-autovote Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simonmorgenthaler/lisk-autovote

0.0 1.0 0.0 14 KB

Script to vote automatically positive and negative from text files with delegate names, addresses and/or public keys

Python 100.00%

lisk-autovote's Introduction

Lisk-autoVote

Script to vote automatically from text files with delegate names, addresses and/or public keys.

Installation

Make sure to have installed the imported python modules time, httplib, socket, json, requests, os, yaml. For example in Ubuntu this is done with 'sudo apt-get install python-httplib2 python-requests python-yaml'. If you start the script with missing modules it will tell you which modules you have to install. Read also the header in autoVote.py, but you don't have to modify autoVote.py. All you have to adapt is config.yml.

Configuration

You have to modify the file config.yml to adapt it for your needs. See the instructions in config.yml. The script won't run if you don't adapt the mentioned constants. Add the delegates you want to vote for to the file you configured in config.yml (Default is votes.txt). You can entere the delegate name, its address or its publickey. Put every delegate on a new line (see votes.txt as example) You can add multiple configuration secions, to vote from different accounts, with different delegate files.

Usage

Make sure this script is executable with 'chmod +x autoVote.py' If you start the script with no parameters: './autoVote.py' it uses the default config section in config.yml. If you want to run a different config secion, you can add it as an argument. Example: './autoVote.py cc001'

If you like this script, please vote for my delegate 'cc001' on test- and mainnet, Thanks!

lisk-autovote's People

Contributors

simonmorgenthaler avatar

Watchers

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