Bitcoin Forum
May 28, 2024, 05:00:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Coders! Help, please - Ethereum smart-contract does not accept payments...  (Read 143 times)
Cy80rG (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
October 26, 2017, 01:41:33 PM
 #1

Hello!

I'm studing Ethereum and its smart contracts now. It's about tokens and crowdsale.
I have deployed via Etherium Wallet 0.9.2 two example smart-contracts (from here: https://ethereum.org/token#the-code and here: https://ethereum.org/crowdsale#the-code) in private network succesfully (mining is on).
But if i try to send Ether from main address to crowdsale-contract address i see this error: "It seems this transaction will fail. If you submit it, it may consume all the gas you provide."
Also in transaction confirmation window i see this message: "Estimated fee consumption: The contract won't allow this transaction to be executed".
If I ignore this messages and make confirmation, than window closes and nothing happens. Balance is same as before and no tokens received.

Could You help me with the answer what i do wrong?
Thanks a lot!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!