How to know automatically when user deposit ether to my wallet?

wsxdrfvwsxdrfv Member Posts: 5
I am making site with team, at that site, user can send ethereum to his own address, so ethereum wallet server deal, connected with this site, but I don't know how to implement ethereum-site integration part that when some user send ethereum to his address, then ethereum daemon running on server should know it and should send message to script that update (increase) user's ethereum balance value at site.
But ethereum don't have [ walletnotify ] option like Bitcoin.

Then how to make this?

I need to see specific code example about this.

Thanks.

Comments

  • FromCtoSolidityFromCtoSolidity Member Posts: 4
    Well the action of sending Ether returns transaction id. On my web site I post transaction id back to the server and have an asynchronous task periodically request receipt for that transaction from a local geth node. Once you obtain the receipt, you know that transaction has been approved.
Sign In or Register to comment.