I can share the code if it's easier to undestand and explain what happens
do you need the address of contracts?
msg.value contains the amount of wei that the user sent along with the transaction. You take that number, multiply it by rate ( 500 ) and get the amount of tokens that the user will get. I suppose your token uses 18 decimals just like ethereum, for simplicity
well, maybe that is the problem I see 0 decimals to the token
sorry, I set 0 decimals to the token
How can I avoid partial token distribution?
i copied the code but it did not work
can anyone send me code for creating token
I want to use Api Ethereum with php
@ubaka30 have you find your way?
This line makes the contract working:
uint256 tokensForEther = (1.0/500)*1 ether;
if I substitute 500 with RATE and define RATE as following:
uint public constant RATE = 500;
I got an error into the transaction
just downloaded the wallet. it won't finish syncing, looks like related to this issue ethereum/mist#2564
anyone else experience this? really a show stopper...
I just downloaded and installed Ethereum wallet, I see and understand the concept of the code(if not the nuances), the pages I read say to copy... fine. I can do that. but where to paste it?
@Daighus Contracts -> Deploy New Contract
Thank you Cole.
No button displayed. Hmm, I suppose I must wait until all downloads are complete.
works for me w/o finishing downloading...
or are you talking about not being able to deploy?
I think it has to finish downloading so you can send ether to deploy it maybe? I'm new too
I have a question and i m hoping someone can assist or help point me to the right direction. After a crowdsale on erc20, how can i programmatically distribute my token to a list of address
I want to develop my own coins and ico in nodejs. can anyone help me??
please ihave a probleme with " transaction sended from my ewalett in binance in ETC to other ewalet in eth but not provided how can i return my crypto? thk's
Hello, i already created my token using ERC20 token standard and published my contract. What i need now is to set some starting price of my tokens. Can anybody help me where can i find detail about setting up price for my tokens ? as of now in etherscan i see $0 value/token .. please help ?
@lapitsrepo interesting,I have the same issue
@lapitsrepo are you plan to start an ico?
@alexgiul i don't want to start ico. I already have some investors which are ready to buy my tokens :smile: if you have any idea about setting up price for tokens please share. thank you
@lapitsrepo I am sorry I havent understood yet how to correctly setup it
anyone there who knows that how prices are set for tokens ? if on basis of supply and demand, then who will decide and who will set price in etherscan where my contracted is published ?
Yo I just made a token in Ethereum Wallet, it said the confirmations would go through for the contract within 1 minute, but now it's been 40 minutes and none of the confirmations have happened... Any idea what this may be?
hi you can set 0.000001$
as this is best which can increase trust level
and show more point that you can grow sooo high
What programming languages is this?
anyone can please help guiding me on how to set price for my erc20 token ?