- Make sure you have docker installed.
- Go to a directory you are comfortable with. For example
cd ~/Desktop. - Download the funding script with the following comand:
curl -O https://raw.githubusercontent.com/harmony-one/dapp-curve-contracts/master/scripts/fund.sh && chmod +x fund.sh- Create a CSV file of all the accounts you would like to fund. Here is the template.
- Download / save the CSV file to somewhere on your machine and note the path/location. For example
~/Downloads/fund.csv. - Go into the directory where you installed the script and run it:
cd ~/Desktop
./fund.sh -t 0x7093acfea31381780cc7038fa8cae477e9b69771 -f ~/Downloads/fund.csv
# Follow the instructionsNote that
0x7093acfea31381780cc7038fa8cae477e9b69771is the HRC20 token address
If you wish to mint tokens for the given accounts instead of transferring, you can do:
./fund.sh -t 0x7093acfea31381780cc7038fa8cae477e9b69771 -f ~/Downloads/fund.csv -m
Note that there is an assumption that the HRC20 token has 18 decimals of precision.