Coder Social home page Coder Social logo

pool-1's Introduction

COMMUNITY INFLATION POOL

Requires the stellar-base package pip3 install stellar-base

1

createpool.py will generate an address (with a given vanity suffix if required) and add each address in signers.txt as signers to the account & set the threshold for any transaction to at least 3 signatures. (this will need to be changed for LIVENET)

2

watch.py will monitor operations on the stellar network, looking for INFLATION. Once seen, it triggers the payout calculations to begin

3

generate.py will scrape the stellar.db file created by stellar-core & create the payment transactions for that inflation period. These are json-encoded and saved into transactions.dat

4

sign.py or sign.html can be used to sign the transactions.dat file in bulk, making it easy for the signatories to sign off on that weeks payout. Alternatively, the multisig-coordinator can be used to streamline the process. See the repository here

TODO:

  • Experiment with submitting transactions via account channels
  • More logging in case of failure

pool-1's People

Contributors

ianduvall avatar matheusb-comp avatar seiryuz avatar smn avatar texm avatar

Watchers

 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.