Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communicate with bitcoin network via Electrum server(s) #151

Closed
chill117 opened this issue Mar 12, 2018 · 3 comments
Closed

Communicate with bitcoin network via Electrum server(s) #151

chill117 opened this issue Mar 12, 2018 · 3 comments

Comments

@chill117
Copy link
Member

chill117 commented Mar 12, 2018

  • Use TCP sockets to communicate directly with electrumx (or electrum personal server) instances.

What the app needs:

  • Get unspent transaction outputs (UTXO) for an address
  • Get current network fee rate and minimum relay fee
  • Broadcast raw transactions
  • Watch an address for new transactions
@chill117 chill117 added this to the Phase 3 milestone Mar 12, 2018
@chill117 chill117 changed the title Advanced node configuration Advanced option: Use self-hosted bitcoind/btcd node as bitcoin API Mar 12, 2018
@chill117 chill117 changed the title Advanced option: Use self-hosted bitcoind/btcd node as bitcoin API Advanced: Use self-hosted bitcoind/btcd node as bitcoin API Mar 12, 2018
@chill117 chill117 changed the title Advanced: Use self-hosted bitcoind/btcd node as bitcoin API Use self-hosted bitcoind/btcd node as bitcoin API Mar 12, 2018
@chill117 chill117 removed this from the Phase 3 milestone Jun 25, 2018
@polto
Copy link

polto commented Jan 14, 2019

My phone is connected over VPN to my DAppNode. Can we auto-detect that my.bitcoin.dnp.dappnode.eth domain is resolvable and try to use it as self-hosted node ? It would be really convenient.

@chill117 chill117 changed the title Use self-hosted bitcoind/btcd node as bitcoin API Communicate directly with Electrum server(s) May 10, 2019
@chill117 chill117 changed the title Communicate directly with Electrum server(s) Communicate with bitcoin network via Electrum server(s) May 10, 2019
@chill117
Copy link
Member Author

My phone is connected over VPN to my DAppNode. Can we auto-detect that my.bitcoin.dnp.dappnode.eth domain is resolvable and try to use it as self-hosted node ? It would be really convenient.

@polto Is that a bitcoin full node or an electrum server? I've created a pull request (#346) that replaces the ct-api-server calls with direct communication to multiple electrum servers - includes automated peer management.

@polto
Copy link

polto commented Aug 13, 2019

@chill117 for now DAppNode runs a Bitcoin and Ethereum full node. But DAppNode have a modular structure allowing people to deploy new DAppNode packages via IPFS and ENS. Lightning Network module exist for DAppNode , one could build a Electrum-server module, but it does not seems to exist yet.

Anyway it's already very cool to be able to connect to it's own electrum server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants