dashed-slug.net › Forums › Airdrop extension support › airdrop configuration question › Reply To: airdrop configuration question
Hello,
Perhaps I did not explain myself very well. At the moment you can only
1. give a fixed amount to each user
2. give an amount that is proportional to a current user balance
This does not say anything about how much the total to distribute is. The plugin will only tell you after the airdrop, how much more money you should deposit to the hot wallet, so that all the users can withdraw their balance.
IF you know that you have 10,000 users, then by giving each 10 doge, you know that you have distributed 10*10,000 = 100,000.
If, on the other hand, you want to distribute proportionally to the existing Litecoin balances, do this:
1. Deposit the doge using the address shown at “Wallets” -> “Cold storage” -> Doge -> Deposit (see the address at the bottom of the screen). By sending the 100,000 doge to this address you are adding it to the hot wallet of your site, but none of it is yet assigned to user balances (this is done when you actually perform your airdrop).
2. Go to the adapters list (“Wallets” -> “Adapters”), and see what the “Sum of user balances” is for Litecoin. Let’s say for example that there is 200 Litecoin in total that all of your users have.
3. You want to distribute 100,000 Doge to these Litecoin holders. Since there are 200 Litecoin in total, you would need to use a proportional ratio of 100,000 / 200 = 500.
4. Go to “Tools” -> “Airdrop” and set the following:
Coin to distribute: Dogecoin
Distribute to users with role: any
Deposit tag: (leave as is)
Comment: (A notification text that describes your airdrop. Users will see this as a comment on their deposit transaction.)
Amount: 0
Parent coin for airdrop: Litecoin
Factor: 500
To be clear, users who have 1 Litecoin will receive 500 Dogecoin, users who have 10 Litecoin will receive 5000 Dogecoin, etc.
5. After you have performed the airdrop, go to “Wallets” -> “Adapters” again and check the new “Sum of user balances” for Dogecoin. This should not be higher than the “Hot Wallet Balance”, or your users will not be able to actually withdraw their new Doge.
If for some reason you believe that you made a mistake with your airdrop, you can go to your MySQL console (or phpMyAdmin SQL console) and use the deposit tag to delete only the transactions that correspond to this airdrop. For example, let’s say that your airdrop had tags: airdrop ad-run-5dcbc3edc12bc
. You would run a command such as the following: DELETE FROM wp_wallets_txs WHERE tags LIKE '%ad-run-5dcbc3edc12bc%';
and that would wipe out all of the deposit transactions created on step #4. You can now try again.
I hope this is somewhat more clear, but please let me know if you have any more questions.
with regards