diff options
| author | Adam Soltys <[email protected]> | 2026-08-01 14:21:05 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-01 14:21:05 -0700 |
| commit | 03447333e3f80c373ca80dd09bf3f5b7bbae2e64 (patch) | |
| tree | 159813160c9c0265cd21b12a6eb09a5dd233b15b /src/api.js | |
| parent | 8fdea8305b699f3b255fd1674ffd0aeb0933715f (diff) | |
| download | coinosv3-03447333e3f80c373ca80dd09bf3f5b7bbae2e64.tar.gz coinosv3-03447333e3f80c373ca80dd09bf3f5b7bbae2e64.zip | |
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 <[email protected]>
Diffstat (limited to 'src/api.js')
| -rw-r--r-- | src/api.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |
