aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/names.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-17 23:06:37 -0700
committerAdam Soltys <[email protected]>2026-08-17 23:06:37 -0700
commit0da19ade16236013dc8c5018f5a36b3f200e866c (patch)
treeac02f855dbde691657c084c13da9d45c86ce782e /src/features/names.js
parent66bdb1124d2355b4e9ab75cdc985080af0bf0c98 (diff)
downloadcoinosv3-0da19ade16236013dc8c5018f5a36b3f200e866c.tar.gz
coinosv3-0da19ade16236013dc8c5018f5a36b3f200e866c.zip
Mutinynet gets the full name experience: the payment-address pane, the claim card, the re-registration — staging stops showing raw ark addresses to people who just claimed a name
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz
Diffstat (limited to 'src/features/names.js')
-rw-r--r--src/features/names.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/features/names.js b/src/features/names.js
index aa60aa4..a570af1 100644
--- a/src/features/names.js
+++ b/src/features/names.js
@@ -54,7 +54,12 @@ export function namesFeature(ctx) {
const load = () => wallet.loadFeatureState('names', {});
const save = (st) => wallet.saveFeatureState('names', st);
- const available = () => getNetwork() === 'mainnet' && !wallet.watchOnly
+ // Mainnet and mutinynet: staging's play network gets the full payment-
+ // address experience (claims already registered fine — the record simply
+ // carries a testnet ark address). Ark-to-name sends between mutinynet
+ // wallets resolve and pay normally; only foreign-LNURL receives assume
+ // mainnet. NB the names live in the ONE shared registry either way.
+ const available = () => ['mainnet', 'mutinynet'].includes(getNetwork()) && !wallet.watchOnly
&& !!wallet.nostrSign && !!hook('arkReady');
async function currentUri() {