31 Commits
Author SHA1 Message Date
jinhojang6 929a99ad2d fix(api): throttle repeated portfolio refreshes 2026-07-25 00:17:38 +09:00
jinhojang6 689c1449ec fix(api): preserve tRPC response headers 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 f8f6090f0c fix(api): harden proxy rate limiting 2026-07-25 00:17:38 +09: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 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
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
Felicio 81599fac07 use /api/trpc/rpc.proxy in apps/hub (#1003) 2026-02-19 09:37:59 +09:00
Jules 1100022820 chore: update docs
* chore(README): add git submodule init step & contributing instructions

* chore(apps/api): add README

* chore(apps/hub): add README

* chore(apps/status.app): update README & add comment regarding vaults disabling

* chore: add changeset

* chore(README): remove useless git commands

* chore(README): fix broken note

* chore(README): fix broken code in note
2026-02-12 12:01:27 +09:00
Jules 5975aae28c fix(connector): two different zod instances being used
* fix(connector): two different zod instances being used leading to error in extension

* chore: add changeset

* fix(wallet): wrong zod version used

* fix: zod version resolution

* chore: add changeset

* fix: pnpm lock file to pass package/wallet build

* Revert "fix: pnpm lock file to pass package/wallet build"

This reverts commit a9455d4216.

* fix(connector): use dependency aliasing to isolate zod version

isolate zod's version of the connector project from other projects so it is not misused elsewhere

* fix(connector): zod imports
2026-02-04 14:43:41 +09:00
Jakub 06ceddc83b Fix React Server Components CVE vulnerabilities (#886)
* upgrade next

* Fix CVE vulnerabilities in React Server Components

Address CVE vulnerabilities in React Server Components.
2025-12-13 16:15:35 +01:00
e77bed68bc Release apps/hub (#827)
* Add deployment link for hub application

* disable SIWE

* Revert "disable SIWE"

This reverts commit 7c211ad67c.

* address feedback

* chore: only show close button on rejected dialog and compound initialize dialog (#841)

* add withdraw (#813)

* add withdraw

* Add changeset for patch updates

* address feedback

* address feedback

* change contracts address back to production

* add use client to emergencyMode hook

* test fix build

* test fix build

* fix(release): scope remark linting to content directory only

* fix(release): scope remark linting to content directory only

* chore(status.app): add changeset

* Rename 'Mobile' to 'New mobile' in routes (#845)

* Rename 'Mobile' to 'New mobile' in routes

why

- https://github.com/status-im/status-website/pull/1620#discussion_r2499897205

* Rename 'Mobile' to 'New mobile' in routes

* feat(layout): add Umami analytics script to RootLayout component

* fix(layout): update Umami analytics script domains in RootLayout component

* u

* update max amount

* update learn more link

* fix testnet tag and letter-spacing for text-13 class

* fix label for app

* Implement karma (#837)

* chore: add karma ui

* chore: update karma share button to black

* chore: add changelog

* feat: add loading states to Karma components

* fix: status.network build

* fix(status.network): react & react-dom mismatching versions

* feat(status.network): add status.network to build

* update partners (#16)

(cherry picked from commit d9df3e74cdd03ea2e7481fee0440df7a63c2730f)

* Update routes.ts

(cherry picked from commit 06e799ef871499cb8526f522cfd1a25520273730)

* update blog posts (#17)

(cherry picked from commit aefa8ae42c3357627b000314a32c0f8881bee511)

* Update blog.tsx (#18)

(cherry picked from commit 3e521ccc259f7830d2e29e7b3b529e58713108fd)

* chore(status.network): add missing png assets

* chore(status.network): revert removing trailing newline for package.json

* chore: update lock file

* chore(status.network): add sample env file

* chore: update lockfile

* fix(status.app): correct package path reference in vercel.json

* chore: add changeset

* chore: remove duplicate in pnpm-workspace

* chore(status.network): remove useless env file & its exception in gitignore

* chore(changeset): add explicit changeset

* chore: add status.network to root package.json

* fix(changeset): swap status.app for status.network

* revert "fix(status.app): correct package path reference in vercel.json"

* revert(status.app): remove trailing return on vercel.json

---------

Co-authored-by: Felicio <felicio@users.noreply.github.com>

* fix: status.network build

* fix(status.network): react & react-dom mismatching versions

* feat(status.network): add status.network to build

* update partners (#16)

(cherry picked from commit d9df3e74cdd03ea2e7481fee0440df7a63c2730f)

* Update routes.ts

(cherry picked from commit 06e799ef871499cb8526f522cfd1a25520273730)

* update blog posts (#17)

(cherry picked from commit aefa8ae42c3357627b000314a32c0f8881bee511)

* Update blog.tsx (#18)

(cherry picked from commit 3e521ccc259f7830d2e29e7b3b529e58713108fd)

* chore(status.network): add missing png assets

* chore(status.network): revert removing trailing newline for package.json

* chore: update lock file

* chore(status.network): add sample env file

* chore: update lockfile

* fix(status.app): correct package path reference in vercel.json

* chore: add changeset

* chore: remove duplicate in pnpm-workspace

* chore(status.network): remove useless env file & its exception in gitignore

* chore(changeset): add explicit changeset

* chore: add status.network to root package.json

* fix(changeset): swap status.app for status.network

* revert "fix(status.app): correct package path reference in vercel.json"

* revert(status.app): remove trailing return on vercel.json

---------

Co-authored-by: Felicio <felicio@users.noreply.github.com>

* feat: replace @cap.js/widget with @pitininja/cap-react-widget and update Karma components

* chore: import cap widget dynamically

* chore: add is connecting check to karma source card

* chore: rename karma-* files

* chore: fix github comments

* chore: connect karma contracts to hub

* chore: update karma media

* chore: remove text hover from black variant in button component

* chore: update progress tracker styles for mobile view

* chore: update progress tracker styles for mobile view

* chore: resolve comments

* chore: remove rebased remnants

* chore: fix github comments

* wip

* fix: resolve pow claim issue

* chore: remove mainnet for now

---------

Co-authored-by: Jules <78474837+JulesFiliot@users.noreply.github.com>
Co-authored-by: Felicio <felicio@users.noreply.github.com>

* add app to `status.network` and `hub` (#857)

* add to status.network apps

Co-authored-by: Filip Pajic <42151917+pajicf@users.noreply.github.com>

* t

* c

* c

* u

* c

* u

* u

* Update analytics script to restrict data domains

* fix: status network hub responsive version (#873)

* remove defi dashboard copy

* add community vote, fix layout

* update footer links

* add deposit (#816)

* feat: Add UI and hooks for pre-deposit functionality

- Added useApprovePreDepositToken hook for token approval process.
- Implemented useExchangeRate hook to fetch token exchange rates from Binance.
- Developed useMaxPreDepositValue hook to read maximum deposit amount for a user.
- Introduced usePreDepositStateContext and usePreDepositStateMachine for managing pre-deposit state.
- Created usePreDepositVault hook for depositing tokens into a vault.
- Updated DashboardPage to include vault selection and pre-deposit modal.

* Update apps/hub/src/app/_components/vault-card.tsx

Co-authored-by: Onuwa Nnachi Isaac <matrix4u2002@gmail.com>

* feat: Implement minimum deposit value hook and integrate into pre-deposit modal

* fix: update types for Reward and Token

* add dialog to sidebar

* Create poor-shoes-hear.md

* add dropdown to modal

* f

* fix build, return mock vault

* rm tokenAbi

* feat: update PreDepositVault ABI

feat: add useDepositFlow hook for managing deposit actions and validations

feat: implement useMultipleExchangeRates hook for fetching multiple token exchange rates

feat: create useMultiplePreDepositTVL hook for reading total assets from multiple vaults

feat: add useMultiplePreDepositTVLInUSD hook for converting TVL to USD

feat: implement usePreDepositLimits hook for fetching deposit limits from vaults

feat: create usePreDepositTVL hook for reading total assets of a single vault

feat: add usePreDepositTVLInUSD hook for converting vault TVL to USD

fix: update usePreDepositVault hook to include chainId in deposit calls

feat: implement useVaultSharesValidation hook for validating deposit shares

refactor: update DashboardPage to pass vault object to VaultCard component

* set id for key on VaultCard

* f build

* fix icons

* fix more icons

* fix dropdown

* add pre-deposit page, update responsive deposit flow

* deposited, tvl, refetches

---------

Co-authored-by: Onuwa Nnachi Isaac <matrix4u2002@gmail.com>
Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com>
Co-authored-by: Felicio <felicio@users.noreply.github.com>

* snt vote

* address feedback

* update vault image, not connected state

* use status proxy

* update lockfile

* Enhance DashboardPage: Update 'Learn more' link to open in a new tab with improved styling

* refactor: refactor components

* fix karma page

* fix stake page

* update tvl box

* fixes

* address feedback

* fix default weighted boost

* disable stake amount input if no vaults

* fix

* update next

* fix discover

* fix bg color

* fix dragon image

* add skeleton to vault card

* put dragon to pre-deposit page

* fix icons

* update piggy bank image

* load karma tiers from contract

* remove vaults section if user is not signed in or has zero vaults

* fix available/used daily limit for testnet tokens

* replace SNTs with STTs for staking

* revert toast for unauthorized user

* fix staking - add lock modal, update input max amount

* fix staking skeleton

* fix karma tiers loading

* fix loading source cards

* add sign-in before claim karma

* error handling

* add canary to apps

* auto-switch network to status sepolia on karma and stake page

* fix max amount click and validation for stake amount input

* remove redundant points copy

* feature canary app

* fix: Karma tier progress fixed on point when tiers boundaries are equal (#884)

* fix: set levelProgress to 0 in case of minKarma being equal to maxKarma

* Fix Karma tier progress for equal boundaries

---------

Co-authored-by: Jakub <520927+jkbktl@users.noreply.github.com>

* remove family option from wallet connect

* update app link and app icon in wagmi config

* add total token deposits

* add dollar sign to vault card

* change Deposited to Your deposit in vault card

* change sign

* rename SNTs to STTs on staking

* update copy on stake page

* update sum icon, change order of items per design

* update APY tooltipy copy

* update icon in staking

* update learn more button on dashboard

* update SNT icon for staking

* update pre-deposit page

* update padding for tvl box

---------

Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com>
Co-authored-by: Onuwa Nnachi Isaac <matrix4u2002@gmail.com>
Co-authored-by: Jules <78474837+JulesFiliot@users.noreply.github.com>
Co-authored-by: jinhojang6 <jinho5051@gmail.com>
Co-authored-by: Filip Pajic <42151917+pajicf@users.noreply.github.com>
Co-authored-by: gbonumore <34310821+gbonumore@users.noreply.github.com>
2025-12-12 08:55:38 +01:00
github-actions[bot]andgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 4750dd0305 Release (#870)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-10 15:51:12 +09:00
Jinho Jang 850022297d Fix issues with the incorrect wallet data (#877)
* Enhance token data handling by integrating CoinGecko markets API

* Update token market data retrieval to use current price from CoinGecko API

* refactor: refactor wallet assets business logic for better readability

* fix: correct spelling of fully diluted in asset metadata

* fix: update fallback logic for total supply

* docs: add changeset

* chore: update React and ReactDOM to version 19.1.2 across multiple packages
2025-12-08 22:18:47 +09:00
Felicio 9c3823bf25 upgrade next (#878) 2025-12-08 13:21:18 +09:00
Jinho Jang d92da0c61b Implement proxies (#860)
* Refactor API calls to use Status RPC for asset management

* Refactor API integration to utilize market-proxy service for token data retrieval

* Update environment variables to replace STATUS_RPC with ETH_RPC for proxy authentication

* Remove CryptoCompare API keys and references across multiple files, updating to use market-proxy service for token data retrieval.

* Add changeset for CRYPTOCOMPARE to MARKET_PROXY refactor

* Update ETH_RPC_PROXY authentication to make username and password optional

* Refactor proxy authentication to use server environment variables for credentials in assets and market-proxy services

* Refactor asset metadata fetching to use fallback mechanism and streamline token filtering by networks

* Enhance token metadata handling by implementing fallback

* Update ETH_RPC_PROXY authentication to require username and password in environment configuration

* Add environment variables

* Refactor nullish coalescing

* Remove unnecessary files

* Refactor token ID mapping in market-proxy

* Refactor market-proxy to introduce default values and improve token metadata handling

* Enhance token ID retrieval in market-proxy by integrating ERC20 token list and improving coin list caching mechanism

* Refactor market-proxy to utilize CoinGecko API responses directly, enhancing price

* Refactor asset and market-proxy modules

* Refactor to replace market-proxy with CoinGecko API integration

* Refactor CoinGecko API service to exclusively use proxy endpoint

* add ETH_RPC_PROXY_URL and MARKET_PROXY_URL
2025-12-05 10:47:23 +09:00
github-actions[bot]andgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 5010cb448e Release (#666)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-26 17:57:07 +09:00
JulesandFelicio b94eaff8e4 chore: update waku dependencies
* chore: update waku dependencies => update to node 22

* chore: add changeset

* chore(ci.yml): update node version

* fix(build): use jsx runtime for rehype-react in production

* chore(release.yml): update node version

* fix(build): handle CoinGecko API failures in exchanges page

* chore(status-js): update waku dependencies

* fix(status-js): resolve Uint8Array ArrayBufferLike type errors

* feat(status-js): make package compatible with ethers v5 & v6

* fix(status-js): fix ethers v6 API compatibility

* chore(ethers): prevent webpack from analyzing ethers v5 & v6 compatible calls at build time to avoid false positive errors

* chore(preview-page): add console logs for debugging in vercel preview

* chore(status-js): add console log to ethereum client to debug on preview

* chore(status-js): add extra logs to request-client to debug in preview

* chore(status-js): add extra logs to debug in preview

* chore(status.app): remove unnecessary guard

* patch crypto deps

* chore(status.app): type rehype-react options in jobs and blog pages

* remove logs

* update readme

* remove nested resolutions

* c

* add node networkConfig

* refactor(status-js): migrate to @bufbuild/protobuf v2 API

* chore(status-js): remove console logs

* chore(status-js): revert compatibility update for ethers v5 & v6

* chore(status-js): update waku packages to latest version

* fix(apps/wallet): react-router-dom version mismatch

* chore(packages/wallet): remove useless peer dependency

* fix(status.app): upgrade remark packages to unified 11 for mdx compatibility

---------

Co-authored-by: Felicio <felicio@users.noreply.github.com>
2025-11-26 17:01:48 +09:00
JakubandFelicio dc07597f1a add wallet connect (#804)
* add connectkit

* shared providers

* move turbopack from experimental

* Update ignoreCommand in vercel.json

* add button to portfolio, add wallet connect

* f builds

* f

* f shared

* clean up

* u

* Add wallet connect feature

Add wallet connect functionality.

* u

* u

* update patches

* update turbo.json

* fix barrel file

* fix build

* fix

* f

* f

* fix responsive top bar and buttons

* fix wallet connect on mobile

* make env variable required

* add missing env file

* fix value in env file

---------

Co-authored-by: Felicio <felicio@users.noreply.github.com>
2025-10-16 13:40:15 +02:00
Felicio d131e7bed8 cache wallet services (#793) 2025-09-10 16:17:47 +09:00
marcelinesandFelicio 997b4a138d Add remote config functionality (#784)
Co-authored-by: Felicio <felicio@users.noreply.github.com>
2025-08-28 19:22:23 +09:00
Jakub 6598026a86 add simple api key rotation (#782) 2025-08-27 19:28:59 +09:00
8467e461f1 wallet@0.0.1-beta (#746)
Co-authored-by: Jakub <520927+jkbktl@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: jinhojang6 <jinho5051@gmail.com>
Co-authored-by: marcelines <marcio@status.im>
2025-08-26 03:09:11 +09:00
JakubandFelicio 777709058a add real time data (#737)
Co-authored-by: Felicio <felicio@users.noreply.github.com>
2025-07-12 00:11:39 +09:00
fdc3fe9906 Send assets (#715)
Co-authored-by: Felicio <felicio@users.noreply.github.com>
Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com>
2025-07-10 12:09:06 +09:00
Felicio 5947450096 use env mode for apps/api (#724) 2025-06-26 21:01:47 +09:00
Felicio e7f48e26a9 add basic wallet test suite (#672)
- downgrade trpc for chrome extension usage
- remove trpc patch
- update vite
- replace vitest watch for run
- replace api for create fn to await Next headers for context
- seperate storage module from keystore
- use wxt chrome storage
- add vitest config
- stub chrome runtime
- stub browser
- test add, import and get wallet methods

closes https://github.com/status-im/status-website/issues/1564
2025-06-04 18:28:52 +09:00
Felicio 610315e7ec update deployment build command (#658) 2025-05-21 22:35:26 +09:00
Felicio a564ee3dd8 add .envs and checks (#657) 2025-05-09 15:01:33 +09:00
697ef10027 Add apps/*, and packages/* (#655)
Co-authored-by: marcelines <marcio@status.im>
Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com>
2025-05-09 01:42:28 +09:00