RE: How To Create Your Own Ethereum Token In An Hour (ERC20 + Verified)

You are viewing a single comment's thread from:

How To Create Your Own Ethereum Token In An Hour (ERC20 + Verified)

in ethereum •  7 years ago 

This is a great explanation, thanks a lot. but i have a question.

I want to send 5000 Tokens for 1 ETH and for that reason I added that line: "unitsOneEthCanBuy = 5000".

But my problem is i have complately forgot about decimals! My decimal is 18 so i think i should have write 50 instead of 5000.

Does anyone know how to fix it? i have already deployed, verified and published my smart contract.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!