summaryrefslogtreecommitdiffstats
path: root/src/ark/manager.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-29 08:45:30 -0700
committerAdam Soltys <[email protected]>2026-08-29 08:45:30 -0700
commit3a947830743f1db247ae0969378efe540f813342 (patch)
treef092402c4977f738376916b31fad87fcd15780a1 /src/ark/manager.js
parent71459005bae3f0db0cd9bf25cd2e301ca8d77510 (diff)
downloadcoinosv3-3a947830743f1db247ae0969378efe540f813342.tar.gz
coinosv3-3a947830743f1db247ae0969378efe540f813342.zip
Staging gets the mainnet fee model end to end: /lnquote?network=mutinynet quotes from the staging ASP's own CLN (helpers take their backend), the client asks it by default on mutinynet, and the quote URL concat survives a query string
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_019WboeoetMF3MTmgT7Ew8yi
Diffstat (limited to 'src/ark/manager.js')
-rw-r--r--src/ark/manager.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ark/manager.js b/src/ark/manager.js
index 920eda3..e60d2f3 100644
--- a/src/ark/manager.js
+++ b/src/ark/manager.js
@@ -75,7 +75,9 @@ export class ArkManager {
this.network = network;
// where to ask what a lightning payment's route will cost (names /lnquote)
this.lnQuoteUrl = lnQuoteUrl !== undefined ? lnQuoteUrl
- : (network === 'mainnet' ? 'https://names.halwallet.app/lnquote' : null);
+ : network === 'mainnet' ? 'https://names.halwallet.app/lnquote'
+ : network === 'mutinynet' ? 'https://names.halwallet.app/lnquote?network=mutinynet'
+ : null;
this.onUpdate = onUpdate || (() => {});
this.state = null;
this.info = null;