https://github.com/romanz/electrs
Bitcoin Core RPC Authorization:
https://www.youtube.com/watch?v=q0siLF9zmWo&t=304s
-----
sudo apt install cargo clang cmake git curl
cd ~
git clone --branch v0.9.7 https://github.com/romanz/electrs.git
cd electrs
curl https://romanzey.de/pgp.txt | gpg --import
git verify-tag v0.9.7
cargo build --locked --release
ln -s /home/hbot/electrs/target/release/electrs /usr/local/bin/electrs
cd ~
mkdir .electrs
nano .electrs/electrs.conf
-----
network = "bitcoin"
daemon_dir= "$HOME/.bitcoin"
daemon_rpc_addr = "127.0.0.1:8332"
daemon_p2p_addr = "127.0.0.1:8333"
electrum_rpc_addr = "127.0.0.1:50001"
db_dir = "$HOME/.electrs/db"
index_lookup_limit = 1000
log_filters = "INFO"
timestamp = true
-----
electrs --conf .electrs/electrs.conf
./electrum-4.2.1-x86_64.AppImage --oneserver --server 127.0.0.1:50001:t
-----
bc1qny4am3clu0gcsq3hvja4vcdhwd529hgmnlavfh