1.1.1 • Published 3 years ago
artkdev-sale v1.1.1
ArtKDevSale
Mainnet contract: link Testnet contract: link
The main idea of the ArtKDevSale contract is to sell ArtKDev ERC-20 tokens.
Navigation
Installation
npm installTesting
truffle run coverageDeploy
truffle dashboardtruffle migrate --network dashboardUsage
Changing a token price for sale
If you want to set a new token price for sale, you should use a changeTokenPrice() function.
  function changeTokenPrice(uint256 _newPrice) external;Testnet tx: link
Ending token sale
If you want to end a token sale, you should use a endSale() function.
    function endSale() external payable;Testnet tx: link
Buying tokens
If you want to buy some tokens, you should use a buyTokens() function.
  function buyTokens(uint256 _numberOfTokens) external payable;Testnet tx: link
License
ArtKDev's contracts is released under the MIT License.