Commit Graph

520 Commits

Author SHA1 Message Date
vvvvvv1vvvvvv
570fa4cffe fix: rm id since its not a valid json (#2757) 2025-01-23 15:43:52 +08:00
Hodor
c8ba3864a3 feat: update import address (#2737)
* wip: import address

* wip: import address

* wip: import address

* fix: eth app changed to single instance in ledger keyring

Even though only one instance of the ledger keyring can exist in the background, sometimes this.app is still null, I don't know why.

* feat: update import address

* chore: remove console

* fix: code conflict

* fix: getKeyringIndex

* chore

---------

Co-authored-by: heisenberg <heisenberg-2077@outlook.com>
2025-01-23 12:14:54 +08:00
DMY
98d92e23b9 style tuning (#2739)
* style tuning

* fix: gasaccount empty status

* fix
2025-01-23 10:39:52 +08:00
Jagad Bumi
5daec74e88 Rename the id_ID directory into id (#2751)
* Continue my translate work

* Update id_ID

Update translation

* Create messages.json

Add Indonesia language

* Delete _raw/_locales/id_ID directory

wrong folder

* Delete _raw/locales/id_ID

delete

* Create messages.json

add Indonesia language

* Update messages.json

Add Indonesia language

* Update messages.json

remove unnecessary line

* Minor Corrections for Grammar and Clarity

Small corrections made to enhance grammatical accuracy and clarity, aiming to achieve a more professional tone throughout the content.

* Update index.json

Add Indonesian Language

* Update messages.json

Revert back the correction

* Rename the directory to match the code in the index.json file
2025-01-23 10:21:38 +08:00
Jagad Bumi
ef251ade5b Add Indonesia Language (#2706)
* Continue my translate work

* Update id_ID

Update translation

* Create messages.json

Add Indonesia language

* Delete _raw/_locales/id_ID directory

wrong folder

* Delete _raw/locales/id_ID

delete

* Create messages.json

add Indonesia language

* Update messages.json

Add Indonesia language

* Update messages.json

remove unnecessary line

* Minor Corrections for Grammar and Clarity

Small corrections made to enhance grammatical accuracy and clarity, aiming to achieve a more professional tone throughout the content.

* Update index.json

Add Indonesian Language

* Update messages.json

Revert back the correction
2025-01-22 19:56:53 +08:00
Hodor
57bfb04975 feat: reflector page provider (#2718)
* feat: reflector page provider

* feat: udpate provider

* fix: provider

* chore: fix some ui bugs

* chore: fix some bugs

* fix: metamaskModeService

* feat: update provider

* fix: conflict with rainbow

* feat: update page-provider

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-01-14 18:36:41 +08:00
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
Hodor
52be42010d feat: update clear pending (#2721)
* feat: update clear pending

* fix: i18n
2025-01-13 17:50:09 +08:00
vvvvvv1vvvvvv
cc43c2a7b1 fix: typo (#2712) 2025-01-13 15:43:07 +08:00
DMY
203e1797dc feat: rabby fee display (#2709)
* feat: update rabby fee display

* style tuning

* style tuning
2025-01-03 18:20:00 +08:00
heisenberg
347c45a737 feat: forgot password (#2694)
* feat: store unencryptedKeyringData

* fix: undefined

* feat: new unlock screen

* feat: init ui

* feat: ui

* fix: reset tip

* chore: text

* fix: text

* fix: ui

* fix: unlock ui

* fix: ui

* fix: private keyring if empty

* Update PasswordCard.tsx

* fix: reset password log out gas account

* fix: release all transport before lock wallet

---------

Co-authored-by: kim12322222 <jinming0228@qq.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2025-01-03 18:06:10 +08:00
kim
b3a7f2664a Feat gas-account withdraw (#2704)
* feat: gasacoount withdraw balance custom

* feat: rabby-api update

* fix: update rabby-api

* fix: update refresh history and code review

* fix: update version

* fix: update withdraw pending refresh logic

* fix: update version

* fix: update yarn lock

* fix: account list refresh in gasAccount

* fix: gas fee limit tips

* fix: withdraw list default selector

* fix: res error to show

* fix: restore login popup
2025-01-03 16:01:49 +08:00
vvvvvv1vvvvvv
1727a0cb6f fix: move font to local (#2698) 2024-12-26 17:43:23 +08:00
vvvvvv1vvvvvv
fcc03c40d0 fix: imkey connection permission tip (#2699)
* fix: imkey connection permission tip

* fix: add white bg for qrcodes
2024-12-26 16:16:15 +08:00
DMY
36163c315b feat: swap slide (#2689)
* feat: swap update

* style

* feat: feedback redirect to DeBank Hi

* fix

* feat :chains sort by severity

* fix

* style tuning

* style tuning

* style tuning

* style tuning

* style tuning

* fix: show more open status

* style tuning

* feat: open 'showMore' after quote refresh for non-auto slippage

* fix: bridge pass custom gasprice

* fix: reset bridge gasprice

* fix: clear input after changing bridge from chain

* style tuning

* fix: birdge slippage

* fix: reset sign button state after swiching gasMethod

* fix: recent toToken on swap

* fix: receive qrcode background

* fix: low credit modal

* fix: loss data hook deps

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-12-20 14:53:42 +08:00
heisenberg
ef71379f26 feat: batch revoke add alert for simulation failed (#2690)
* feat: batch revoke add alert for simulation failed

* feat: add debug code
2024-12-19 20:01:52 +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
Tomasvrba
05c0d1d01f bitbox: add bitbox02 to the new user import workflow (#2678) 2024-12-12 10:30:23 +08:00
DMY
8b12083351 feat: add uninstalled feedback (#2648)
* feat: add uninstalled feedback

* typo

* chore: use production url

* fix
2024-12-03 15:33:16 +08:00
Hodor
fc4a2d9dbb feat: new user import guide (#2639)
* wip

* feat: add store and password

* wip

* feat: add seed phrase, trezor, onekey, gridplus

* feat: new import

* fix: seed phrase input

* fix: some bugs

* fix: some bugs

* chore

* fix: boot

* feat: add hardware bar

* fix: i18n

* fix

* fix

* fix: popup new user guide

* style tuning

* fix: remove getInitialAccounts

* fix

* fix

* revert

* style tuning

* style tuning

* fix: user guide refresh

* chore

* fix: needunlock

* fix: refresh

---------

Co-authored-by: DMY <147dmy@gmail.com>
Co-authored-by: heisenberg <heisenberg-2077@outlook.com>
2024-11-28 20:47:12 +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
vvvvvv1vvvvvv
b86beef49c feat: + alert modal for external website (#2632) 2024-11-20 16:09:56 +08:00
DMY
63a4dd905a feat: bridge v2 (#2610)
* feat: bridge

* fix: recommend to chain

* fix: loss usd

* fix

* fix

* fix

* style tuning

* fix

* fix: bridge slippage

* fix

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-11-11 17:56:42 +08:00
Hodor
93ed8011f0 feat: support safe message (#2600)
* wip: support safe sign text

* feat: support safe address sign text

* feat: update gnosis-sdk

* chore

* feat: add verify

* chore: fix

* chore: fix some bugs

* fix: some bugs

* chore

* update yarn.lock

* feat: udpate gnosis sdk
2024-11-01 18:52:13 +08:00
DMY
ea5f1ba619 feat: low credit token warning; aml (#2595)
* feat: low credit token modal

* feat: aml

* fix

* fix: center tooltip

* update
2024-11-01 18:18:39 +08:00
kim
25100a01f9 Feat/batch revoke support gas account (#2584)
* feat: batch revoke support gas account

* fix: update code fix

* fix: add chinese  & update check logic

* fix:update address icon & balance roundDown

* fix:fix formatUsdValue & gas account history format four decimal

* fix: update format rule

* fix: clear signing tx when ledger-rejected event is received

---------

Co-authored-by: kim12322222 <jinming0618@qq.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
Co-authored-by: heisenberg <heisenberg-2077@outlook.com>
2024-10-25 19:26:48 +08:00
heisenberg
b5606028e9 fix: ledger connect status (#2573)
* fix: ledger connect status

* feat: add toast

* fix: do not close ledger waiting page

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-10-17 18:44:11 +08:00
heisenberg
54a5d3cb82 feat: simplified sign page footerbar ui (#2564)
* feat: simplified sign page ui

* wip

* fix: footbar

* fix: ui bugs

* feat: ledger unlock
2024-10-17 16:11:19 +08:00
DMY
cb02216062 feat: add estimate_tx_cost (#2567)
* feat: add estimate_tx_cost

* fix: tooltip position o

* update fee text

* format usd
2024-10-17 16:07:52 +08:00
heisenberg
5d1fc28c5f feat: trezor supports hd paths (#2555)
* feat: trezor supports hd paths

* chore

* chore

* chore: update trezor
2024-10-11 17:03:18 +08:00
vvvvvv1vvvvvv
228f93f1ef feat: remove useless feature and codes (#2558)
* feat: remove claim free gas badge

* feat: remove pending detail

* chore: not sync chain everytime

* chore: rm useless code
2024-10-11 16:41:10 +08:00
kim
c1343f18c5 fix: update content ui (#2553)
Co-authored-by: kim12322222 <jinming0618@qq.com>
2024-10-11 10:18:09 +08:00
DMY
ee150a3986 feat: terms of use and privacy policy (#2551) 2024-10-11 10:17:54 +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
3f6cd0e4b3 fix: ui (#2518) 2024-09-12 16:28:13 +08:00
heisenberg
2e5cc9732d feat: keep alive when ui is activated (#2509)
* fix: init

* fix: remove console
2024-09-12 15:03:29 +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
vvvvvv1vvvvvv
3700073169 Revert "feat: sw remove keep alive (#2486)" (#2506)
This reverts commit b340053f98.
2024-09-05 11:18:43 +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
heisenberg
b340053f98 feat: sw remove keep alive (#2486)
* feat: remove keep alive

* fix: when tabs are activated

* Update sw.js

* feat: support dapp wake up service-worker

* feat: add tabs

---------

Co-authored-by: Hodor <lost1q84@gmail.com>
2024-09-04 10:14:45 +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
shuang
caf1d6bed1 feat: delete debank hi (#2488) 2024-08-23 19:28:05 +08:00
heisenberg
b8044bea03 feat: batch revoke with ledger (#2475)
* feat: batch revoke with ledger

* feat: ledger button

* feat: signed ui

* feat: i18n

* Update messages.json

* fix: permission

* feat: batch revoke with ledger

* feat: ledger button

* feat: signed ui

* feat: i18n

* Update messages.json

* fix: permission

* feat: ledger connect modal

* fix: ui bugs

* fix: add sendTransaction util

* fix: remove connect status

* feat: add lowGasDeadline and isGasLess

* fix: typo

* Update style.less

* Update messages.json

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-08-16 19:05:38 +08:00
heisenberg
4804790465 chore: batch revoke i18n (#2470) 2024-08-14 14:54:55 +08:00
DMY
1e2b42deb1 feat: add auto slippage (#2461)
* feat: add auto slippage

* fix: ui

* feat: dex fee display

* fix: slippage change

* fix: slippage change after swiching to auto

* fix: slippage input font size
2024-08-09 16:56:17 +08:00
Hodor
a0b4413311 feat: update safe signTx (#2457)
* feat: update safe signTx

* chore: remove console

* chore: fix signTypedData

* fix: emit

* feat: update import Safe address

* feat: update Gnosis QueueList
2024-08-09 16:18:57 +08:00
heisenberg
3a45eabdcb feat: batch revoke (#2460)
* feat: init batch revoke

* feat: init revoke table

* feat: init useBatchRevokeTask

* feat: init status

* fix: build error

* fix: action data

* fix: tx completed

* fix: init gas

* feat: init ui

* feat: status

* feat: button ui

* fix: approvals selection about nft/collection.

* feat: double confirm

* feat: close and update

* feat: gas status

* feat: submit tx

* feat: still revoke

* fix: permit2

* feat: toggle checkbox

* feat: chain selector button

* fix: internal dapp gasLimit

* fix: bugs

* fix: debug

* fix: still revoke

* fix: nft amount.

* fix: selection and  display of revoke count.

* fix: selection display and op on approvals.

---------

Co-authored-by: richardo2016x <richardo2016x@gmail.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-08-09 16:17:22 +08:00
shuang
324e3a2f13 Feat/debank hi (#2463)
* feat: debank hi ui

* feat: fetch hi status from debank

* feat: prod host for debank hi

* fix: remove unused line
2024-08-09 14:34:46 +08:00
richardo2016x
c28663da58 feat: support revoke permit2 (#2425)
* style: basic layout for permit2 highlight

* fix: layout.

* feat: upgrade

* chore: code cleanup.

* feat: show correct count of txs woulde be created.

* feat: support call `lockdown` of permit2

* fix: vary permit2 contract id from different chains.

* feat: tip user batch-packed permit2 signatures.

* feat: action of batch revoke permit2

* fix: no change

* fix: literals.

* fix: match contract spender

* Update BatchRevokePermit2.tsx

* Update index.tsx

* feat: trust value api

* fix: spender

* fix: new contract trust value.

* fix: distinct revoke item by `permit2Id`

* fix: sort of contract trust value.

* feat: literals.

* feat: adjust.

* chore: cleanup.

* fix: index spenderHost by spender, fix batch-revoke behaviors.

* chore: cleanup.

* build: allow set notify_lark

* fix: literals.

* style: tuning.

* fix: select item in RevokeApprovalModal

* style: tuning.

* feat: show loading for revoke button.

* fix: contractTrustValueTip

* build: fix.

* chore: upgrade.

---------

Co-authored-by: heisenberg <heisenberg-2077@outlook.com>
2024-08-01 15:56:22 +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