Git Product home page Git Product logo

merlox / manual-airdrop Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 4.0 426 KB

This application allows you to prepare the addresses and amounts in batches. Set the accounts in the accounts.js file and the amounts.js and execute the manual-airdrop.js for getting results.txt with all the batches so you can airdrop all of those manually. Use textmechanic.com for formatting the accounts and amounts. Make sure the addresses are valid by comparing the length of them with an address per line.

Home Page: https://medium.com/@merunasgrincalaitis

License: MIT License

JavaScript 100.00%

manual-airdrop's Introduction

manual-airdrop

REMEMBER to change the mainnet or ropsten used in erc20.js for your needs. Right now is using the mainnet to check the airdropped addresses to see if they have the required amounts

USAGE:

  1. First deploy the Airdrop.sol
  2. Send tokens to Airdrop.sol from the token to the airdrop contract enough to pay for the transfers. You can extract the tokens and ether later
  3. Set up your addresses in data/addresses and amounts in data/amounts
  4. Execute "node apps/manual-airdrop" to generate your accounts
  5. Start the airdrop from remix

This application allows you to prepare the addresses and amounts in batches. Set the accounts in the accounts.js file and the amounts.js and execute the manual-airdrop.js for getting results.txt with all the batches so you can airdrop all of those manually.

Note that this works for tokens with 18 decimals, for different amounts check the 3 apps and change em

  1. Npm install
  2. Delete all the files inside results/ or recreate the folder to make it empty for seeing the changes
  3. Change the address inside erc20.js to the token that you'll use
  4. Run node apps/check-addresses to see if there are any invalid addresses
  5. Run node apps/check-airdrop to check if the amounts airdropped are completed or not but before doing that make sure that the network you are using is mainnet. If not, change that inside that app
  6. Run node apps/manual-aidrop to generate the results.txt file that you'll use for the airdrop in your smart contract which is Airdrop.sol, make sure you deploy it with the right token address before using it

manual-airdrop's People

Contributors

merlox avatar

Stargazers

Hussaini Muhammad Auwal avatar William Madison avatar Arihant Jain avatar Orange avatar S G avatar

Watchers

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