587 Commits

Author SHA1 Message Date
vvvvvv1vvvvvv
5a4f8155e7 fix: kline timezone (#3182)
* fix: k line timezone

* feat: fee tip

* feat: + changelog
2025-09-19 15:32:44 +08:00
vvvvvv1vvvvvv
f7dd9d67cf feat: update i18n 2025-09-19 10:39:20 +08:00
Hodor
126aa42ad4 feat: perps support switch account (#3175)
* feat: perps support switch account

* chore

* fix: some bugs

* fix: some bugs
2025-09-19 10:28:47 +08:00
kim
9863688c22 add perps bridge deposit and perps ui change (#3161)
* feat: init

* feat: update position

* feat: add bridge in perps deposit

* fix: some bugs

* fix: some css ui

* fix: some bugs

* fix:  some bug

* fix: some ui bug

* fix: two step approve and no use backend nonce

* fix: new account login perps valid agent limit

* update api version

* yarn lock

* fix: add minus and plus & fullback sign

* update hyperliquid-sdk version

* feat: update i18n

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-09-12 17:48:05 +08:00
DMY
8e86a3ec8e feat: add two-step swap (#3162)
* feat: add two-step swap

* feat: enhance ToConfirmBtn styling and add debouncing for latest quote text

* fix: remove 'SONIC' from twoStepChains

* fix: swap toToken value
2025-09-12 17:21:41 +08:00
vvvvvv1vvvvvv
60536ed8f0 fix: some UI issues (#3163)
* fix: backup mnemonic background color

* feat: make chain logo at top right in pendingItem

* feat: update gas account tooltip
2025-09-12 17:20:05 +08:00
hz002
7a810b15f5 feat: skip Withdraw&Claim translation (#3158) 2025-09-09 17:35:31 +08:00
hz002
bdc1f7e4c8 feat: withdraw&claim&queue actions in dapp (#3153)
* fix: popup mask

* feat: support difi minisign

* feat: wip

* fix: bugs

* feat: header

* fix: line

* feat: update rabby-api version

* fix: format

* fix: str params

* fix: styles

* fix: refresh protocol

* fix: valid

* fix: rpc interval

* feat: update rabby-api version

* feat: add onRedirectToDeposit callback to GasLess components and update login deposit confirmation

* feat: integrate useMiniSignGasStore to manage gas cache in DappActions and TransactionItem components

* fix: bugs

* feat: close popup when signed

* feat: queue action

* feat: approve

* feat: white list for approve spender

* fix: catch allowance

* fix: bugs

* fix: rpc concurrency

* feat: update rabby-api version

* feat: add loading state for balance change in MiniSignTx component

* fix: remove for await

* fix: sendTransaction

* feat: update whitelist approve spenders

* fix: await

---------

Co-authored-by: DMY <147dmy@gmail.com>
2025-09-09 15:57:03 +08:00
DMY
fc2bea5c3b feat: add gas token label to gas account modal (#3148) 2025-09-08 17:07:33 +08:00
vvvvvv1vvvvvv
98256cdbc3 feat: update i18n 2025-09-02 20:34:02 +08:00
vvvvvv1vvvvvv
42d2ad0507 feat: perps (#3135)
* feat: init

* fix: return

* feat: login init and sign approve

* update signTypedata

* feat: add single coin page and login logout status

* feat : open and close position action

* feat: update init deposit balance

* fix: update lint

* fix: remove no need action

* feat: implement MiniTypedDataApproval component and related utilities for signing typed data

* fix: login logout

* fix: vault storage

* fix: approveSignatures

* feat: add direct send approve & remove zero & history

* fix: perp account update

* feat: add deposit loading amount

* feat:add new user process

* feat:  new user and history

* fix: update chart decimals and style

* feat:  sdk manager and  reducer update

* feat: update deposit swap and bridge and login popup

* feat: add build fee & auto close add warn liq price

* feat: home pnl show and img default

* fix: update asset and chart all type

* feat:add ledger sign type data

* feat: + unlock promise

* feat: delete agent address modal  and split number

* feat:  init switch to perp home

* feat: swap and bridge css

* update api version

* feat: add stop and take profit in close history

* update  api  version

* fix: update ui

* fix: update rounded in login popup

* fix: dark mode color and css

* feat: add history page and update home history

* fix: open position and close position sentry monitor

* fix:  add sentry in open and close position

* feat: update ui css

* feat: home add loading page

* feat: update loading status

* fix: add withdraw mini approval typeData

* feat: support passing account props on miniSignTypedData

* fix: hard wallet deposit and login

* feat: update deposit and mini txs

* fix: withdraw loading and change account

* fix: debounce update mini txs and single coin

* feat: update content

* feat: login hard modal and revert

* feat: delete polling count to avoid 429

* feat: delete address & tp sl

* feat: __skip_translation in perps

* feat: hard wallet withdraw and css

* fix: debug log

* feat: add home refresh loading

* fix:  setting item add leftIconStyle props

* fix: fee delay avoid 429

* fix: maxUsdValueSize limit

* fix: maxUsdValueSize

* feat: logout when action position is no agent

* fix: max leverage

* Update src/ui/views/Bridge/hooks/token.tsx

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>

* Update src/ui/views/Perps/components/HistoryPage.tsx

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>

* Update src/ui/views/Perps/utils.ts

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>

* Update src/ui/views/Perps/usePerpsPosition.ts

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>

* Update src/ui/views/Perps/usePerpsPosition.ts

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>

* Update src/ui/views/Perps/usePerpsDeposit.ts

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>

* Update src/ui/views/Perps/components/HistoryPage.tsx

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>

---------

Co-authored-by: kim12322222 <jinming0228@qq.com>
Co-authored-by: DMY <147dmy@gmail.com>
Co-authored-by: kim <180150277+jinming0618@users.noreply.github.com>
2025-09-02 20:30:54 +08:00
DMY
dc0bd79097 feat: optimize built-in sign (#3139)
* feat: update built-in sign

* feat: optimize built-in features' slippage and gas selection

* chore: clean

* update

* fix

* fix

* fix

* fix: gasprice

* feat: add onCancel prop to ToConfirmBtn and DirectSignToConfirmBtn; implement riskReset functionality in BridgeContent and Main components

* fix

* fix

* fix

* fix

* fix: use latest tx
2025-09-02 20:18:16 +08:00
ByteZhang
f2de0494f9 feat: support air-gapped connection for OneKey wallet (#3106)
* feat: support onekey

* fix: onekey version

* chore: update content

* fix: old account web permission

* fix: onekey logo display issue
2025-08-27 14:45:23 +08:00
DMY
7d411c55ac fix: gas price on minisign (#3130)
* fix: gas price

* feat: update i18n

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-08-22 16:45:11 +08:00
vvvvvv1vvvvvv
caa5e1c88e feat: gas account deposit direct sign (#3124)
* gas account deposit direct sign

* optimize gas amount

* refactor: enhance gas account deposit flow and add GasAccountDepositButton component

* feat: add warning for low withdrawal amount in WithdrawPopup

* feat: improve gas account error handling and add insufficient gas tip

* feat: update WithdrawPopup to handle insufficient balance and improve balance display in GasAccount

* feat: add gasAccountError handling to improve gas account validation in ShowMoreGasModal and MiniFooterBar

* fix

* fix

---------

Co-authored-by: xyin535 <xiaohan.yin@debank.com>
Co-authored-by: DMY <147dmy@gmail.com>
2025-08-22 15:38:51 +08:00
vvvvvv1vvvvvv
210378e279 feat: update i18n 2025-08-12 18:23:07 +08:00
xyin535
251e2941c8 Feat/gas account update (#3111)
* update gas strategy

* update

* update api repeat

* update

* update api version

---------

Co-authored-by: xyin535 <xiaohan.yin@debank.com>
2025-08-12 18:07:32 +08:00
DMY
9eaa659d4b feat: Add connect page for OneKey and Trezor hardware wallets (#3110)
* feat: Add support for OneKey and Trezor hardware wallets

- Updated AddAddressOptions to route to new OneKey and Trezor connect pages.
- Created OneKeyConnect and TrezorConnect components with respective banners and styles.
- Added routing for OneKey and Trezor connections in MainRoute.
- Updated usePreference hook to include new hardware connection paths.

* fix: correct typo in OneKeyConnect import path

* fix
2025-08-12 17:58:55 +08:00
vvvvvv1vvvvvv
3c9a7829da feat: update i18n 2025-08-08 16:03:50 +08:00
DMY
94653b474e feat: add liquidity action (#3100)
* feat: add liquidity action

* chore: update deps

* chore: update rabby-action and rabby-security-engine versions
2025-08-08 14:30:06 +08:00
vvvvvv1vvvvvv
977fd2c3a7 feat: update colors (#3090)
* feat: update colors

* feat: update colors

* feat: update colors

* feat: update color

* fix: check icon

* feat: update icons

* fix: color

* fix: dark

* fix: color

* feat: update icon

* fix: head icon
2025-08-08 14:29:21 +08:00
xyin535
9b02dc6350 Feat/gas account (#3094)
* stash code

* gas account gift

* code optimize

* update gift cache

* update tips

* update style

* update persistance and withdraw

* update

* update withdraw style

* update login process

* fix time

* fix format

* update style

* update style,add debug logs

* fix login claim

* fix format

* update

* update lock

---------

Co-authored-by: xyin535 <xiaohan.yin@debank.com>
2025-08-07 11:13:36 +08:00
xyin535
6a8715fb73 update gas account tips (#3091)
* update gas account tips

* update messages.json

* feat: update i18n

---------

Co-authored-by: xyin535 <xiaohan.yin@debank.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-07-31 17:23:17 +08:00
DMY
7e377d9682 feat: signtx page retry (#3078)
* feat: add retry on signtx

* fix

* fix

* chore: remove useless console

* fix: style

* fix: style

* fix: style

* fix: style

* chore: clean log

* feat: update i18n

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-07-25 10:50:43 +08:00
vvvvvv1vvvvvv
69be006c2f feat: update i18n 2025-07-18 14:46:37 +08:00
hz002
b24a50682c feat: appchain tip & send ui update (#3066)
* fix: update send & app chain tip

* fix: check token amount after from address change

* fix: styles

* fix: check network error

* revert: whitelist service change

* docs: update appchain tips

* style: update app chain tips

* fix: hide copy address icon

* fix: copy icon

* style: appchain tips
2025-07-18 14:13:57 +08:00
DMY
c629a91070 feat: direct submit tx (#3052)
* feat: pending tx item status ui ready

* feat: add pending tx history action

* wip

* fix

* fix

* fix: send status

* fix: update tooltip title and adjust styles for gas selection

* fix

* fix: update store item update method

* feat: add loading skeleton for gas list in ReserveGasPopup

* fix

* fix:  add send nft pending tx item info

* fix

* fix

* feat: add send nft jump

* refactor: clean up transaction handling logic in BridgeContent

* fix: missed import

* feat: remove loading number badge on swap bridge

* fix: add bridge tx history status

* fix: send nft done set amount zero

* fix: update gas cost calculation in DirectSignGasInfo component

* fix: streamline direct signing logic and improve gas handling in MiniLedgerAction and BridgeContent components

* fix: sendNft data in other

* fix: send token pending info filter safe

* fix: improve gas cost calculation in MiniSignTx and ShowMoreGasModal components

* fix: enhance gas cost handling in DirectSignGasInfo component

---------

Co-authored-by: kim12322222 <jinming0228@qq.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-07-18 14:13:48 +08:00
DMY
39510ce712 feat: revoke 7702 (#2994)
* wip

* fix: update transaction type handling for EIP-7702 and 1559 compatibility

* fix: conditionally show table header based on data source length

* chore: @rabby-wallet/eth-simple-keyring@5.1.0
2025-07-17 15:40:35 +08:00
hz002
4d94f0750a feat: new send (#3051)
* feat: remove whitelist settings

* feat: clear whitelistenable setting judge

* feat: add whitelist entry

* feat: edit whitelist address alias

* feat: enter address

* feat: filter imported address

* style: input height

* feat: password confirm risk alert

* feat: risk for address

* feat: send-token from address

* fix: clean code

* feat: to address from send token

* feat: chain select

* feat: risk token modal

* feat: risk for token

* feat: test chain alert

* style: token select

* feat: chain alert for to address

* fix: repeat auth

* docs: risk modal title

* feat: nft send page

* fix: copy to address

* feat: search tip for whitelist address

* fix: form

* feat: empty token select

* fix: type

* fix: bugs

* fix: full screen for custom net add

* fix: bugs

* fix: ui

* fix: scroll

* fix: clear state

* fix: tooltip

* feat: loading for send token

* docs: tip for chain

* feat: update i18n

* feat: + changelog

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-07-11 19:30:19 +08:00
vvvvvv1vvvvvv
9d72fc9555 feat: update slogan (#3049)
* feat: update slogan

* feat: i18n
2025-07-11 15:31:29 +08:00
hz002
92c991576c fix: gas select (#3042)
* fix: gas select

* fix: update deps

* desc: Warining to Waning
2025-07-08 15:09:08 +08:00
vvvvvv1vvvvvv
9961f4064d feat: update description 2025-07-03 18:18:14 +08:00
vvvvvv1vvvvvv
bb885fa5bb feat: update i18n 2025-07-03 16:43:00 +08:00
Hodor
54c5385dda feat: support switch account (#3030)
* feat: support switch account

* fix: style

* fix: style
2025-07-03 16:40:32 +08:00
hz002
bf88d7ad4a feat: app chain (#3028)
* feat: protocol  of app chain

* feat: balance

* fix: type

* fix: revert host

* style: ui

* fix: remove log

* feat: rabby-api version

* feat: rabby-api lock

* feat: rabby-api lock

* feat: ignore error when appchain api failed

* fix: version

* fix: loading for app chain
2025-07-03 16:26:52 +08:00
vvvvvv1vvvvvv
45342db267 feat: resume send nft (#3022)
* feat: resume send nft

* fix: nft modal

* fix: messages

* add video src validation

* fixed xss problem

* fixed xss

* fixed sanitizedUrl

* resume

* fix package.json

* fixed

---------

Co-authored-by: xyin535 <xiaohan.yin@debank.com>
2025-06-26 16:47:31 +08:00
hz002
1ea7b95693 feat: new send token (#3010)
* feat: send poly

* feat: whitelist entry

* fix: toggle whitelist enable

* fix: sorted account render row

* feat: risk tips for confirm address

* feat: confirm risk popup

* fix: type error

* feat: whitelist inpu

* feat: send main page

* feat: watch icon replace

* feat: remove isWhitelist icon in account list

* feat: line main page

* feat: debounce ens detect

* fix: clean code

* feat: line whitelist confirm

* feat: cex detect

* fix: style

* feat: detect token support

* feat: alert token risk

* feat: detect cex info when init

* feat: send refactor

* feat: batch fetch balance

* feat: mini sign for send

* feat: remove alert

* feat: cex props

* fix: bugs

* fix: styles

* fix: bugs

* fix: styles

* feat: remove message in send tx

* fix: route error

* feat: remove whitelist

* feat: i18n

* feat: loading risk skeleton

* fix: init cache

* fix: styles

* fix: clear icon

* fix: account list render

* fix: refresh data

* fix: tx init

* fix: confirm style

* fix: force watch light avator

* feat: animation for enter address

* fix: bugs

* fix: styles

* fix: bugs

* fix: bugs

* fix: background detect cex

* fix: bugs

* fix: account type

* fix: bugs

* feat: custom network token list

* fix: clean code

* fix: clean code

* fix: clean code

* fix: clean code

* feat: empty test token list holder

* fix: ui

* fix: detect cex list

* fix: confirm address

* feat: findAccountByPriority

* fix: type

* fix: style

* fix: unique account

* fix: lower watch account

* fix: i18n

* feat: tag cex to sign

* fix: top10 accounts

* feat: update i18n

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-06-26 11:38:10 +08:00
richardo2016x
6120c043f6 feat: support rate guidance modal. (#3009)
* feat: basic layout for rate guidance and its modal.

* feat: upgrade dep version.

* feat: finish workflow.

* feat: go straight to product's my-review page on chrome store.

* feat: change entry of ecosystem.

* feat: add tracking.

* feat: robust change on submitting.

* chore: cleanup.

* feat: also push rate details on high stars.

* feat: tuning style & behavior

* fix: style.

* feat: also disable exposure rate guidance on popup window closed.

* style: tuning.

* fix: use top 10 values of signable address on rating module.

* chore: cleanup.

* fix: logic

* feat: robust change.

* chore: code cleanup.

* feat: also filter out walletconnect and coboargus
2025-06-25 20:01:48 +08:00
vvvvvv1vvvvvv
96475399ae feat: update text 2025-06-13 10:06:04 +08:00
vvvvvv1vvvvvv
a10ae20244 fix: style issues (#2995)
* fix: style issues

* fix: auto check for custom token

* fix: remove checked style

* feat: i18n
2025-06-06 13:44:41 +08:00
hz002
a0354ab485 feat: new user guide (#2984)
* fix: remove tips when manage address

* style: main color

* style: create confirm

* feat: style

* fix: icon dark style

* fix: png logo

* fix: guide position

* fix: bugs

* fix: route change

* fix: filter account when create or import

* fix: bugs

* style: revert main color

* fix: clear when has value

* fix: replace home preview png

* fix: clear btn

* style: fontSize

* fix: delete changed i18n desc
2025-06-06 11:12:49 +08:00
Hodor
d064dbd00c feat: update dapp account (#2977)
* feat: add select chain guide

* chore: signTx add sentry

* fix: signTx error

* feat: remove chain guide

* feat: remove current dapp address

* Revert "feat: update eco (#2875)"

This reverts commit cb56f7d30e.

* chore

* feat: add switch dapp account

* fix: some bugs

* chore: style

* chore: rm repeat capture

* feat: update i18n and changelog

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-05-28 17:20:30 +08:00
Hodor
163a6cce4e feat: support dapp change account (#2967)
* wip

* feat: support dapp change account

* feat: user guide

* feat: gnosis wrong chain alert

* fix: gnosis

* feat: public key & decrypt

* fix: EthereumProvider

* feat: migration

* chore

* fix: waiting

* fix: some bugs

* fix: account

* fix: connect

* fix: connect style

* fix: gasAccount

* fix: set dapp account

* fix: style

* fix: guide

* fix: guide

* feat: change gnosis alert style

* fix: style

* chore: remove console

* feat: current dapp address

* chore: fix some style

* chore: style

* chore: style

* chore: style

* feat: + i18n

* feat: + changelog

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-05-26 12:32:25 +08:00
DMY
be78be31b8 feat: update text (#2940)
* update text

* feat: bridhe history add slippage
2025-05-08 15:00:48 +08:00
DMY
6ca9afd293 feat: external swap bridge (#2934)
* wip

* refactor: simplify SwapBridgeDapps type

* style tuning

* fix: disable bridge input

* fix:  unsupported chain clear input

* feat: add utm_source

* fix: not close current page on tab mode

* feat: update i18n

* chore: + ignore useless sentry errors

* feat + changelog

* fix: version code

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-04-24 17:55:13 +08:00
heisenberg
2c34c67d8d fix: 'Rabby Mobile' -> 'Mobile Sync' (#2919)
* fix: 'Rabby Mobile' -> 'Mobile Sync'

* fix: cn locale

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-04-17 14:29:21 +08:00
vvvvvv1vvvvvv
7672478fe7 fix: i18n 2025-04-11 19:18:58 +08:00
vvvvvv1vvvvvv
b69f11d2fe feat: new token detail (#2911)
* feat: token chart

* remove

* feat: add token detail info and list by

* feat: import price chart

* fix: block tips and token ui

* feat: token detail ui update

* fix: some ui fix

* fix: update custom token and ui update

* fix: update name

* fix: location history

* fix: update add asset in notification page

* feat: update some token detail ui

* fix: bridge token detail popup height

* fix: update none error for tooltips

* fix: update token chart color by set other name

* fix: some ui bug

* fix: update js error and ui

* Update src/ui/views/Dashboard/components/TokenDetailPopup/ScamTokenTips.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: custom add button

* fix: customTestnetTokenToTokenItem is_verified default value

* fix: testnet token should not fetch token detail and chart

* fix: token detail confirm disabled status

* fix: scam status update

* fix: fetch scam token from api

* feat: from token select disabled tips

* fix: tips title

* fix: es lint

* fix: add tipsFromTokenSelect in token detail popup

* feat: update i18n

---------

Co-authored-by: DMY <147dmy@gmail.com>
Co-authored-by: kim12322222 <jinming0228@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-11 18:33:03 +08:00
DMY
ffe0dbfb52 feat: new token select style (#2906)
* new token select style

* fix

* style tuning

* chain select style tuning

* fix

* chain select style tuning

* fix: loading

* fix: style for loading

* fix

* fix

* fix: disbaled tips

* fix

* fix

* fix

---------

Co-authored-by: hz002 <zs4733525@gmail.com>
2025-04-11 18:25:14 +08:00
vvvvvv1vvvvvv
f4f1ef1353 feat: auto set language for new user (#2908)
* feat: auto set language for new user

* feat: support pt ko id vi language
2025-04-11 12:43:05 +08:00