Sample ERC20 Token Contract
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DKYToken.sol
IERC20.sol
README.md
SafeMath.sol
sampleImage.png

README.md

ERC Token Contract

IERC20.sol file is an abstract contract that outlines the standard functions needed for ERC20 Token.

SafeMath.sol file is being used to avoid overflow and underflow attack whenever performing mathematical operations such as add, sub, mult etc.

DKYToken.sol file is the main contract that implements IERC20 functions and initializes necessary variables.


These contracts have been deployed on Rinkeby Testnet network with this contract address:

0xc25D80fF9D25802cb69b2A751394F83534011308

https://rinkeby.etherscan.io/address/0xc25d80ff9d25802cb69b2a751394f83534011308

You can buy some DKY tokens by sending some of your Rinkeby testnet ether to above contract address. You can use Metamask, Mist, Myetherwallet or any other token compatible wallet. In case of Metamask, once you've sent the ether go to Token tab and click on "Add Token" button. Then paste the contract address above and it should automatically detect the token Symbol and Decimals. Now you should be able to see the DKY coins in your wallet.

Alt text