Description
The Blocktank sunset is merged (#1696, synonymdev/bitkit-ios#1127, synonymdev/bitkit-e2e-tests#285, synonymdev/bitkit-e2e-tests#286). Most of the Spark work is still open:
| Android | iOS | Other | |
|---|---|---|---|
| Spark via Breez SDK | #1697 | synonymdev/bitkit-ios#1128 | |
| Pay contacts via Spark | #1754 | synonymdev/bitkit-ios#1191 | synonymdev/bitkit-core#193 |
| Move LN balances to Spark | #1774 | synonymdev/bitkit-ios#1212 | synonymdev/bitkit-e2e-tests#297 |
| Spark emergency exit | #1782 | synonymdev/bitkit-ios#1217 |
The agent docs and skills across the repos still describe Blocktank as the way to get a channel. This issue lists what to remove now and what to write once the Spark PRs merge. Part A can be done on master today. The Spark PRs have merged, but Part B waits for a stable Spark test environment, so the skills and docs describe a setup people can run.
Part A: Blocktank cleanup (now)
PRs: #1954, synonymdev/bitkit-ios#1352, synonymdev/bitkit-e2e-tests#315. bitkit-docker needs no change: its docs use the staging chain tools, which still work, and docs/staging.md already plans their replacement.
Skills to remove or cut down
-
blocktank-apiplugin //lspskill (.claude/plugins/blocktank-api/, android):- Remove the channel order, CJIT and gift endpoints and examples from
SKILL.mdandreferences/api-reference.md(/channels*,/cjit*,/gift*, theOrder/CJitEntry/ChannelOpenErrorschemas). - Remove the trigger phrases "create a channel order", "open a channel", "estimate fees", "create a CJIT channel" from the skill description.
- Keep the plugin: Blocktank is not fully removed. Staging on 2026-11-17 (
api.stag0.blocktank.to/blocktank/api/v2, withBLOCKTANK_REGTEST_AUTH):- Still served:
GET /info,GET /channels?ids[]=,POST /channels/estimate-fee,POST /regtest/chain/mine(200),POST /regtest/chain/deposit(200, returns the txid),POST /regtest/channel/pay(route exists; rejects a malformed invoice with 500). - Gone (404):
POST /channels,POST /cjit,POST /gift/order. - Broken:
POST /regtest/channel/closereturns 500Worker method closeChannelByFundingTx not found. Remove it from the skill or mark it unavailable. - The app still reads orders, CJIT entries and
/infofor existing records (BlocktankRepo), so keep the lookup routes documented.
- Still served:
- Update
marketplace.json,.claude/install-plugins.sh, andREADME.mdlines 104 and 259. - iOS
journeys/README.md:114borrows thelsphelper from the Android checkout. Update it with whatever replaces the plugin.
- Remove the channel order, CJIT and gift endpoints and examples from
Docs to fix
bitkit-android
-
docs/android-test-lanes.md:40: the Blocktank regtest API used for funding. -
journeys/hardware-wallet/README.md:137-139: checks the funding output against the Blocktankorder.feeSat. -
journeys/transfer/transfer-to-savings-returns-home.xml:9: reopens a channel through a Blocktank order. That is no longer possible. -
journeys/cjit-notifications/: keep it as a channel-ready check or remove it (iOS already dropped its CJIT suite). -
journeys/send/onchain-original-payment-retry.xml:12: mentions a Blocktank order completing.
bitkit-ios
-
AGENTS.md:198"Blocktank for Lightning channel services", andAGENTS.md:446BlocktankViewModel. -
journeys/README.md:232andjourneys/onchain-receive/README.md:30: the notification extension handling Blocktank pushes. Background Payments now serves Paykit. -
journeys/backup-restore/wallet-snapshot-consistency.md:30: Blocktank backups.
bitkit-e2e-tests
-
AGENTS.md:76andREADME.md:247:BACKEND=regtestdescribed as "Blocktank API over the internet". -
docs/repro-channel-monitor-desync.md: Repro Case Android - Project setup #1 opens a Blocktank channel through Transfer to Spending. That path is gone. Switch it to a manual channel or mark it historical. -
docs/mainnet-nightly.md:BLOCKTANK_SUNSET_UI=legacyis still the default. Flip it once the sunset build is on mainnet. -
tools/seedkit/README.md,tools/seedkit/docs/ARCHITECTURE.md: "Blocktank handles funding" on staging.
bitkit-docker
-
README.md:753-768,docs/shop-mixed.md,docs/shop-order.md: these use Blocktank's staging regtest chain and the mine endpoint. Confirm that chain stays up, or point them at the local regtest.
Part B: Spark (after a stable Spark test environment)
The Spark PRs are merged. This part waits until the Spark regtest setup settles (Lightspark hosted regtest has no Lightning network and its scripted funding needs SPARK_REGTEST_MNEMONIC; bitkit-docker's local ./spark is newer), and until the Move to Spark Activity row (#1819) and the designers' Spark screens land, so the docs are written once.
Skills to add
-
spark-regtestskill (android, used from iOS too) — docs: add spark-regtest skill #2008: run a dev build on Lightspark's hosted regtest end to end. It should cover:scripts/spark-regtest-esplora.py,scripts/spark-regtest-fund.pyandESPLORA_URL;- funding the Spark deposit address from the faucet;
- paying between two dev builds (a Spark transfer, since that regtest has no Lightning network);
BREEZ_API_KEYfor mainnet builds.
The setup is currently only in the feat: add spark via breez sdk #1697 description.
- Manual channel skill (regtest): open a channel to a node in bitkit-docker through Manual Setup. Move to Spark, Transfer to Savings with channels, force close and the legacy channel journeys all need a channel, and Blocktank orders used to provide it.
- Spark exit inspection skill (optional): read an emergency exit's record, step states and broadcast results from logs and storage, so a stuck exit can be debugged without reading the state machine.
Docs to add or rewrite
bitkit-android and bitkit-ios
- New
docs/spark.md/Docs/Spark.md, covering:- Breez SDK setup and config (real-time sync, LNURL server and external parsers off; chain service
https://bitkit.to/electrson mainnet); - when a payment goes to Spark (
shouldPayWithSpark) and the fee model; - Transfer to Spending (Instant and Later);
- selection in Transfer to Savings;
- Move to Spark;
- the
SPARK_EXITVSS backup.
- Breez SDK setup and config (real-time sync, LNURL server and external parsers off; chain service
- Emergency exit doc: state machine, broadcast and read hosts, rebuild rules, behaviour without the SDK, and what the UI blocks during an exit.
-
AGENTS.md: replace Blocktank in the architecture section with Spark, and addSparkRepo,MoveToSparkRepoand the exit components. -
docs/transfer.md: rewrite for Spark transfers. Keep the legacy Blocktank order section for existing records. -
docs/receive-liquidity.md/Docs/receive-liquidity.md: receive falls back to Spark when there is not enough inbound capacity. -
journeys/transfer/transfer-unavailable-sheet.xml: the sheet now shows only while Spark is not ready. Add journeys for Spark transfer, Move to Spark and the exit. - Paykit docs (
paykit-issuer-interoperability.mdandpubky.md): contact payments go through bitkit-core's router, which can use the Spark withdrawal route.
bitkit-e2e-tests
- Document the Spark backend for CI. After feat: add spark via breez sdk #1697, specs that expect the Transfer Unavailable sheet take the Spark route whenever Lightspark regtest is reachable.
- Spark cases in
docs/release-qa.mdand a mainnet nightly Spark smoke test, replacing the Blocktank sunset smoke test. -
docs/lightning-primer-for-qa.md: Spark next to channels.
bitkit-core
- README: the Paykit router and its Spark route (feat: pay contacts via spark bitkit-core#193).
Activity
jvsena42 commentedon Nov 9, 2026
@ovitrif @piotr-iohk FYI, this tracks the docs and skills work after the Blocktank sunset and Spark. Part B waits for the open Spark PRs.
docs: drop removed Blocktank routes from the lsp skill and journeys (#…