i need a little script to interact with waves blockchain to distribute a token in percentage to holders and leasers of my node usually i use python anywhere to run the script
Script takes the holding amount of a token of an address how is leasing to the node.
The script separate the addresses in two parts: a 1% part and a 2% part
Addresses how are leasing less than 100 Waves are in the 1% part and address how are leasing more than 100 Waves are in the 2% part.
The script calculates the percentage of the holding of the token.
The Script send the calculated percentages of the token to the addresses
send 1% of the holding (when they lease less than 100 waves)
and send 2% of the holding (when they lease MORE than 100 waves)
Sending with attachment
The output is:
I can terminate in the script the Node address
I can terminate in the script the Token
I can terminate in the script the Waves amount how is splitting the leasers in 1% part and 2% part (sett to 100 waves but can be changed if needed)
I can terminate in the script the two %percentage part and change the percentage if needed.
I can write a message to 1% leasers
i can write a message to 2% leasers
About the recuiterMember since May 20, 2018 Kumar Piyush
from al-Fayyum, Egypt