Skip to content

Commit

Permalink
fix: replace electrumx with electrs
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayPurohit committed Jun 17, 2024
1 parent 6fb3601 commit f92e0a8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
6 changes: 3 additions & 3 deletions clients/apps/nodejs/config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"statechainEntity": "http://0.0.0.0:8000",
"__statechainEntity": "http://j23wevaeducxuy3zahd6bpn4x76cymwz2j3bdixv7ow4awjrg5p6jaid.onion",
"_statechainEntity": "http://45.76.136.11:8500/",
"__electrumServer": "tcp://127.0.0.1:50001",
"electrumServer": "ssl://127.0.0.1:50002",
"__electrumServer": "tcp://0.0.0.0:50001",
"electrumServer": "tcp://0.0.0.0:50001",
"electrumType": "electrs",
"_electrumServer": "tcp://127.0.0.1:50001",
"_electrumServer": "tcp://0.0.0.0:50001",
"network": "regtest",
"feeRateTolerance": 5,
"databaseFile": "wallet.db",
Expand Down
19 changes: 12 additions & 7 deletions docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,19 @@ services:
volumes:
- bitcoin_data:/root/.bitcoin

electrumx:
image: lukechilds/electrumx:latest
electrs:
image: getumbrel/electrs:latest
environment:
DAEMON_URL: http://user:pass@bitcoin:18443/
COIN: BitcoinSegwit
NET: regtest
ELECTRS_LOG_FILTERS: "INFO"
ELECTRS_NETWORK: "regtest"
ELECTRS_DAEMON_RPC_ADDR: "http://user:pass@bitcoin:18443"
ELECTRS_ELECTRUM_RPC_ADDR: "0.0.0.0:50001"
ELECTRS_SERVER_BANNER: "Umbrel Electrs"
ELECTRS_COOKIE_FILE: "/bitcoin/regtest/.cookie"
ports:
- "50002:50002"
- "50001:50001"
volumes:
- electrs-data:/data

enclave-sgx:
build:
Expand Down Expand Up @@ -64,4 +68,5 @@ services:
- postgres

volumes:
bitcoin_data:
bitcoin_data:
electrs-data:

0 comments on commit f92e0a8

Please sign in to comment.