I send ether to crowdsale contract address, but it doesn't work.
I have error 'Transaction Error, Exception thrown in contract code.' in metamask when send ether to crowdsale contract.
Reference code that i copied is 'https://www.ethereum.org/crowdsale'
What can i do ? please help me.
Could someone please help me with following question?
I have an eshop and would like to get payments in ethtereum. So for each payment I would like to generate new account (address) and wait for payment. For monitoring payments I need to create an easy way to get "n" (50, 100. or more) for all account (addresses) of my wallet. I found out, that it is not possible by default API queries. So I wounder if it's possible by using contracts?
So main idea is to create a smart contract, that will receive ether and write some message to log . Then I will poll for log changes by call RPC API method eth_getLogs or eth_getFilterChanges, and get info about incoming transactions.
Is it possible ? Or maybe you have better idea how to solve this ?
Thanks in advance!