Skip to content
9 changes: 8 additions & 1 deletion src/consts/featureFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ export interface FeatureFlags {
* ENS profile fresh in the background (the pre-privacy behaviour).
*/
keepEnsProfilesUpToDate: boolean
/** Resolve Namoshi names (.btc, .citrea) on Citrea. */
namoshiDomains: boolean
/** Resolve GNS names (.gwei) on Ethereum. */
gnsDomains: boolean
}

export const defaultFeatureFlags: FeatureFlags = {
Expand All @@ -20,5 +24,8 @@ export const defaultFeatureFlags: FeatureFlags = {
testnetMode: false,
tokenAndDefiAutoDiscovery: true,
apiForFunctionSelectors: true,
keepEnsProfilesUpToDate: false
keepEnsProfilesUpToDate: false,
// @TODO: Introduce a setting and flip to false
namoshiDomains: true,
gnsDomains: true
}
2 changes: 1 addition & 1 deletion src/controllers/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ ALWAYS update this list when creating a new controller, and provide a one-senten
- **ContractNamesController** – Resolves human-readable names for smart-contract addresses via the relayer.
- **DappsController** – Manages dApp connections, sessions, verification status, and the dApp catalog.
- **DebugController** – Toggles per-controller debug logging at runtime (developer tool); persists toggles and hydrates the `debugLogger` module.
- **DomainsController** – Resolves and caches ENS and Namoshi names (and avatars) for addresses.
- **DomainsController** – Resolves and caches names (and avatars/expiry) for addresses across name services (ENS, Namoshi and more)
- **EmailVaultController** – Handles email-based recovery, magic-link flows, and vault secret management.
- **FeatureFlagsController** – Toggles application features at runtime for roll-outs and A/B testing.
- **EstimationController** – Estimates gas, fees, and payment options for smart-account transactions.
Expand Down
474 changes: 322 additions & 152 deletions src/controllers/domains/domains.test.ts

Large diffs are not rendered by default.

Loading
Loading