You are viewing a single comment's thread from:

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

in #ethereum8 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.

Coin Marketplace

STEEM 0.09
TRX 0.32
JST 0.030
BTC 111275.59
ETH 3742.88
USDT 1.00
SBD 0.66