From 03447333e3f80c373ca80dd09bf3f5b7bbae2e64 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 1 Aug 2026 14:21:05 -0700 Subject: Default the mainnet ark bridge to coinos Small bolt11 sends were unroutable by default: the ASP path's CLN fee budget is a fraction of the ASP's own minimum fee, which rounds to zero sats of routing budget on a zap-sized payment. The coinos bridge now runs open (token gate removed server-side) so the default works for every wallet; users can still pick Off or Custom in settings. Co-Authored-By: Claude Fable 5 --- src/api.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/api.js b/src/api.js index 3c94192..456b840 100644 --- a/src/api.js +++ b/src/api.js @@ -295,7 +295,10 @@ const BRIDGE_PRESETS_BY_NET = { { id: 'custom', label: 'Custom…', url: '' }, ], }; -const BRIDGE_DEFAULT = { mainnet: 'off', testnet: 'off', signet: 'off', mutinynet: 'off', regtest: 'off' }; +// Mainnet defaults to the coinos bridge: small bolt11 sends (zaps) are +// unroutable through the ASP path, whose CLN fee budget is a fraction of the +// ASP's own 3-sat minimum fee. The bridge runs open (no token) for this. +const BRIDGE_DEFAULT = { mainnet: 'coinos', testnet: 'off', signet: 'off', mutinynet: 'off', regtest: 'off' }; const BRIDGE_KEY = 'btc-wallet-ark-bridge'; // selected preset id, per network const BRIDGE_CUSTOM_KEY = 'btc-wallet-ark-bridge-custom'; // custom url, per network const BRIDGE_TOKEN_KEY = 'btc-wallet-ark-bridge-token'; // access token, per network -- cgit v1.2.3