https://github.com/ibnzuk/trc20_token_airdrop_contract
TRC20 Token redistribution (Airdrop) dapp on Tron network
https://github.com/ibnzuk/trc20_token_airdrop_contract
airdrop airdrop-contract airdrop-example ibnz ibnz-developers ibnzdevelopers ibnzuk smart-contract-airdrop solidity solidity-example-airdrop token token-airdrop token-redistribution trc-20 trc20 tron
Last synced: 10 months ago
JSON representation
TRC20 Token redistribution (Airdrop) dapp on Tron network
- Host: GitHub
- URL: https://github.com/ibnzuk/trc20_token_airdrop_contract
- Owner: ibnzUK
- Created: 2021-06-30T07:18:13.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-06T11:42:22.000Z (almost 5 years ago)
- Last Synced: 2025-02-07T01:43:10.989Z (over 1 year ago)
- Topics: airdrop, airdrop-contract, airdrop-example, ibnz, ibnz-developers, ibnzdevelopers, ibnzuk, smart-contract-airdrop, solidity, solidity-example-airdrop, token, token-airdrop, token-redistribution, trc-20, trc20, tron
- Language: Solidity
- Homepage:
- Size: 140 KB
- Stars: 0
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TRC20_Token_Airdrop_Contract
TRC20 Token redistribution (Airdrop) dapp on Tron network
A smart contract on TRON main network to equaly redistribute TRC20 tokens.

# Smart contract on main TRON network
https://tronscan.org/#/contract/TSYmsMxx2m9b5o8ZDLXT2fAGSXNY2RgDL6/code
# Running instructions:
* After deploying, the deployer gets manager rights and can add 2 more admins to use the contract.
* To use contract with your token first call function setNewToken with your trc20 token address as an argument
* Enter your users. Function enterListOfUsers() takes an array of addresses that are eligible for airdrop ["TEST6KPenCBGCxTWC7fSoAb1YrhH2wom21", "TEST6............2, ..."]
* Top-up account with your TRC20 token, by simply sending tokens to the smart contract.
* Check redistribution amount with function howMuchEachGetting()
* Call startAirdrop() function
* Reset contract resetEverything()
## Known Issues, on Main Net.
Use no more than 100 - 130 addresses at the time. Longer arrays take too much time for EVM to execute causing an error to be thrown and that leads for operations to fail, but the manager still ends up paying operation fees.