715 Commits
Author SHA1 Message Date
Jules 838d20c153 fix(wallet): recover from stuck transactions instead of breaking the session (#1316)
* fix(wallet): poll receipts on the node that took the broadcast

Chain 1 now proxies to the same `/alchemy` path `nodes.broadcastTransaction`
and `nodes.getNonce` use. A node that does not hold the transaction answers
receipt lookups with null forever.

* fix(wallet): only commit the nonce on a validated broadcast

The result was read unvalidated, so a broadcast that produced no transaction
still burned its nonce and gapped every later one. Failures now carry the
node's own reason instead of the status code.

* fix(wallet): reconcile the nonce down against an empty pool

Nothing lowered the local counter, so one dropped transaction left every
later one signed at a gapped nonce until the browser restarted. When the
node's pending and latest counts agree it holds nothing for the account, so
a counter above that is lowered once it has stayed ahead for 5 blocks.

* feat(wallet): detect and notify dropped transactions

A never-mined transaction kept its 30s alarm forever, since only receipt
`0x1` and `0x0` settled it. `eth_getTransactionByHash` is now the probe: a
null receipt means nothing on its own, but three consecutive polls where the
node has no record of the hash settle it as dropped. RPC failures do not
count towards that.

* fix(wallet): sync pending transactions from the background monitor

The page read the list once at mount and wrote its own copy back over the
monitor's removals, leaving settled transactions pending. It now watches the
key it shares with the monitor.

* fix(wallet): keep the earliest mark for a pending count

The post-send mark overwrote the block a held one carried, so every send
from the address restarted the 5-block window and the counter was never
lowered -- each retry only added another gapped transaction. `resolveNonce`
now reports when a mark for the pool count is already held.
2026-08-27 13:21:36 +00:00
Jules f7fc111115 fix(wallet): stop underpricing transactions in the fee estimator (#1315)
* fix(wallet): read gasUsedRatio as a float

`eth_feeHistory` returns it as a float, so `parseInt(hex)` stopped at the
decimal point and `averageGasUsedRatio` was always 0, pinning the ETA to
the idle branch. Also guard the empty-history average against NaN.

* fix(wallet): floor the tx tip and raise the fee ceiling

Tip is now max(eth_maxPriorityFeePerGas, feeHistory p50, 1 gwei); the
suggestion alone ran ~270x under the median tip paid and `0x0` was
signable. Ceiling goes 2x -> 3x base fee, ~14 -> ~23 blocks of headroom
before the tx becomes unincludable.

* fix(wallet): lower the tip floor to 0.1 gwei

1 gwei sat ~16x over the median tip paid at a ~0.11 gwei base fee, so it
set the quoted price rather than backstopping it. Only quiet markets
change: above 1 gwei the tip is max(suggestion, p50) either way, leaving
congested sends and LiFi swaps untouched.
2026-08-27 13:21:36 +00:00
jinhojang6 13f445117a perf(components): lazy-load avatar images 2026-08-25 01:08:16 +09:00
Jules 630fe059e5 feat(wallet): route dApp reads to the chain the dApp is on (#1303)
* feat(wallet): add a chain registry

One source for chain id, name, icon, viem chain, proxy route and whether
sends are possible, replacing three lists that disagreed: the switchable
set in rpc/chain.ts, the mainnet pin in public-client.ts and the
name/icon maps in the approval popup.

No upstream proxy path is known for Status Network Sepolia, so it ships
with proxyChainId null.

* refactor(wallet): resolve chains through the registry

Drops the duplicate SUPPORTED_CHAIN_IDS set, the SIGNABLE_CHAIN_ID
constant and the CHAIN_NAMES/CHAIN_ICONS maps.

Chain ids are matched by value rather than by string, so 0x6300B5EA and
0x6300b5ea stop being two chains, and the registry's spelling is what
gets stored.

* feat(wallet): route dApp reads to the origin's chain

Forwarded reads went to a module-level mainnet client whatever chain the
dApp had switched to. getPublicClient memoizes one client per chain over
that chain's proxy route.

A chain with no route is refused with 4901, not 4902: it is recognised
and switchable, so 4902 would invite an add-and-retry that succeeds and
then fails the same way.

* test(wallet): cover multi-chain read routing

* chore(wallet): add changeset

* chore(wallet): drop redundant comments

* refactor(wallet): convert the origin chain id through the registry

The typed-data chain check used parseInt, which toChainId exists to
replace: it reads a bare '1' or a trailing-garbage '0x1zzz' as mainnet,
so a malformed id would compare equal to a chain it is not. Nothing
reaches the check with a non-canonical id today, so this is the
invariant landing in one place rather than a behaviour change.

The mismatch message now names the chain, falling back to the raw hex
so an unrecognised id does not print as NaN.
2026-08-21 19:53:23 +09:00
Jules 3051af7796 fix(wallet): persist dApp connections per account (#1298)
* fix(wallet): keep dApp connections until explicitly revoked

Move permissions from chrome.storage.session to local, keyed per origin and
per account. A browser restart, a page reload or an account switch no longer
drops a connection -- only wallet_revokePermissions or the wallet's own
Disconnect action does.

Each origin is pinned to the account it was connected with, so switching
accounts exposes the new account only to dApps already connected to it and
pushes accountsChanged to their tabs. eth_accounts, eth_requestAccounts and
personal_sign all resolve through that pinned account.

* fix(provider): stop tearing down the dApp session on reload and errors

A fresh provider restores its session from eth_accounts rather than reporting
itself disconnected, close() no longer revokes the stored permission, and an
RPC error whose message reads "dApp is not permitted by user" no longer
disconnects. isConnected() reports transport readiness per EIP-1193 instead
of account state.

Adds a window listener for accountsChanged pushed by the wallet, so an
account switch reaches the page without a reload.

* feat(wallet): add dApp connections menu

Lists connected dApps behind their own trigger beside the wallet selector.
Each entry shows the account that dApp sees, offers Connect for the selected
account when it is not connected there, and Disconnect.

* fix(wallet): stop the approval popup rendering an empty window

The mount effect awaited the pending approval and the session status with no
rejection handling, so either one failing left the popup at `return null` --
a white window with no way out. A cold service worker rejecting the first
port message is enough to trigger it. Both reads are now guarded, and a
missing request renders an explicit "no longer available" state.

Claim the single approval slot synchronously as well. The stored record is
read asynchronously, so two requests in the same tick both saw it empty and
each opened a popup, then overwrote each other's record.

* fix(wallet): count approval popups in the mock instead of casting

The spy cast an async wrapper to the overloaded chrome.windows.create type,
which tsc rejects. The mock already owns that call, so it counts there.

* chore(wallet): add changeset
2026-08-21 19:53:21 +09:00
jinhojang6 de9116d0c1 fix(wallet): clamp paste focus to new word count, disable submit while loading 2026-07-28 22:24:10 +09:00
jinhojang6 98061c1336 fix(wallet): autofocus first word, alert role, enter submit on last word 2026-07-28 22:24:10 +09:00
jinhojang6 5ca91e8d40 fix(wallet): add use client directive to recovery phrase components 2026-07-28 22:24:10 +09:00
jinhojang6 816bfcde18 feat(wallet): recovery phrase word grid input 2026-07-28 22:24:10 +09:00
jinhojang6 929a99ad2d fix(api): throttle repeated portfolio refreshes 2026-07-25 00:17:38 +09:00
jinhojang6 b534922c8a fix(wallet): propagate asset balance rate limits 2026-07-25 00:17:38 +09:00
jinhojang6 f5272ff9da fix(api): avoid throttling normal wallet traffic 2026-07-25 00:17:38 +09:00
jinhojang6 fd01290b85 fix(api): preserve nested rate limit errors 2026-07-25 00:17:38 +09:00
jinhojang6 f8f6090f0c fix(api): harden proxy rate limiting 2026-07-25 00:17:38 +09:00
Jules dc2703dbca feat(wallet): create account from the wallet selector
* fix(wallet): preserve trpc error messages over the chrome transport

trpc-chrome posts error shapes verbatim but its link deserializes them
with the configured transformer; with superjson every error collapsed to
"Unknown error". Pre-serialize the shape in errorFormatter so messages
round-trip.

* feat(wallet): extract derivation path helpers

Add pathAtIndex and nextDerivationPath so the next sequential path can
be computed without deriving keys; cover with unit tests.

* feat(wallet): add and preview derived accounts by wallet id

Extend wallet.account.ethereum.add with an optional custom derivation
path, a mnemonic-only guard, duplicate rejection, and selection of the
new account. Add wallet.account.ethereum.preview to derive an address
(next sequential or custom path) without persisting; the mnemonic stays
in the background session.

* feat(wallet): create account flow from the wallet selector

New /wallet-flow/add-account route: prefilled next sequential derivation
path, editable to a custom path, with live address and activity preview
before confirming. Entry point in the wallet selector dropdown, mnemonic
wallets only.

* chore(wallet-extension): make create account button full width

* fix(wallet): restore mobile wallet selector interaction

Allow clicks to pass through the transparent sticky header until its controls are visible.
2026-07-21 23:37:36 +09:00
Jules 201a1bf418 fix(community-dapp): fix vercel build for monorepo deployment
* chore(community-dapp): add .env.example

Document webpack build-time env vars for local dev and deployments.

* chore(community-contracts): update .env.example

Add ETH_FROM, API_KEY_OPTIMISM, and usage comments for forge deploys.

* fix(community-dapp): correct build paths relative to vercel root dir

buildCommand ran 'cd apps/community-dapp' and outputDirectory used
'apps/community-dapp/dist', but the build cwd is already the app dir
(vercel root directory), so the cd failed. Use paths relative to the
root dir.

* fix(community-dapp): build contracts during vercel build

abi/index.ts imports forge-generated ABIs from community-contracts/out,
which is gitignored and absent on vercel. The custom buildCommand calls
webpack directly, bypassing the prebuild hook that runs forge build.
Init the contracts submodules, install foundry, and run forge build
before webpack so the ABIs exist.

* fix(community-dapp): move vercel build into a script

The inline buildCommand exceeded vercel's 256-char limit. Move the
contract-build + webpack steps into scripts/vercel-build.sh and call it.

* chore: add changeset

* chore(community-dapp): trigger build
2026-06-22 22:02:13 +09:00
FelicioandKam 8547cad562 add apps/get.status.app (#1196)
---------

Co-authored-by: Kam <kamila.lipska@gmail.com>
2026-05-27 14:42:06 +02:00
6ad9338182 feat(hub): unlock deposit (#1149)
* port #1073

* UX updates

* UI updates

* remove demo code, support ETH+SNT vault

* fix build

* address feedback

* address feedback

* Feat: Allow pre-deposit vault withdrawals (#1187)

* feat(hub): add transactions and flow for vault withdrawals along with final contract addresses

* feat(hub): disable withdrawal for GUSD vault

* feat(hub): update vault type checks in PreDepositUnlockModal

* chore: update reward disclaimer copy

* chore: update FAQ for predeposit page

* feat: gas availability confirmation in deposit unlock modal

* chore: update predeposit notice copy

* chore: update predeposit notice blog link

* chore: update learn more links

* add changeset

* fix: gas confirmed check in unlock modal

* chore: update predeposits FAQ

---------

Co-authored-by: Fabrice Francois <fabricevladimir@gmail.com>
Co-authored-by: Filip Pajic <fica.pajic@gmail.com>
2026-05-21 10:29:43 +02:00
7d880ebd96 feat(wallet): extract ScannerScreen and AccountSelect to packages/wallet (#1152)
* feat(wallet): extract ScannerScreen and AccountSelect to packages/wallet

* chore: remove debug information

* feat(wallet): use backButtonProps render prop in ScannerScreen

---------

Co-authored-by: Jules <78474837+JulesFiliot@users.noreply.github.com>
Co-authored-by: Jinho Jang <41753422+jinhojang6@users.noreply.github.com>
2026-05-18 16:02:17 +09:00
Jules 3e92c15bb1 chore: upgrade next to version 15.5.16 across all projects
* fix(status.app): normalize prefetch before passing to next-intl Link

next/link can emit prefetch: "unstable_forceStale", but next-intl’s Link type doesn’t accept it. Strip/normalize that value in the shared link wrapper to prevent the TypeScript build error.

* chore: upgrade next to version 15.5.16 across all projects

* chore: re-generate next-end.d.ts

* chore: add changeset
2026-05-15 12:43:44 +09:00
Jules 710b0238d8 fix(wallet): revalidate price chart cache on first stale read
* fix(wallet): revalidate price chart cache on first stale read

Next.js fetch cache uses stale-while-revalidate, so the first request
after the window returned a stale snapshot (hours old after idle) and
only refreshed in the background. Bucket the fetch URL by the
revalidate window so the first request in a new window is a cache miss
and fetches fresh synchronously. Applied to fetchTokenPriceHistory and
fetchTokensPrice via a shared setRevalidationBucket util.

* chore: add changeset
2026-05-15 10:38:07 +09:00
Jules 9e8d0fc75b feat(wallet): add token value chart
* chore(wallet): re-enable token value chart

* chore: add changeset

* feat(wallet): append latest spot and balance chart points

Ensure token charts include current spot price and current balance snapshots so rightmost points reflect fresh data.

* chore(wallet): align wallet query stale defaults

Set wallet fallback and token chart query stale windows to one minute to keep list and token views refreshed on the same cadence.

* feat(wallet): refresh token chart queries from toolbar

Include active price and balance chart queries in manual wallet refresh so token view latest values update immediately.

* chore(wallet): decrease short RPC requests rate-limit

From 30 RPM allowed to 40 RPM allowed

* chore(wallet): clean magic numbers in asset-chart

* feat(wallet): extract buildCanonicalTimestamps utility for uniform chart grid

* fix(wallet): anchor balance history grid at now and walk backward

Replaces the forward-walking timestamp loop (which had an uneven final gap
patched by pushing currentTime at the end) with buildCanonicalTimestamps.
The grid is now anchored at anchorTime (currentTime || now) and walks
backward in fixed intervals, so every gap is identical and the first point
is always exactly the anchor time.

* feat(wallet): add server-side tokenValueChart and nativeTokenValueChart procedures

Computes value (price x balance) on the canonical timestamp grid server-side,
replacing the client-side binary search in useValueChartData. Both procedures
share the same grid as the balance chart, so all three chart types have
homogeneous time gaps.

Key changes:
- Add tokenValueChart / nativeTokenValueChart async functions with shared
  buildStepBeforeLookup and buildValuePoints helpers
- Register both as tRPC procedures on assetsRouter
- Remove LATEST_BALANCE_POINT_OFFSET_MS hack and the duplicate
  getERC20TokensBalance / getNativeTokenBalance calls that appended a
  current-balance point at now-60s
- First point always uses live spot price + balance (same sources as
  assets.all) to prevent drift with AssetsList

* feat(wallet): query server-side value chart in AssetChart; remove useValueChartData

Adds a dedicated valueChart query that calls assets.tokenValueChart or
assets.nativeTokenValueChart. Loading and error states for the value tab now
derive solely from that query. Removes useValueChartData and the client-side
price x balance computation it performed.

* fix(wallet): forward-fill price lookup prefix to avoid $0 first value point

The canonical timestamp grid for value charts can extend slightly before the
earliest sample returned by CoinGecko's price history. In that case the
step-before lookup returned 0 for the oldest timestamp, producing a spurious
$0 value at the left edge of the chart. Fall back to the earliest known value
when the query precedes all data points.

* fix(wallet): show "No value" empty state only when address never held the asset

The value chart endpoints now return [] when no transfers exist at any point
in the address's history (mirroring the Balance chart's behavior). For any
asset the address has held at some point, every timeframe renders a full
chart, even if the value sits at 0 for that window.

* fix(packages/wallet): force-cache causing priceChart to return stale data

force-cache was causing `tokenPriceChart`/`nativeTokenPriceChart` calls to return stale data (for multiple days!). Using revalidate only still ensures coingecko price history data (`fetchTokenPriceHistory`) to be correctly cached for the revalidation time duration (1 hour).
2026-05-12 16:25:06 +09:00
Jules ab7a9fe4c9 fix(wallet): pending-then-dropped transactions
* refactor(wallet): extract padHex to shared package

Move the hex-padding utility out of ethereum.ts into @status-im/wallet/utils
so it can be consumed by both the signing layer and the nonce tracker.

* refactor(wallet): extract tRPC helpers to shared utils module

Move buildTrpcUrl, fetchTrpcData, and extractTrpcErrorMessage from
token-helpers.ts into apps/wallet/src/utils/trpc.ts so they can be
imported by any module without pulling in token-specific logic.

* fix(wallet): replace ad-hoc nonce tracker with mutex-scoped reservation

The old localNonceTracker bumped the nonce before broadcast, so a failed
broadcast left the counter permanently ahead, breaking every subsequent tx
until the extension reloaded. Concurrent dApp-bridge requests also raced on
the same counter and could both use the same nonce.

Replace it with a per-address mutex (promise-chain) that only commits the
incremented nonce after the broadcast callback resolves. Nonces are persisted
to chrome.storage.session via @wxt-dev/storage so the counter survives
popup reloads without losing progress.

* feat(wallet): add gas fees hook with polling and pre-sign refresh

Extract gas fee fetching into useGasFees with a 12s refetch interval and 8s
stale time so estimates stay current while the user reviews the modal.

Add checkAndRefreshGasFees(), called at sign time, which forces a fresh fetch
and returns the latest params. This ensures the broadcast always uses
up-to-date maxFeePerGas/maxPriorityFeePerGas regardless of how long the
user spent on the confirmation screen.

* feat(wallet): gate large gas price shifts with user confirmation

If gas rises >=30% between estimate and sign, checkAndRefreshGasFees throws
GasShiftedError. The send modal catches it, enters a 'gas-shifted' state, and
shows an inline warning with a 'Confirm with new gas price' button. A second
click resumes signing with the fresh params.

Smaller gas bumps (<30%) are accepted silently — the broadcast proceeds with
the refreshed values without user interaction.

* feat(wallet): expose imperative fetchGasFees from useGasFees hook

Stable callback for non-React callers to fire a one-off gas-fee
request without driving the reactive query. Accepts a data field
for arbitrary contract calls.

* refactor(wallet): replace 3-fetch gas fallback with single nodes.getFeeRate call

Drop the eth_getBlockByNumber + eth_maxPriorityFeePerGas + eth_estimateGas
trio in signAndSendTransaction in favor of one fetchGasFees call from the
useGasFees hook. Caller-supplied fee fields are now preserved per slot
via ??= instead of being overwritten as a pair.

* chore: add changeset

* feat(wallet): restore configurable gas limit buffering

Restore the 10% gas-limit safety margin via useGasFees (replacing the behavior removed from signer-context) and allow callers to disable it for native ETH transfers.
2026-05-11 14:29:22 +09:00
Jules 242931b25c fix(wallet): use our custom RPC proxy instead of public RPC
* chore(wallet): update li.fi widget

* fix(wallet): use our custom RPC proxy instead of public RPC

Many JSON RPC were made to a public API instead of our private RPC API. This included the ones made by Li.Fi, which was causing rate-limiting on the widget.

This commmit also factorizes the use of viem PublicClient to not instantiate more than needed.

* fix(wallet): handle batch JSON-RPC requests

* refacor(wallet): create singleton for viem publicClient

* chore: add changeset

* chore(wallet): move extractTxHash to package

Factorize all get tx hash operations to the package wallet and extract eth tx hash check to package as well.

* chore(wallet): replace `extractTxHash` by `getTransactionHash`

`getTransactionHash` is more robust and exported form the wallet package. Import `getTransactionHash` from the same location everywhere and remove re-exports. Delete `tx-helpers.ts` since not used anymore.

* fix(wallet/build): revert back to relative import
2026-04-27 11:56:52 +09:00
Jinho Jang 647e9ec794 fix: restore SettingsIndexRoute in RootRouteChildren and update import path for NETWORK_TO_CHAIN_ID (#1138) 2026-04-23 01:38:27 +09:00
Jinho Jang af761a6994 Add browser notifications for wallet transactions (#1095)
* feat(wallet): add notifications permission to manifest

* feat(wallet): add Chrome notifications helper

* fix(wallet): await chrome.notifications.create and fix vi.mock ordering

* feat(wallet): add background transaction monitor

* feat(wallet): register tx-monitor alarm in background service worker

* fix(wallet): cast storage mock through unknown for TypeScript

* feat(wallet): notify user when transaction is sent

* feat(wallet): add settings page with notification toggle

* feat(wallet): add settings navigation and route guard

* fix(wallet): notify confirmation from popup cleanup hook to handle popup-open case

* fix(wallet): notification quality fixes (precision, disable, dedup, errors)

* chore(wallet): regenerate onboarding route token after settings route added

* fix(wallet): update pending transaction handling to use async/await for better error handling

* chore: add changeset for browser notifications for wallet transactions

* refactor(wallet): streamline pending transactions handling and improve notification logic

* refactor(wallet): enhance settings page layout and add back navigation

* fix(wallet): improve error handling for notifications and transaction checks

* fix(wallet): add hasPendingTransactions check before processing pending transactions

* refactor(wallet): optimize pending transactions handling and receipt fetching

* refactor(wallet): consolidate transaction hash extraction logic into tx-helpers

* refactor(notifications): unify notification creation logic and simplify transaction notifications

* feat(wallet): dynamic tx monitor alarm - start on pending, clear when settled

* test(wallet): remove outdated tx-monitor tests

* refactor(tx-monitor): extract interval constant for alarm creation

* fix: pass network parameter to fetchNetworkNonce in getNonceHex function

* feat(notifications): implement notification permission check and storage key

* fix(settings): add gap between notification toggle and description
2026-04-22 22:35:01 +09:00
Jinho Jang 4ebe9893d5 Implement NFT transfer (#1089)
* feat: implement NFT transfer functionality with gas fee estimation

* fix: fix bug with NFT send transfer

* refactor(wallet): tighten NFT send error handling and helpers

* chore(wallet): restore mainnet defaults

* refactor(wallet): align nft send UI with design system

* refactor(wallet): enhance error handling for NFT transfers and tRPC API calls

* chore: add changeset for nft transfer

* fix(wallet): improve error handling in fetchTrpcData function

* refactor(wallet): apply code quality improvements to NFT transfer

* feat(wallet): improve NFT transfer validation and cache handling

* fix(wallet): refactor collectible componentsa

* refactor(wallet): address remaining NFT transfer review findings

* refactor(wallet): use zod schema for NFT send validation

* feat(wallet): implement collectible data fetching and traits display

* feat(wallet): move send-collectibles-modal to wallet package

* refactor(wallet): use package send-collectibles-modal in collectible route

* refactor(wallet): simplify insufficient funds error handling in NFT send

* refactor(wallet): improve insufficient funds error parsing in NFT send

* refactor(wallet): move useCollectible hook, dedupe nft-helpers, derive chainId from network

* fix(wallet): use currentAccount for address retrieval in Collectible component
2026-04-22 18:59:12 +09:00
Jules da1c09d9f6 feat(wallet): implement multi-wallets
* fix(wallet): disable interation w/ sticky header

* feat(wallet): persist selected account and normalize legacy data

Extend wallet metadata & API with selected account persistence and normalization for legacy activeAccounts

* feat(wallet): expose and persist current account in provider

Update WalletProvider to expose/select current account and persist selections

* refactor(wallet): use selected account in portfolio and signer flows

Replace first-account assumptions in portfolio and signer flows with selected account

* feat(wallet): implement wallet selector UI

Implement wallet selector UI and integrate into splitted layout

* chore(wallet): update import and create hooks to match api

Update import and create wallet hooks to use optional password to match new API props

* feat(wallet): componentize create/import flows

Componentize create/import flows and create non-onboarding cases

* refactor(wallet): use components for onboarding flow

Use previously componentized flows for create/import wallet onboarding flows

* feat(wallet): add standalone create and import routes

Add create/import wallet routes for non-onboarding flows. Enables wallet setup outside of the initial onboarding flow

* chore: add changeset

* chore(wallet): hardcode account name for dapp connect

* chore(wallet): comment out account name tooltip

Comment current account's name tooltip displayed on address hover. Since multi-account support is not implemented yet, this feature is more confusing than helpful.

* chore(wallet): add TODO for multi-account support

* chore(wallet): use wallet name instead of account name

Replace all use of currently selected account name by currently selected wallet name. The purpose is to avoid any confusion in the UI/UX between accounts and wallets.

* chore(wallet): rename wallet-account-selector to wallet-selector

Since we don't have multi-account support right now, rename to wallet-selector to make it explicist and avoid any confusion.

* fix(wallet): remove `/wallet-flow` as a route

There was no point in having `wallet-flow` as an existing route, it was a mistake.

* chore(wallet): remove useless refetchQueries

invalidateQueries will already handle the refetch for active queries.

* chore(wallet): edit create-password-step to factorize code

* fix(wallet): rename legacy "Account 1" wallets to "Wallet N"

Legacy wallets stored with the default name "Account 1" are now
automatically renamed to the next available "Wallet N" during
normalization. The rename is persisted to the store so it only
runs once per legacy wallet.
2026-04-22 14:22:53 +09:00
Jakub 41096e06e4 chore: migrate hoodi (#1060) 2026-04-14 11:00:33 +02:00
Jules d3614111c3 chore(wallet): change layout & messaging when hide<$1
* chore(wallet): change layout & messaging when hide<$1

* chore: add changeset
2026-04-14 12:17:32 +09:00
Jules 1a74ebc9fa feat(wallet/assets-list): add hide assets < 1 USD filter
* feat(wallet/assets-list): add hide assets <  filter

* chore: add changeset

* chore(wallet/assets-list): remove unnecessary button's attributes

* feat(wallet): create ToggleButton component

* chore(wallet): move hide <1USD switch to actions & use ToggleButton
2026-04-09 17:05:19 +09:00
Jakub b3e3155c1f feat: connect wallet to dApp (#1033) 2026-04-08 12:59:17 +02:00
Jinho Jang 89df4a5048 Migrate community curation dapp into status-web monorepo (#1077)
* feat: migrate community dapp

* fix: change server protocol from https to http in webpack config

* fix: update build script in package.json and add output directory to turbo.json

* fix: update CI workflow to initialize git submodules recursively and add Foundry installation step

* chore: change from community to community-dapp

* feat: add global type declarations for wallet and API integration

* fix: correct syntax for not-first-child selector in Card component

* fix(wallet): use type-safe globalThis cast instead of direct property assignment

* fix(community-dapp): fix eslint FlatCompat config and include test files in tsconfig

* fix(ci): fix forge test args and disable broken community-dapp tests

* fix(community-dapp): resolve @libp2p/interface to v2.10.4 for webpack build

* fix: add @libp2p/interface as missing dependency for @waku packages via packageExtensions

* fix: address PR review feedback

* fix(wallet): restore type-safe globalThis cast for CI build

* fix: commit ABI artifacts and add vercel.json for SPA routing

* fix(community-dapp): add 404.html for SPA routing on Vercel

* fix(community-dapp): simplify vercel.json to rewrites only

* fix(community-dapp): update vercel.json with build and output configurations

* fix: add Foundry dependencies to .gitignore
2026-03-31 23:27:42 +09:00
Jinho Jang 9f86f31e6c Fix max extension staking causing a transaction error (#1076)
* feat(unstake-vault): improve max balance handling and precision truncation

* fix(hub): truncate unstake MAX amount to 6 decimals to prevent precision overflow

* feat(lock-vault): enhance lock functionality with error handling and user feedback

* fiix: adjust lock time calculation to account for block time drift

* feat(unstake-vault): allow clearing input for amount field in unstake modal

* fix(lock-vault): improve timestamp handling and buffer calculations for lock extension

* fix(lock-vault): add loading state to lockUntil data retrieval and disable action button accordingly

* feat(lock-vault): enhance lock functionality with query invalidation and improved extension logic

* fix(lock-vault): handle bigint serialization in query invalidation to prevent stale cache issues

* fix(lock-vault): adjust remaining days calculation and clean up unused code in lock vault form

* feat(lock-vault): add max days validation based on MP cap and enhance loading state handling

* fix(lock-vault): implement safety cap for increased lock duration and simplify query invalidation

* fix(lock-vault): remove unused MP cap validation logic and clean up related code

* fix: register community-contracts submodules in .gitmodules
2026-03-31 03:39:29 +09:00
github-actions[bot]andgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 5cae149418 Release (#883)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-09 11:41:24 +00:00
Jules ca76e7d8ca feat(status-wallet): add password context
* feat: add wagmi, viem and @lifi/widget dependencies

* feat: add ethereum contract call and signing API functions

* feat: add sendContractCall ethereum wallet function

* feat: add signer context for wallet password and transaction signing

* feat: add custom wagmi status connector

* feat: add wagmi provider setup

* feat: add exchange drawer UI component

* feat: integrate LiFi widget for token swaps

* feat: update root route with new providers

* feat: add exchange button to token component

* chore: update CSP and improve password modal accessibility

* feat(wallet): enhance exchange drawer UI

* feat: add password context provider

* feat: extend password modal with customizable props

* feat: integrate password provider in root

* feat: integrate password context in onboarding flows

* feat: integrate password context in exchange drawer

* feat: integrate password context in send assets modal

* feat: integrate password context in recovery phrase backup

* refactor: migrate signer context to use password context

* chore(wallet): update lifi, wagmi & viem versions

* chore(changeset): revert useless quotes change

* chore(changeset): remove useless formatting change

* chore(wallet): remove useless async prefix

* chore(wallet/status-connector): turn code handling provider requests into a function for better readability

* chore: add changeset

* fix(wallet): properly type status-connector connect method

* chore(wallet/exchange): update request password modal copy

* chore(packages/wallet): delete SignTransactionDialog dialog as it is now dead code

* chore(apps/wallet): rename usePasswordSession to usePassword

* chore(apps/wallet): remove unnecessary async/await in password-context

* chore(wallet): remove unused import

* chore: add changeset

* chore(wallet): remove unnecessary await

* feat(wallet): show insufficient funds error when user is missing funds

* fix(wallet): white page after onboarding

* fix(wallet): redirection to `/portfolio/assets` when opening wallet UI

If user is onboarded and closes then opens the wallet's UI, he would be shown the onboarding page. This is has been fixed

* feat(wallet): add browser-passworder dep and alarms permission

* feat(wallet): add vault encryption service

* feat(wallet): add wallet metadata store

* feat(wallet): add stateless key derivation helpers

* feat(wallet): add session manager with auto-lock and migration

* feat(wallet): add alarm listener for session auto-lock

* refactor(wallet): replace keystore with session-based vault

* chore(wallet): remove useless no-op method

* chore(package/wallet): change toasts on tx send & enable sign btn after tx success

* fix(wallet): add chrome.alarms mocks to fix failing tests

* fix(wallet): migrate remaining legacy wallets on every unlock & delete them

Run migration on every unlock to ensure wallets that use different passwords get migrated when user access them.

* chore(wallet): remove unsued type field

* chore(wallet): make variable name more explicit

* refactor(wallet): make password request flow return boolean

Also changed variable names of callers to isUnlocked to be more explicit.

* chore(wallet): invalidate gql query so it would not stale

* fix(wallet): unblock send CTA during gas fee refetch and clarify action label

* fix(wallet): send tx & nonce padding && nonce collision && broadcastTx JSON extract
2026-03-09 20:25:03 +09:00
Jinho Jang d20d30c7a9 Implement hidden blog posts for status.app (#1068)
* fix: improve handling of feature images in blog detail page

* feat: enable direct URL access for hidden desktop-news and mobile-news blog posts

* feat: clean up sitemap configuration and add blog posts with publish dates

* feat: clean up sitemap by removing unnecessary fields and adding actual publish dates for blog posts

* feat: add status.network#build task with environment variables for Ghost API

* feat: clean up sitemap by removing unnecessary fields and ensuring accurate publish dates for blog posts

* feat: remove deprecated changesets for sitemap cleanup and blog post accessibility
2026-03-05 18:27:32 +00:00
Jinho Jang 28bbe5422f Reopen the rate-limit PR (#1058)
* feat: draft rate limit implementation

* feat: implement rate limiting for proxy APIs

* feat: Implement category-based rate limiting for ETH RPC procedures, update market proxy limits, and add rate limiter tests.

* refactor: enhance rate limiter with type safety and context handling, update middleware integration in TRPC

* feat: add clearRateLimitCache function and enhance rate limiter tests for improved functionality and isolation

* fix: reduce market rate limit for testing

* refactor: improve rate limiter IP handling and update market rate limit configuration

* feat: implement global rate limiting

* feat: add host-based rate limiting tests for improved isolation and functionality

* feat: enhance rate limiter tests with additional scenarios for blocking and handling requests

* refactor: enhance rate limiter with debug logging and improved error handling for rate limit exceeded

* chore: remove obsolete rate limiter tests to streamline codebase

* chore: remove wallet dependency to streamline package management

* chore: remove wallet dependency and add deprecation notices for walletconnect packages

* feat: add optional path property to RateLimitMiddlewareOptions interface
2026-02-27 22:03:05 +09:00
Jinho Jang ccc91d5a19 Update status.network blog content and SEO content (#1045)
* feat(blog): add blog to status.network

* refactor(blog): simplify blog page by removing unused tags and links

* feat(metadata): enhance JSON-LD schemas for Status Network with additional properties and improved descriptions

* chore: add changeset for JSON-LD schema updates, layout adjustments, and UI tweaks across components

* feat(blog): include status-network-blog in disallowed tags and update filters for post retrieval

* feat(blog): implement BlogCard component and update blog to fetch posts dynamically by tag

* feat(naver): add Naver blog integration with RSS fetching and image proxying

* feat(naver-image): implement Naver image handling functions and integrate with API route

* feat(ghost): enhance post retrieval by filtering disallowed tags and adding tag validation

* feat(blog): implement blog section with dynamic routing and metadata

* chore(blog): remove revalidation setting from blog page

* fix(blog): update environment variable names for Ghost API configuration

* feat(blog): enhance blog detail sharing by encoding post title in tweet URL

* fix(blog): update fallback image path in blog detail and post card components
2026-02-27 00:17:51 +09:00
Felicio 55cb107eb8 use TKARMA (#1044) 2026-02-20 01:06:18 +09:00
Felicio 81599fac07 use /api/trpc/rpc.proxy in apps/hub (#1003) 2026-02-19 09:37:59 +09:00
Jakub b6eb66516d fix: wallet QA fixes (#1020)
* fix: send modal input

* chore: update buy crypto drawer

* fix: date format in collectibles detail

* chore: regenerate token erc20 list with manually fixed BONK decimals

* fix: currency amount format

* fix: support ipfs icons and add fallback for missing icons

* fix: set minimal transactino value

* fix: improve balance validation in send assets modal

* fix: build

* Create blue-poems-mate.md

* chore: address feedback

* chore: update comment about wrapper BONK

* chore: remove redundant lowercase

* chore: remove log

* fix: rename minimum transaction value constant and update styling
2026-02-09 23:00:17 +01:00
jinhojang6 3e03b9d55c refactor(collectibles): implement scroll handling hooks for improved collectible navigation and state management 2026-02-06 18:01:51 +09:00
jinhojang6 0327d75333 refactor(collectibles): move utility functions for NFT handling to a separate module for better organization 2026-02-06 18:01:51 +09:00
jinhojang6 f1dbf54b2e feat(collectibles): add scroll handling to Link components and improve navigation behavior 2026-02-06 18:01:51 +09:00
jinhojang6 ecd5ec8773 fix(collectibles): enhance filtering logic to exclude spam, spam classifications, and require OpenSea verification 2026-02-06 18:01:51 +09:00
jinhojang6 4a0c43c6db refactor(collectibles): streamline collectible processing and enhance search functionality 2026-02-06 18:01:51 +09:00
jinhojang6 0a844c2400 feat(collectibles): add attributes mapping for improved collectible traits handling 2026-02-06 18:01:51 +09:00
jinhojang6 770734fdf3 fix(collectibles): update OpenSea verification logic and remove hardcoded address for improved flexibility 2026-02-06 18:01:51 +09:00
jinhojang6 79649c5cdd fix(collectibles): update comments for clarity and consistency in sorting and filtering logic 2026-02-06 18:01:51 +09:00