Casa / Casa-Node-Manager

Configures and launches docker instances to run the various services on the device
MIT License
29 stars 3 forks source link

Electrum Server Support #20

Open jlopp opened 4 years ago

jlopp commented 4 years ago

Issue It is currently difficult / limited options if a user wants to point a Bitcoin wallet at their Casa node to verify received transactions. They can't even validate their Keymaster transactions with their node, which is a pretty big fail on our part.

Proposed Solution The Raspberry Pi 4 with the SSD should be able to run an Electrum server pretty easily.

Our two main options are https://github.com/romanz/electrs and https://github.com/kyuupichan/electrumx.

I'd prefer we evaluate the Rust version; it's a newer project by in my experience electrumx isn't particularly easy to set up. ElectrumX is also maintained by a dev who is a BSV fan that believes Craig Wright is Satoshi, so I wouldn't count on stable long-term BTC support.

Dependencies

  1. Rust
  2. RocksDB
jlopp commented 4 years ago

It looks like we'd need to write our own electrum protocol clients for the mobile apps, though it appears to be straightforward JSON-RPC https://electrumx.readthedocs.io/en/latest/protocol-basics.html

Good notes on running electrs: https://github.com/romanz/electrs/blob/master/doc/usage.md