Bitcoin Forum
June 30, 2024, 09:26:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can Ethereum contract notify MySQL database after received ether?  (Read 95 times)
myapple (OP)
Member
**
Offline Offline

Activity: 100
Merit: 11


View Profile
March 06, 2018, 11:12:14 AM
 #1

Thanks
I am trying to test a contract once the contract receives ether it will notify MySQL database
Any way to do this?
I notice there is event in solitidy but how can it insert one line into MySQL

Appreciated
redigaffi
Member
**
Offline Offline

Activity: 142
Merit: 13


View Profile
March 06, 2018, 12:56:17 PM
 #2

You could call an external URL that once the URL called (in another server) inserts the mysql row you want.

Earn Money With Skill while having fun, Answer this 6 questions and get a bonus when the project get's launched:

https://docs.google.com/forms/d/e/1FAIpQLSdCRubC4wu4seHYdDqiZDFsXizqaViUnOtE5sZcx3spjGc84A/viewform
myapple (OP)
Member
**
Offline Offline

Activity: 100
Merit: 11


View Profile
March 08, 2018, 07:46:35 AM
 #3

thanks
how can I call external url from the contract
trash321
Full Member
***
Offline Offline

Activity: 602
Merit: 100



View Profile
March 08, 2018, 07:50:45 AM
 #4

I'm honestly also interested in this issue, but it seems to me that everything is not as simple as you think. Query from the database because it's very simple to do it seems to me that everything is a little different there and the requests are formed in a different format
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!