Giter VIP home page Giter VIP logo

bep20_airdrop's Introduction

License: GPL v3 Build Status - GitHub

Simple CLI app for BEP-20 Airdrops on Binance

Allows controllable ERC-20/BEP-20 token airdrops by the given list of recipients and amounts. Simplifies control of sending and eliminates human mistakes. The process of airdrop looks like this:

  • fill in the list of recipients and amounts for each
  • verify the list, number of recepients and total sum
  • generate and sign transactions
  • top up sending account with tokens and ETH/BNB
  • execute (send) them

Installation

Clone repositiry. Create venv:

python -m venv venv

Install dependencies:

pip install -r requirements.txt

Using app

At any time run ./airdrop.py help to call help menu. To show current status ./airdrop.py show.

  1. ./airdrop.py init to initialize database - creates SQLite fine in the directory

  2. ./airdrop.py import to set sender's private key

  3. ./airdrop.py caribmars_token <token-address> to set caribmars token address for airdrop.

  4. ./airdrop.py token <token-address> to set token address for airdrop.

  5. ./airdrop.py update to update balances and current account's nonce. You can run it anytime.

  6. ./airdrop.py get_holder get caribmars token holder address list and balance after set caribmars token address.

  7. Add recipietns for airdrop, one recipient per command. Amounts are in decimal format. If you specify 1.49, it means you'll send 1490000000000000000 of token units (decimals=18 assumed).

./airdrop.py add <address> <amount>

  1. Sign all your transactions ./airdrop.py sign

  2. Send transactions on the wire, one at a time ./airdrop.py sign - sends first SIGNED transaction and it becomes SENT. And now you can check transaction hash in show menu.

  3. If the execution was interrupted and the receipt was not received. You can request it: ./airdrop.py receipt

Testing

pip install pytest
pytest

bep20_airdrop's People

Contributors

donj92 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.