diff --git a/apps/extension/src/languages/en.json b/apps/extension/src/languages/en.json index 223c565622..0e35e14c39 100644 --- a/apps/extension/src/languages/en.json +++ b/apps/extension/src/languages/en.json @@ -124,7 +124,7 @@ "pages.register.back-up-private-key.import-button": "Got it", "pages.register.connect-ledger.title": "Please connect your Hardware wallet", - "pages.register.connect-ledger.paragraph": "To use EVM-compatible chains (Injective, Evmos) with Keplr, you'll be prompted to connect to Ethereum app in the next steps.", + "pages.register.connect-ledger.paragraph": "Keplr supports Cosmos app chains, all EVM compatible chains including Ethereum, Injective and Evmos, and Starknet. Ledger connection will guide you through Cosmos, EVM, and Starknet in order.", "pages.register.connect-ledger.step-text": "Step {step}", "pages.register.connect-ledger.connect-ledger-step-paragraph": "Connect and unlock your Ledger.", "pages.register.connect-ledger.open-app-step-paragraph": "Open the {app} app on your Ledger device.", diff --git a/apps/extension/src/languages/ko.json b/apps/extension/src/languages/ko.json index 05c8dc3166..71b64a1ff7 100644 --- a/apps/extension/src/languages/ko.json +++ b/apps/extension/src/languages/ko.json @@ -124,7 +124,7 @@ "pages.register.back-up-private-key.import-button": "확인", "pages.register.connect-ledger.title": "하드웨어 지갑을 연결해주세요.", - "pages.register.connect-ledger.paragraph": "EVM 체인(Injective, Evmos)을 케플러에서 사용하실 분들은 이후 단계에서 이더리움 앱을 연결하실 수 있습니다.", + "pages.register.connect-ledger.paragraph": "케플러는 코스모스 앱체인, Ethereum, Injective와 Evmos를 포함한 모든 EVM 호환 체인, 그리고 Starknet을 지원합니다. Ledger 연결은 코스모스, EVM, Starknet 순서로 진행됩니다.", "pages.register.connect-ledger.step-text": "{step} 단계", "pages.register.connect-ledger.connect-ledger-step-paragraph": "렛저를 연결하고 잠금을 해제하세요.", "pages.register.connect-ledger.open-app-step-paragraph": "렛저에서 {app} 앱을 열어주세요.", diff --git a/apps/extension/src/languages/zh-cn.json b/apps/extension/src/languages/zh-cn.json index b75f738f6e..eb9a2c7e0f 100644 --- a/apps/extension/src/languages/zh-cn.json +++ b/apps/extension/src/languages/zh-cn.json @@ -118,7 +118,7 @@ "pages.register.back-up-private-key.import-button": "导入", "pages.register.connect-ledger.title": "请连接你的硬件钱包", - "pages.register.connect-ledger.paragraph": "要将EVM兼容链(Injective、Evmos)与Keplr一起使用,将在后续步骤中提示你连接到以太坊应用程序。", + "pages.register.connect-ledger.paragraph": "Keplr 支援 Cosmos 應用程式鏈、所有 EVM 相容鏈,包括 Ethereum、Injective 和 Evmos,以及 Starknet。Ledger connection 會引導您依序瀏覽 Cosmos、EVM 和 Starknet。", "pages.register.connect-ledger.step-text": "步骤 {step}", "pages.register.connect-ledger.connect-ledger-step-paragraph": "连接并解锁你的Ledger。", "pages.register.connect-ledger.open-app-step-paragraph": "在你的Ledger设备上打开{app}应用。", diff --git a/apps/extension/src/ledger-grant.tsx b/apps/extension/src/ledger-grant.tsx index 9d3766c8f5..3405377eaf 100644 --- a/apps/extension/src/ledger-grant.tsx +++ b/apps/extension/src/ledger-grant.tsx @@ -36,6 +36,8 @@ import "simplebar-react/dist/simplebar.min.css"; import { FormattedMessage, useIntl } from "react-intl"; import { useTheme } from "styled-components"; import { RoutePageAnalytics } from "./route-page-analytics"; +import { LedgerError, StarknetClient } from "@ledgerhq/hw-app-starknet"; +import { STARKNET_LEDGER_DERIVATION_PATH } from "./pages/sign/utils/handle-starknet-sign"; configure({ enforceActions: "always", // Make mobx to strict mode. @@ -374,6 +376,54 @@ const LedgerGrantPage: FunctionComponent = observer(() => { } }} /> +