Skip to content

Commit 63bc372

Browse files
bitwaltclaude
andauthored
fix(signet): default to the public esplora indexer (#18)
DEFAULT_INDEXER_URL -> https://esplora.signet.kaleidoswap.com. RLN 0.7.0 / rgb-lib auto-detect Esplora from the https:// scheme. Reword the --indexer-url help/prompt to note both Esplora (https://) and Electrum (host:port) forms are accepted. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 2f0dee0 commit 63bc372

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

kaleido_cli/commands/node.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,10 @@ def node_unlock(
632632
] = DEFAULT_BITCOIND_RPC_PORT,
633633
indexer_url: Annotated[
634634
str,
635-
typer.Option("--indexer-url", help="Electrs indexer URL."),
635+
typer.Option(
636+
"--indexer-url",
637+
help="Indexer URL — Esplora (https://…) or Electrum (host:port).",
638+
),
636639
] = DEFAULT_INDEXER_URL,
637640
proxy_endpoint: Annotated[
638641
str,
@@ -680,7 +683,9 @@ def node_unlock(
680683
)
681684
bitcoind_host = typer.prompt("bitcoind RPC host", default=bitcoind_host)
682685
bitcoind_port = typer.prompt("bitcoind RPC port", default=bitcoind_port, type=int)
683-
indexer_url = typer.prompt("Electrs indexer URL", default=indexer_url)
686+
indexer_url = typer.prompt(
687+
"Indexer URL (Esplora https:// or Electrum host:port)", default=indexer_url
688+
)
684689
proxy_endpoint = typer.prompt("RGB proxy endpoint", default=proxy_endpoint)
685690
raw = typer.prompt("[OPTIONAL] Lightning announce alias (Enter to skip)", default="")
686691
if raw.strip():

kaleido_cli/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
DEFAULT_BITCOIND_RPC_PASSWORD = "default_password"
2121
DEFAULT_BITCOIND_RPC_HOST = "bitcoind.signet.kaleidoswap.com"
2222
DEFAULT_BITCOIND_RPC_PORT = 38332
23-
DEFAULT_INDEXER_URL = "electrum.signet.kaleidoswap.com:60601"
23+
DEFAULT_INDEXER_URL = "https://esplora.signet.kaleidoswap.com"
2424
DEFAULT_PROXY_ENDPOINT = "rpcs://proxy.iriswallet.com/0.2/json-rpc"
2525

2626
DEFAULT_REGTEST_BITCOIND_RPC_USERNAME = "user"

0 commit comments

Comments
 (0)