Skip to content

chore: remove mask wallet (Replenish) - #12435

Merged
guanbinrui merged 2 commits into
developfrom
chore/remove-mask-wallet
Sep 5, 2026
Merged

chore: remove mask wallet (Replenish)#12435
guanbinrui merged 2 commits into
developfrom
chore/remove-mask-wallet

Conversation

@guanbinrui

Copy link
Copy Markdown
Member

Description

Closes # (NO_ISSUE)

Type of change

  • Documentation
  • Code refactoring (Restructuring existing code w/o changing its observable behavior)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (a fix or feature that would make something no longer possible to do/require old user must upgrade their Mask Network to this new version)

Previews

Checklist

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
    • I have removed all in development console.logs
    • I have removed all commented code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have read Internationalization Guide and moved text fields to the i18n JSON file.

If this PR depends on external APIs:

  • I have configured those APIs with CORS headers to let extension requests get passed.
    • chrome extension: chrome-extension://[id]
    • firefox extension: moz-extension://[id]
  • I have delegated all web requests to the background service via the internal RPC bridge.

Ran knip's dead-code scan and found four files whose only consumers
were already deleted by this PR:
- RestoreFromMnemonic.tsx / RestoreFromPrivateKey.tsx: only used by the
  now-deleted RestoreWalletFromLocal.tsx.
- useWalletName.ts: only used by the now-deleted
  Interaction/PermissionRequest.tsx.
- dashboard/contexts/{RecoveryContext.tsx,index.ts}: only used by the
  now-deleted RestoreWalletFromLocal.tsx and CreateMaskWallet/Recovery.

Also fixes knip.ts's own config, which still listed the deleted
web-workers/wallet.ts as a package entry point.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ly4aKgVW1wnPu2LfzTQuJi
@guanbinrui
guanbinrui force-pushed the chore/remove-mask-wallet branch from 190722c to f5a0a91 Compare September 5, 2026 15:29
@guanbinrui
guanbinrui merged commit d4f050a into develop Sep 5, 2026
11 checks passed
@guanbinrui
guanbinrui deleted the chore/remove-mask-wallet branch September 5, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant