Bitcoin Forum
December 11, 2017, 05:37:23 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: PHP connect to Electrum server  (Read 782 times)
dave111223
Hero Member
*****
Offline Offline

Activity: 924


Crypterium- Digital Mobile Cryptobank For Everyone


View Profile
February 20, 2014, 12:07:09 AM
 #1

I'm trying to connect directly (using PHP) to Electrum servers to receive a list of a transactions for an address or mpk in general.

What format do requests need to be sent to an electrum server in order to retrieve data?

(Not literate in python so not able to easily glean this from the source)



░░░░░░░░░░▄▄▄▄▄▄
░░░░░░▄███████████▄
░░░░▄██▀▀░░░░░░░░▀██▄
░░░██▀░░░▄▄▄▄▄▄░░░░▀██
░░██▀░░▄██▀▀▀▀▀░░▄▄
██▀░░██▀░░▄▄▄▄░░▀▀
██▀░░██░░▄██▀▀▀█▄
██░░██░░██▀
██░░▀▀░░██
██░░▄▄░░██
██░░██░░██▄
██▄░░██░░▀██▄▄▄█▀
██▄░░██▄░░▀▀▀▀░░▄▄
░░██▄░░▀██▄▄▄▄▄░░▀▀
░░░██▄░░░▀▀▀▀▀▀░░░░▄██
░░░░▀██▄▄░░░░░░░░▄██▀
░░░░░░▀███████████▀
░░░░░░░░░░▀▀▀▀▀▀


░░░░░░░░░░▄▄▄▄▄▄
░░░░░░▄███████████▄
░░░░▄██▀▀░░░░░░░░▀██▄
░░░██▀░░░▄▄▄▄▄▄░░░░▀██
░░██▀░░▄██▀▀▀▀▀░░▄▄
██▀░░██▀░░▄▄▄▄░░▀▀
██▀░░██░░▄██▀▀▀█▄
██░░██░░██▀
██░░▀▀░░██
██░░▄▄░░██
██░░██░░██▄
██▄░░██░░▀██▄▄▄█▀
██▄░░██▄░░▀▀▀▀░░▄▄
░░██▄░░▀██▄▄▄▄▄░░▀▀
░░░██▄░░░▀▀▀▀▀▀░░░░▄██
░░░░▀██▄▄░░░░░░░░▄██▀
░░░░░░▀███████████▀
░░░░░░░░░░▀▀▀▀▀▀

▀  Twitter
▀  Telegram
▀  Facebook
▀  ANN Thread
▀  Whitepaper
▀  Website
1513013843
Hero Member
*
Offline Offline

Posts: 1513013843

View Profile Personal Message (Offline)

Ignore
1513013843
Reply with quote  #2

1513013843
Report to moderator
1513013843
Hero Member
*
Offline Offline

Posts: 1513013843

View Profile Personal Message (Offline)

Ignore
1513013843
Reply with quote  #2

1513013843
Report to moderator
1513013843
Hero Member
*
Offline Offline

Posts: 1513013843

View Profile Personal Message (Offline)

Ignore
1513013843
Reply with quote  #2

1513013843
Report to moderator
FORTUNEJACK.COM[
                            
9 BTC WELCOME PACK FOR 1ST 5 DEPOSITS
FREE 1,000 mBTC daily for LuckyJack winners
[
          
]
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513013843
Hero Member
*
Offline Offline

Posts: 1513013843

View Profile Personal Message (Offline)

Ignore
1513013843
Reply with quote  #2

1513013843
Report to moderator
fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
March 29, 2014, 11:52:53 PM
 #2

I'm trying to connect directly (using PHP) to Electrum servers to receive a list of a transactions for an address or mpk in general.

What format do requests need to be sent to an electrum server in order to retrieve data?

(Not literate in python so not able to easily glean this from the source)

Did you ever have any luck with this? I was thinking of writing something similar a while ago but never got to it. If you made a start I can have a look?

Bitwasp Developer.
Abdussamad
Legendary
*
Offline Offline

Activity: 1582



View Profile WWW
March 30, 2014, 02:01:59 AM
 #3

I'm trying to connect directly (using PHP) to Electrum servers to receive a list of a transactions for an address or mpk in general.

What format do requests need to be sent to an electrum server in order to retrieve data?

(Not literate in python so not able to easily glean this from the source)

Did you ever have any luck with this? I was thinking of writing something similar a while ago but never got to it. If you made a start I can have a look?

The newest version of electrum has support for all of this. Run electrum help to see. Some of hte commands:

getaddresshistory
getrawtransaction
decoderawtransaction
getaddressunspent

fbueller
Sr. Member
****
Offline Offline

Activity: 412


View Profile
March 30, 2014, 09:58:09 PM
 #4

This would mean firing up electrum each time. Connecting to a random electrum server to quickly poll for transactions could be quicker.

Bitwasp Developer.
Abdussamad
Legendary
*
Offline Offline

Activity: 1582



View Profile WWW
March 31, 2014, 01:15:34 AM
 #5

This would mean firing up electrum each time. Connecting to a random electrum server to quickly poll for transactions could be quicker.

Electrum stays up for a few minutes in daemon mode now when you run it this way.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!