A set of nodejs tools to take a current snapshot and deploy tokens on the EOS network
- Install Nodejs
- Clone this repository
paySnapshot.jswith your preferred eos node connection
airgrab = 'yourairgrabtoken'or
Get the most recent complete snapshot from https://www.eossnapshots.io/ by EOS New York
Change the csv to a single column of names and rename it
(These snapshots grab every account on EOS)
This tool only gets names from the "voters table" of EOS... meaning they are either a genesis account or have voted for a block producer or proxy.
If you don't pause blocks you may get duplicate names. Remove duplicates in excel or file editor. Rename the
node takeSnapshot.js. This will take a while.
snapshot-timestamp.csvand create a new file
snapshot.csvin the following format:
account name,quantityquantity should be just a number, no precision or symbol neccessary
If you want to run a test be sure to set broadcast: false and uncomment mockTransactions => 'pass'
payment-timestamp.csvto confirm the deployment went out to everyone desired.
This code is experimental
Run this code against testnets and test thoroughly before doing a mainnet deploy
As per the license, GenerEOS does not accept any responsibility or liability for loss of tokens, invalid deployments, deployment failures, or damages of any kind related to using these snapshot and deployment tools.