eclair-mobile icon indicating copy to clipboard operation
eclair-mobile copied to clipboard

Using with Electrum Personal Server

Open Sjors opened this issue 5 years ago • 3 comments

It would be very cool to be able to use Eclair Mobile with Bitcoin Core. Perhaps Electrum Personal Server by @chris-belcher can help in this.

Electrum Personal Server works with a Bitcoin Core watch-only wallet to monitor a specific set of addresses, avoiding the need for a full address index Electrum server.

Is there a (group of) xpub(s) that the Eclair Mobile wallet monitors, or is the derivation path more complicated?

Can the set out outputs the wallet needs to monitor be expressed as one or more output descriptors? As of Bitcoin Core v0.18 those can imported into a watch-only wallet via importmulti. If not, what's missing?

Sjors avatar Feb 22 '19 14:02 Sjors

We use a standard BIP49 derivation path, so it should be possible. I'll check and update this ticket. Thanks!

sstone avatar Feb 22 '19 22:02 sstone

@sstone can we also watch random scriptHashes with Electrum Personal Server?

pm47 avatar Feb 23 '19 17:02 pm47

The problem is that importing addresses / scripts to watch into Bitcoin Core is a one-off manual process at the moment. It sounds like EPS, or Electrum itself maybe, would have to be expanded a bit. For example whenever it hears about an unkown script/address it would immediately import that into Bitcoin Core and have it rescan a few blocks.

Sjors avatar Feb 23 '19 17:02 Sjors