I just deployed my first ERC20 token to Ethereum blockchain.
Property | Value |
---|---|
Symbol | IZX |
Name | IZOTX |
Total supply | 100,000.000000000000000000 |
Decimals | 18 |
Token address | https://etherscan.io/token/0xc22dd4af2b43e05523c725db59e9c3917c1b9a82 |
ERC20 is the most common used interface for creating tokens on Ethereum blockchain. It gives you base token functionality like transferring tokens, checking balance and etc. The full list of methods that needs to be implemented by ERC20 is listed below:
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfer(address to, uint tokens) public returns (bool success);
function approve(address spender, uint tokens) public returns (bool success);
function transferFrom(address from, address to, uint tokens) public returns (bool success);
event Transfer(address indexed from, address indexed to, uint tokens);
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}
Deployment
Deployment was done using RemixIDE connected to Ethereum blockchain via Metamask extension.
I described those tools with more details in my previous blog posts:
RemixIDE
https://steemit.com/ethereum/@cryptoizotx/decentralized-programmer-part-3-remix-ide-ganache-cli
GanacheCLI and Metamask
https://steemit.com/ethereum/@cryptoizotx/decentralized-programmer-part-1-environment-metamask-and-ganache
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://theethereum.wiki/w/index.php/ERC20_Token_Standard