Viewing a response to: @maxnachamkin/how-to-create-your-own-ethereum-token-in-an-hour-erc20-verified
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.
author | ocecer |
---|---|
permlink | re-maxnachamkin-how-to-create-your-own-ethereum-token-in-an-hour-erc20-verified-20180313t131507922z |
category | ethereum |
json_metadata | {"tags":["ethereum"],"app":"steemit/0.1"} |
created | 2018-03-13 13:15:06 |
last_update | 2018-03-13 13:15:06 |
depth | 1 |
children | 0 |
last_payout | 2018-03-20 13:15:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 401 |
author_reputation | 0 |
root_title | "How To Create Your Own Ethereum Token In An Hour (ERC20 + Verified)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 44,138,032 |
net_rshares | 0 |