Author

Topic: Need Help with programmatically interfacing with ElectrumX (Read 72 times)

newbie
Activity: 2
Merit: 0
Thanks Guys for your help.  Much appreciated.
Work had me tied down, but soon going to follow up on what you told me above.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
  • If possible, I would like a python example(s) that would help me to achieve anything that is in bold above.
Lucky for you, Electrum client is also pure Python.
You can review its source code to see how it communicates with the specified or public Electrum servers.
Most notably, "network.py".

Link to source: https://github.com/spesmilo/electrum/tree/master/electrum
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
I don't know anything about Flask.
However, electrumx_rpc is straight python https://github.com/spesmilo/electrumx/blob/master/electrumx_rpc
So following that should get you at least some of the way there.

-Dave
newbie
Activity: 2
Merit: 0
Hi, I am a Newbie to Electrum & ElectrumX and would like to know the best path to take in order to achieve being able to make Bitcoin Queries and Transactions using ElectrumX and Python (starting off with a website running on Flask). Could someone help me because it is hard to find examples (tutorials) on the web and I don't know if they are safe (security wise)?

Note:

  • I'm an intermediate where Python and Flask is concerned.
  • I understand the Bitcoin White Paper pretty well.
  • I know that Flask is not for a production environment.
  • I want to use ElectrumX so that the application can better serve concurrent users.
  • I can handle the installation of the Ubuntu, Bitcoin Node, ElectrumX and the Python web App on a Testing PC.
  • If possible, I would like a python example(s) that would help me to achieve anything that is in bold above.


Thanks
Jump to: