To setup an area occasion operating within the regtest community, you mainly simply should run bitcoind -regtest as regular, after which observe the directions given by the electrs set up directions:
$ git clone https://github.com/blockstream/electrs && cd electrs
$ git checkout new-index
$ cargo run --release --bin electrs -- -vvvv --daemon-dir ~/.bitcoin
Nonetheless, it’s a must to give a --network=regtest to the final command and presumably have to adapt you bitcoin dir.
After the chain made some progress, the log outputs of electrs will spit out localhost addresses you may give to BDK, LDK transaction sync, or simply an occasion of rust-esplora-client:
INFO – REST server operating on 127.0.0.1:3002
(Observe that an Electrum RPC tackle can be given in case you like to make use of the Electrum protocol)
