Git Product home page Git Product logo

airdrop-file-gen's Introduction

Airdrop-File-Gen

A script to generate Airdrop file according to the Stake/Delegations of users from another Token or Tribe. (Hive-Engine)

It can be used with multiple options and limits. it generate a file for airdrop, that file can be executed with airdrop-tool Script.

After generating the file you can use it airdrop tokens with this script


Configuration

To generate Airdrop file it has to be configured first, it is easy and simple:

{
    "token" : {
        "symbol" : "" // symbol of the token you want to get users from
    },
    "limits" : {
        "min_stake" : 0, // minimum amount of stake to count the user in
        "max_stake" : 0 // maximum amount of stake to count in
    },
    "enable_above_max_users" : false, // set it true to include the users above max range
                                      // it will not get the reward bigger, reward will be
                                      // calculated with the max_stake
    "reward_pool" : 0 // total reward pool, reward for per user will be calculated with it
}

Finalizing

Now install Dependencies and Run it

$ npm install
$ node filegen.js

It will generate a airdrop-File according to the configurations in the files Folder every time you run it.


Development

Encounter any issue or Bugs, Please report them Here.

Bot Developed by @ali-h on hive, @Ali H#7057 on Discord.

airdrop-file-gen's People

Contributors

ali-h 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.