'i want implement ICO Contract for token contract
I have some simple ico contracts for airdrop and presale with lock token future to lock token until ico end and I want to know how to connect it to token contract
Solution 1:[1]
You have 2 way for doing this the first is to create new wallet and put all presale token in the new wallet and then give allowance for the ico contract to controle this wallet and after this do methods for recieve ethers in the contract and transfer from the wallet of presale Second way is to send the token into the contract and send from the contract token
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Mohamad Al Zohbie |