mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 09:54:09 +01:00
10 lines
225 B
Bash
10 lines
225 B
Bash
|
#!/bin/bash
|
||
|
set -eux
|
||
|
|
||
|
ADDR=127.0.0.1 # localhost
|
||
|
PORT=50001 # default mainnet Electrum RPC port
|
||
|
PROTOCOL=t # TCP (no SSL)
|
||
|
|
||
|
# Use only local Electrum server:
|
||
|
electrum --oneserver --server="$ADDR:$PORT:$PROTOCOL" $*
|