Commit Graph

218 Commits

Author SHA1 Message Date
DMY
b599980b26 feat: swap add magpie;openocean paraswap_v6 support xdai (#2728)
* feat: swap add magpie;openocean paraswap_v6 support xdai

* fix: Multisig addresses are not supported for deposits gasaccount

* feat: some swap-related tweaks

* style tuning

* fix: magpie contract adress
2025-01-14 18:35:08 +08:00
heisenberg
352b6077c6 fix: gas limit issue in testnet, close #2710 (#2726)
* fix: gas limit issue in testnet, close #2710

* feat: buffer

* fix: gas

* chore: buffer list
2025-01-14 18:15:14 +08:00
Hodor
52be42010d feat: update clear pending (#2721)
* feat: update clear pending

* fix: i18n
2025-01-13 17:50:09 +08:00
Hodor
c0a2fc5fc3 feat: safe address support mantle, world chain, blast and sonic (#2692)
* feat: safe address support mantle, world chain, blast and sonic

* fix: safe handleConfirm

* fix: import order

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-12-20 10:49:36 +08:00
heisenberg
4d85fbc6d1 fix: gasMarketV2 (#2671)
* wip: gasMarket

* fix: nonce

* fix: gasMarketV2

* fix: update api

* fix: bugs

* fix: icon

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-12-12 16:32:10 +08:00
hz002
aeeaca9ee5 Feat/firefox (#2568)
* feat: test for firefox

* fix: post message transfer

* fix: remove dev code

* feat: vary manifest for firefox and chrome.

* chore: upgrade rabby-api, rabby-sign

* fix: default MANIFEST_TYPE

* fix: replace sw offscreen

* fix: revert iframe import offscreen html

* fix: remove dev code

* fix: reset mv2 manifest

* fix: hide ledger

* fix: split chunk for firefox extension

* fix: split chunk only for firefox

* fix: transform message only for firefox

* feat: tip for ledger in firefox

* fix: option use nav usb

* fix: option use nav usb

* fix: hover icon

* feat: hover tooltip for ledger disable

* fix: get creds promisfy

* feat: build for firefox

fix: clean dist

feat: revert lark notify

* fix: webpack split chunk

* chore: update version

* Update src/constant/index.ts

---------

Co-authored-by: richardo2016x <richardo2016x@gmail.com>
Co-authored-by: heisenberg <heisenberg-2077@outlook.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
2024-12-12 10:58:46 +08:00
Christian Holman
e32d05ac4c feat: Sonic Ecology Entry (#2619)
* checkpoint

* fancy-fy ux

* checkpoint

* checkpoint

* update copy for referral code share

* styling updates

* clean up

* remove flake-related and editor-convenience files

* update referral code url

* consolidate fetching with new api

* use pre-existing utilities

* clean up

* fix sonic ecology homepage links

* fix merge conflict

* remove sonic chain id from global constants

* move external theme colors

* use openExternalWebsiteInTab

* refactor: revert export order change in utils/index.ts

* minify PNGs

* revert -rabby- colors and clean up

* Update src/ui/views/Dashboard/components/EcologyPopup/index.tsx

---------

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
2024-11-28 14:42:48 +08:00
heisenberg
f4d1af5de0 fix: clear the ledger's transport when disconnected (#2635) 2024-11-22 16:21:16 +08:00
vvvvvv1vvvvvv
b61f228033 feat: + is_core for total_balance (#2621) 2024-11-13 16:26:15 +08:00
DMY
28818cc766 feat: 0xv2 (#2609)
* test 0x_v2

* update yarn.locj

* fix

* resume 0x name

* chore: @rabby-wallet/rabby-swap 0.0.42
2024-11-11 15:33:46 +08:00
vvvvvv1vvvvvv
1d03b0622f feat: + changelog 2024-10-11 18:59:12 +08:00
Charon-Fan
9a03f3960c feat: Update Keystone USB feature (#2519)
* feat: Update Keystone USB feature

* feat: Update Keystone USB copy

* fix: resolve USB transaction issue

* chore: Remove console.log

* chore: update copy

* chore: update Keystone signature content

* fix: data sync issue on Keystone wallet switch

* feat: Add needAccessRedirect prop to QRCodeReader component
2024-09-24 19:50:46 +08:00
DMY
8027107cf3 feat: add odos paraswap_v6 (#2512)
* feat: add odos paraswap_v6

* fix: swap history dex name

* fix: swap history dex name

* update

* update @rabby-wallet/rabby-swap
2024-09-12 14:59:52 +08:00
vvvvvv1vvvvvv
f69dc31cd9 feat: changelog 2024-09-05 15:37:33 +08:00
DMY
685df0a0f1 feat: gas account (#2501)
* feat: gas account

* fix

* feat: add btn loading state

* Refactor hooks to accept dependencies and improve state management

* fix ui

* fix

* fix ui

* Update src/background/controller/wallet.ts

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

* Update src/background/controller/wallet.ts

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

* fix

* fix

* feat: gasaccount logout verfied

* feat: logout gas account when address removed

* feat: sync logout state after deleting addresses

* update text

* update text

* remove bg

---------

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-09-05 15:28:30 +08:00
heisenberg
8134131101 feat: new actions (#2491)
* feat: new actions

* feat: rabby action

* feat: testnet

* fix: rabby-action

* fix: typed data actions

* feat: support 3 new actions (#2495)

* feat: + 3 new actions

* chore: remove useless code

* fix: TransactionActionList

* fix: rabby-action

* fix: common require data is null

---------

Co-authored-by: heisenberg <heisenberg-2077@outlook.com>

* fix: type

* feat: + interact before

---------

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-09-04 15:12:21 +08:00
Hodor
b637e47d9b feat: mini sign tx (#2487)
* feat: mini sign tx

* chore

* feat: update rabby-api

* fix: preExecTx

* fix: swap history

* fix: tx

* chore: fix some bugs

* feat: i18n

* feat: remove console

* fix: bridge

* fix: some bugs

* chore: fix i18n

* fix: ledger

* fix: sendTransaction

* fix: close swap

* fix: gas

* fix: txs
2024-08-26 17:29:58 +08:00
Tomasvrba
3b71106d8e bitbox02: re-enable eip1559 signing (#2490)
EIP1559 signing for the BitBox02 was mistakenly disabled in the last
release due to a bug introduced by Rabby in:
9096ec54cf/src/background/service/keyring/eth-bitbox02-keyring/eth-bitbox02-keyring.ts (L223)

Adding the signature check without adding the chainId to txData
results in signature mismatch as the etherumjs library wrongly creates
a mainnet signer without the specified chainId
2024-08-26 11:37:29 +08:00
vvvvvv1vvvvvv
65d4bf02c5 feat: + changelog 2024-08-16 19:10:20 +08:00
Hodor
cdcaebdc34 feat: support wallet_revokePermissions (#2472) 2024-08-16 14:38:44 +08:00
heisenberg
9c0fb63ee4 fix: bitbox02 wallet transaction failed (#2454)
* fix: bitbox02 wallet transaction failed

* Update index.ts
2024-08-07 17:17:15 +08:00
vvvvvv1vvvvvv
bb3db2561f feat: support Cobo Argus on manta, mode and scroll (#2452)
* feat: support cobo argus on manta, mode and scroll

* fix: type
2024-08-07 17:16:40 +08:00
vvvvvv1vvvvvv
e8b459a375 feat: + changelog 2024-08-01 18:40:49 +08:00
Hodor
e0fae79f76 feat: add safe support for linea xlayer and scroll chain (#2447)
* feat: add safe support for linea and scroll chain

* feat: safe support X Layer
2024-08-01 15:58:07 +08:00
Xavier
756d54c044 Add NGRAVE ZERO QR-based Hardware Wallet (#2403)
* feat: adding ngrave zero brand

* Updated dependency & QR size

* Update Player.tsx

* added conditional to show ngrave zero brand

* Update src/constant/index.ts

Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>

* Update src/constant/index.ts

Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>

* Update src/ui/views/Approval/components/QRHardWareWaiting/Player.tsx

Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>

* Update src/ui/views/Approval/components/QRHardWareWaiting/Player.tsx

Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>

* Update src/ui/views/Approval/components/QRHardWareWaiting/QRHardWareWaiting.tsx

Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>

* Update src/ui/views/Approval/components/QRHardWareWaiting/Reader.tsx

Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>

* Update src/ui/views/Approval/components/QRHardWareWaiting/Reader.tsx

Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>

---------

Co-authored-by: caiquecruz <kaiquecruz@gmail.com>
Co-authored-by: Caíque Cruz <31424646+caiquecruz@users.noreply.github.com>
Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>
2024-07-31 10:42:31 +08:00
vvvvvv1vvvvvv
1ef9dc6ca7 feat: + changelog 2024-07-26 22:38:47 +08:00
richardo2016x
0da34968b7 feat: update color of neutral-line. (#2423) 2024-07-25 16:34:08 +08:00
richardo2016x
0e79a1fbdf style: tuning. (#2414)
* style: expand table size on Approvals page

* style: tuning.

* chore: update chains

* feat: swap max balance button

* feat(Approvals): better token symbol display

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
Co-authored-by: DMY <147dmy@gmail.com>
2024-07-19 18:39:33 +08:00
heisenberg
b5fc3a1664 refactor: password (#2217)
* refactor: password

* fix: jsdoc

* fix: name

* fix: tryUnlock in background

* refactor: message channel (#2351)

* refactor: message channel

* feat: update page-provider

* chore: remove console

* feat: add defer

* chore

* fix: sw reconnect

* fix: import scripts on sw load

---------

Co-authored-by: heisenberg <heisenberg-2077@outlook.com>

* fix: reduce keep alive interval

* feat: update page-provider

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
Co-authored-by: Hodor <lost1q84@gmail.com>
2024-07-19 11:37:23 +08:00
vvvvvv1vvvvvv
4afae05e6b feat: update opstack chains (#2411) 2024-07-19 10:46:51 +08:00
Hodor
b169a97eaf feat: support dbk ecology (#2393)
* wip: dbk chain

* feat: mint nft ui

* wip

* wip

* wip: dbk bridge

* feat: mint

* feat: activity

* feat: get supply & balance

* fix: get supply

* feat: add ecology notice modal

* chore

* chore

* chore

* chore

* fix: ui bugs

* chore: fix some bugs

* chore: fix some bugs

* feat: i18n

* chore: i18n

* fix: lato bold css resource

* chore

* feat: i18n

* chore

* fix: font style

* feat: udpate rabby-api

* fix: font resource

* chore: dbk nft hook

* chore: fix some bugs

* chore

* fix: chain

* fix: page

* chore

* feat: update support chains

* fix: lato resource revert

* fix: minted NFT font family

* fix: some bugs

* chore: fix some bugs

* chore

* chore

* fix: max balance

* chore

---------

Co-authored-by: fhasghrge <1969533391@qq.com>
2024-07-12 18:50:33 +08:00
DMY
649d19b837 feat: bridge (#2388)
* feat: bridge

* fix: typo

* feat: bridge

* chore: clean code

* fix: icon ui

* fix

* fix: style

* feat: bridge

* feat: swap

* fix

* fix: i18n pluar

* chore: @rabby-wallet/rabby-api@0.7.23

* fix

* update

* update

* update

* chore: update @rabby-wallet/rabby-swap@0.0.38

* feat: swap bridge pending sort

* chore: clean code

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-07-12 18:45:27 +08:00
vvvvvv1vvvvvv
e8aa9c9474 feat: update privacy (#2389) 2024-07-10 10:27:05 +08:00
DMY
4431d06a74 fix: swap UI (#2378)
* fix: swap

* fix: position

* fix: swap ui

* fix: swap ui

* fix: ui

* fix: type

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-07-04 18:11:24 +08:00
richardo2016x
60ef1cf3df feat: limit size of balance cache. (#2362)
* feat: limit size of balance cache.

* fix: keep default value.
2024-06-28 18:14:29 +08:00
heisenberg
1435bce521 fix: sign tx ui (#2340)
* fix: balance change ui

* fix: receiver ui

* fix: receiver popup

* fix: ui

* chore: update chain list

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-06-21 16:32:55 +08:00
heisenberg
3608b6d346 fix: using events instead of delayed trigger sign (#2335) 2024-06-21 15:46:48 +08:00
vvvvvv1vvvvvv
5d4008a092 fix: address display (#2330)
* fix: address display

* fix: color
2024-06-14 18:15:19 +08:00
vvvvvv1vvvvvv
41cf9a62a4 feat: not display balance change in some conditions (#2322)
* feat: not display balance change in some conditions

* fix: CI

* fix: remove yarnPath

* feat: background color of sign

* fix: some style issue

* fix: wrap
2024-06-14 16:45:47 +08:00
vvvvvv1vvvvvv
1cb317b9ca fix: ui bugs (#2310)
Co-authored-by: Fhasghrge <1969533391@qq.com>
2024-06-07 11:47:38 +08:00
heisenberg
7b3077c619 feat: new sign ui (#2275)
* feat: init table ui

* feat: balance change

* fix: divide

* fix: col style

* feat: swap ui

* fix: popup

* fix: loading ui

* fix: detail ui

* feat: advanced settings

* feat: init gas

* feat: gas menu button

* feat: gas popup

* feat: gas popup

* fix: tag position

* feat: rule

* fix: footer

* fix: sign popup ui

* fix: gas

* fix: hover

* fix: icon

* fix: dark mode

* feat: send token

* feat: send nft

* fix: send ui

* feat: revoke

* feat: token approve ui

* feat: approve nft

* feat: wrap & unwrap

* feat: assetOrder

* feat: contract call

* feat: cross and multi-sign

* feat: text & typeddata header

* fix: typedData & text

* fix: ellipsis

* fix: ui

* fix: text ui

* fix: description ui

* fix: token approve ui

* fix: ui

* fix: ui

* feat: revert footerbar

* fix: hover style

* fix: item ui

* fix: gas disabled

* feat: + receiver is spoofing for send token (#2296)

* fix: addressSource

* fix: engine

* fix: gas estimated seconds

* fix: tooltip ui

* fix: gas estimated

* fix: gas

* fix: padding

* fix: gas ui

* feat: TooltipWithMagnetArrow supports viewportOffset

* fix: row ui

* fix: nft icon

* fix: gas display

* fix: nft icon

* fix: default nft icon

* fix: tip ui

* chore: update engine sdk

* fix: engine

---------

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-05-31 16:09:40 +08:00
DMY
a08d3a97ea feat: max native token in swap (#2292)
* feat: max native token in swap

* feat(Send): change decimals for balance text.

* feat: type.

* fix: intrinsic_gas_too_low

* feat: not warning gas fee reservation.

* chore: code cleanup.

* feat: increase hover range on gasless tip

* fix: issues

---------

Co-authored-by: richardo2016x <richardo2016x@gmail.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-05-30 11:51:53 +08:00
Hodor
7528fac217 feat: add dapp search & add locked popup icon (#2264)
* feat: add dapp search

* feat: add lock icon

* chore: change some text

* fix: lock icon

* chore: update lock icon
2024-05-16 15:13:58 +08:00
vvvvvv1vvvvvv
619ac40ccd feat: gas free (#2224)
* feat: init

* wip

* fix: fetch logic

* feat: gasless

* feat: update GAS_TOP_UP_SUPPORT_TOKENS

* docs: update

* docs: update

* feat: update

* fix: contract account not fetch gasless status

* docs: update

* style: fix

* fix: exclude WatchAddressKeyring

* style: fix

* docs: update

* fix

* fix

* style: gasless animation

* feat: + gas free memo

* feat: + changelog

---------

Co-authored-by: DMY <147dmy@gmail.com>
2024-04-30 20:10:11 +08:00
richardo2016x
02dfa5e908 feat: improve refresh ux of home balance section. (#2245)
* WIP: feat: improve refresh ux of home balance section.

* feat: cache previously loaded balance & curvePoint for address.

* fix: avoid show spining refresh button if home balance cache detected

* feat: deprecate `homeBalanceLoadingExpiration`, timing on background memory.

* feat: tuning  refresh delay after tx completed.

* feat: notify refresh balance after tx completed.

* chore: cleanup.

* fix: env var.

* fix: loading style for percentage.

* feat: force expire address's balance/netCurve after tx completed, style tuning.

* fix: value robust.

* fix: type & typo.

* feat: wider refresh-trigger area.

* feat: refresh on next-time open dashboard after tx completed.

* feat: tuning refresh balance timeout, clear balance cache right away after tx completed.

* fix: avoid dead reaction on click refresh button.

* feat: don't show change percentage if no start usd value.

* feat: disable auto refresh on UI.

* feat: don't trigger immediate refresh after tx completed.

* feat: only trigger expiration once on entering dashboard.
2024-04-30 19:36:32 +08:00
vvvvvv1vvvvvv
4d64f4a1f6 [release] 0.92.68 2024-04-26 19:46:53 +08:00
heisenberg
95b175012b fix: sign page bugs (#2236)
* fix: enhancement of number input checking rule

* fix: remove the title attribute of gasSelector

* fix: gas ui

* feat: useApprovalUtils

* fix: remove screen height

* fix: remove
2024-04-26 13:47:26 +08:00
DMY
001c3f9dd9 feat: update GAS_TOP_UP_SUPPORT_TOKENS (#2231) 2024-04-24 15:23:35 +08:00
heisenberg
13bcd62f71 fix: receive last transaction in AirGap when signing (#2202)
* fix: receive last transaction in AirGap when signing

* fix: keystone close #2203
2024-04-16 17:13:27 +08:00
vvvvvv1vvvvvv
f5411de8b5 feat: + changelog 2024-04-12 16:20:30 +08:00