I have created a private network with miner node using Ethereum. Then I deployed an Ethereum smart contract in the network. I have got the contract address as "0x045bfe22453a9ca06aff4bdc5d7f5870eba121bd"
Now from my eth.coinbase I would like to transfer some ethers to the contract account.
After unlocking the account, I used the code
eth.sendTransaction({from:eth.coinbase,to:"0x045bfe22453a9ca06aff4bdc5d7f5870eba121bd",value:web3.toWei(3,"ether"),gas:'1000000'});
After doing this, I have checked for eth.pendingtransactions, those got mined and added to blocks.
I debugged the transactionReceipt, could not able to get the data anything.
How to get the balance in contract account?
eth.getBalance("0x045bfe22453a9ca06aff4bdc5d7f5870eba121bd")
Return Zero.
How can I restrict the "invalid jump destination error".
Thanks.
– Seetharaman GR Mar 27 '17 at 01:55As per this, we couldn't remove the callback function. How can I test the callback function execution costly less than 2300 gas.
– Seetharaman GR Mar 27 '17 at 05:54sendTransaction. Also you can use buy function of token to send ethers to contract see here – Prashant Prabhakar Singh Mar 28 '17 at 06:15