Add token management to Settings
All checks were successful
check / check (push) Successful in 22s

- Tracked Tokens well in settings with [x] remove buttons
- New settings-addtoken view with:
  - Top-10 quick-pick buttons (tracked ones dimmed+disabled)
  - Top-100 dropdown showing "Token Name (SYMBOL)", tracked disabled
  - Manual contract address entry with RPC lookup
- View comment in helpers.js about keeping README in sync
This commit is contained in:
2026-02-27 17:52:30 +07:00
parent aca8c4b2a7
commit 3d8feb4c5a
5 changed files with 286 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ const {
} = require("../../shared/prices");
const { state, saveState } = require("../../shared/state");
// When views are added, removed, or transitions between them change,
// update the view-navigation documentation in README.md to match.
const VIEWS = [
"welcome",
"add-wallet",
@@ -23,6 +25,7 @@ const VIEWS = [
"receive",
"add-token",
"settings",
"settings-addtoken",
"transaction",
"approve-site",
"approve-tx",