Hackathon: Hack the Network
- It Take some required files like csv, fs, etc, Koii-sdk and some wallet paths.
- It creates tools to be used for transfering Koii.
- It takes CSV file's path in a variable.
- It reads the CSV file and takes Name & Wallet Address from that.
- It adds all the Wallet Addresses to a new list
- It reads a Wallet from which the Koii would be transferred to others
- At last, KOII DROP is transferring 0.05 Koii to each to those Wallet adresses present in that list.
- Reading the CSV file
- Storing all the Wallet Addresses and reading a Wallet from which Koii would be transferred
- Transfering Koii to the Wallet Addresses present
- Clone the repository.
- Install the required modules via
npm install
- Add your wallet with its name saved as wallet.json in the cloned repo folder.
- Add a csv file with its name saved as data.csv in the cloned repo folder.
- The csv file should have two column with their header name and data:
- NAME
- WALLET ADDRESS
- Run the script with
node app.js
- After running the script, Koii tokens will be transferred to the wallet addresses from the csv file.