Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/assets/images/onekey-green-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/assets/images/onekey-green-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/assets/images/onekey_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/assets/images/onekey_icon_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/assets/images/onekey_illustration.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/images/onekey_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/components/KeyAddedModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ function KeyAddedModal({ visible, close, signer }) {
/>
);
break;
case SignerType.ONEKEY:
Illustration = (
<ThemedSvg
name={'onekey_illustration'}
width={wp(120)}
height={hp(120)}
style={styles.externalKeyIllustration}
/>
);
break;
case SignerType.PASSPORT:
Illustration = (
<ThemedSvg
Expand Down
6 changes: 6 additions & 0 deletions src/components/RKSignersModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const RKSignersModal = ({ signer, psbt, isMiniscript, vaultId }, ref) => {
const [ledgerModal, setLedgerModal] = useState(false);
const [trezorModal, setTrezorModal] = useState(false);
const [bitbox02modal, setBitbox02modal] = useState(false);
const [oneKeyModal, setOneKeyModal] = useState(false);
const [seedSignerModal, setSeedSignerModal] = useState(false);
const [keystoneModal, setKeystoneModal] = useState(false);
const [jadeModal, setJadeModal] = useState(false);
Expand Down Expand Up @@ -120,6 +121,9 @@ const RKSignersModal = ({ signer, psbt, isMiniscript, vaultId }, ref) => {
case SignerType.BITBOX02:
setBitbox02modal(true);
break;
case SignerType.ONEKEY:
setOneKeyModal(true);
break;
case SignerType.KEYSTONE:
setKeystoneModal(true);
break;
Expand Down Expand Up @@ -571,11 +575,13 @@ const RKSignersModal = ({ signer, psbt, isMiniscript, vaultId }, ref) => {
trezorModal={trezorModal}
bitbox02Modal={bitbox02modal}
otherSDModal={false}
oneKeyModal={oneKeyModal}
specterModal={specterModal}
portalModal={portalModal}
kruxModal={kruxModal}
setSpecterModal={setSpecterModal}
setOtherSDModal={() => {}}
setOneKeyModal={setOneKeyModal}
setTrezorModal={setTrezorModal}
setBitbox02Modal={setBitbox02modal}
setJadeModal={setJadeModal}
Expand Down
7 changes: 7 additions & 0 deletions src/components/ThemedSvg.tsx/ThemedIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ import PrivateTrezor from 'src/assets/privateImages/trezor-illustration.svg';
import TrezorSetup from 'src/assets/images/trezor_setup.svg';
import PrivateLedger from 'src/assets/privateImages/ledger-illustration.svg';
import LedgerImage from 'src/assets/images/ledger_image.svg';
import OneKeyIllustration from 'src/assets/images/onekey_illustration.svg';
import PrivateSigningServerBackupIllustration from 'src/assets/privateImages/Backup-Server-Key-illustration.svg';
import SigningServerBackupIllustration from 'src/assets/images/backup-server-illustration.svg';
import WalletVault from 'src/assets/images/vault-hexa-green.svg';
Expand Down Expand Up @@ -712,6 +713,12 @@ const themeIcons = {
PRIVATE: PrivateLedger,
PRIVATE_LIGHT: PrivateLedger,
},
onekey_illustration: {
DARK: OneKeyIllustration,
LIGHT: OneKeyIllustration,
PRIVATE: OneKeyIllustration,
PRIVATE_LIGHT: OneKeyIllustration,
},
signing_server_illustration: {
DARK: SigningServerIllustration,
LIGHT: SigningServerIllustration,
Expand Down
13 changes: 12 additions & 1 deletion src/context/Localization/language/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,10 @@
"SetupTitle": "Add your Ledger",
"SetupDescription": "Connect the Ledger to your computer and open the Bitcoin Keeper desktop app"
},
"onekey": {
"SetupTitle": "Add your OneKey",
"SetupDescription": "Connect your OneKey to your computer via USB, then open the Bitcoin Keeper desktop app"
},
"bitbox": {
"SetupTitle": "Add your BitBox02",
"SetupDescription": "Connect the BitBox02 to your computer and open the Bitcoin Keeper desktop app"
Expand Down Expand Up @@ -1427,6 +1431,8 @@
"keepBitBox02ReadySub": "Keep your BitBox02 connected to the computer before proceeding.",
"keepTrezorReady": "Keep Trezor Ready",
"connectTrezortoComp": "Connect the Trezor to your computer and open the Bitcoin Keeper desktop app",
"getYourOneKeyReady": "Keep OneKey Ready",
"connectOneKeyToComp": "Connect your OneKey to your computer, unlock it, and open the Bitcoin app",
"keepJadeReady": "Keep Jade Ready",
"getJadeReady": "Get your Jade ready before proceeding",
"keepKeyStoneReady": "Keep Keystone Ready",
Expand Down Expand Up @@ -1488,6 +1494,8 @@
"satochipInfo": "SATOCHIP is an open-source hardware wallet based on a card! You can sign mobile wallet transaction by tapping the phone.",
"satochipDes": "\u2022 SATOCHIP’s lower cost makes hardware wallet features and security available to a wider market around the world.\n\u2022 An NFC card provides fast and easy user experiences.\n\u2022 SATOCHIP is a great way to keep your keys separate from your wallet(s). \n\u2022 The card form factor makes it easy to carry and easy to conceal.",
"ledgerInfo": "Ledger has industry-leading security to keep your Bitcoin secure at all times. Buy, sell, exchange, and grow your assets with our partners easily and securely. With Ledger, you can secure, store and manage your Bitcoin.",
"onekeyInfo": "OneKey is a secure hardware wallet that keeps your Bitcoin private keys offline and supports desktop-channel signing with Keeper.",
"onekeyDes": "\u2022 Keep your private keys isolated inside OneKey secure hardware.\n\u2022 Review and confirm address verification and signing actions on-device.\n\u2022 Use the Keeper desktop channel to connect over USB for multisig workflows.",
"seedSigerInfo": "The goal of SeedSigner is to lower the cost and complexity of Bitcoin multi-signature wallet use. To accomplish this goal, SeedSigner offers anyone the opportunity to build a verifiably air-gapped, stateless Bitcoin signer using inexpensive, publicly available hardware components (usually < $50)",
"seedSigerDes": "\u2022 SeedSigner helps users save with Bitcoin by assisting with trustless private key generation and multi-signature wallet setup. \n\u2022 It also help users transact with Bitcoin via a secure, air-gapped QR-exchange signing model.",
"keyStoneInfo": "It offers a convenient cold storage solution with open source firmware, a 4-inch touchscreen, and multi-key support. Protect your bitcoin with the right balance between a secure and convenient hardware wallet with mobile phone support.",
Expand Down Expand Up @@ -1580,6 +1588,9 @@
"desktopLedger": "desktop to connect with Ledger.",
"ledgerInstruction": "Please Make sure you have the BTC app downloaded on Ledger before this step.",
"verifyLedger": "Verify Ledger",
"onekeyDesktopAppInstruction": "Please download and open the Bitcoin Keeper desktop app from:",
"onekeyInstruction": "Please make sure your OneKey firmware is up to date, unlock the device, and open the Bitcoin app before continuing.",
"verifyOneKey": "Verify OneKey",
"seedWordInstruction": "Make sure you secure the 12-word phrase in a safe place.",
"verifySeed": "Verify Seed Key",
"addSeedKey": "Add a Seed Key",
Expand Down Expand Up @@ -2131,4 +2142,4 @@
"importInfoDesc2": "Once imported, you’ll be able to access and manage your USDT without needing TRX.",
"importInfoDescNote": "Note: Standard TRC-20 wallets that require TRX to move funds are not supported."
}
}
}
13 changes: 12 additions & 1 deletion src/context/Localization/language/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,10 @@
"SetupTitle": "Add your Ledger",
"SetupDescription": "Connect the Ledger to your computer and open the Bitcoin Keeper desktop app"
},
"onekey": {
"SetupTitle": "Add your OneKey",
"SetupDescription": "Connect your OneKey to your computer via USB, then open the Bitcoin Keeper desktop app"
},
"bitbox": {
"SetupTitle": "Add your BitBox02",
"SetupDescription": "Connect the BitBox02 to your computer and open the Bitcoin Keeper desktop app"
Expand Down Expand Up @@ -1427,6 +1431,8 @@
"keepBitBox02ReadySub": "Keep your BitBox02 connected to the computer before proceeding.",
"keepTrezorReady": "Keep Trezor Ready",
"connectTrezortoComp": "Connect the Trezor to your computer and open the Bitcoin Keeper desktop app",
"getYourOneKeyReady": "Keep OneKey Ready",
"connectOneKeyToComp": "Connect your OneKey to your computer, unlock it, and open the Bitcoin app",
"keepJadeReady": "Keep Jade Ready",
"getJadeReady": "Get your Jade ready before proceeding",
"keepKeyStoneReady": "Keep Keystone Ready",
Expand Down Expand Up @@ -1488,6 +1494,8 @@
"satochipInfo": "SATOCHIP is an open-source hardware wallet based on a card! You can sign mobile wallet transaction by tapping the phone.",
"satochipDes": "\u2022 SATOCHIP’s lower cost makes hardware wallet features and security available to a wider market around the world.\n\u2022 An NFC card provides fast and easy user experiences.\n\u2022 SATOCHIP is a great way to keep your keys separate from your wallet(s). \n\u2022 The card form factor makes it easy to carry and easy to conceal.",
"ledgerInfo": "Ledger has industry-leading security to keep your Bitcoin secure at all times. Buy, sell, exchange, and grow your assets with our partners easily and securely. With Ledger, you can secure, store and manage your Bitcoin.",
"onekeyInfo": "OneKey is a secure hardware wallet that keeps your Bitcoin private keys offline and supports desktop-channel signing with Keeper.",
"onekeyDes": "\u2022 Keep your private keys isolated inside OneKey secure hardware.\n\u2022 Review and confirm address verification and signing actions on-device.\n\u2022 Use the Keeper desktop channel to connect over USB for multisig workflows.",
"seedSigerInfo": "The goal of SeedSigner is to lower the cost and complexity of Bitcoin multi-signature wallet use. To accomplish this goal, SeedSigner offers anyone the opportunity to build a verifiably air-gapped, stateless Bitcoin signer using inexpensive, publicly available hardware components (usually < $50)",
"seedSigerDes": "\u2022 SeedSigner helps users save with Bitcoin by assisting with trustless private key generation and multi-signature wallet setup. \n\u2022 It also help users transact with Bitcoin via a secure, air-gapped QR-exchange signing model.",
"keyStoneInfo": "It offers a convenient cold storage solution with open source firmware, a 4-inch touchscreen, and multi-key support. Protect your bitcoin with the right balance between a secure and convenient hardware wallet with mobile phone support.",
Expand Down Expand Up @@ -1580,6 +1588,9 @@
"desktopLedger": "desktop to connect with Ledger.",
"ledgerInstruction": "Please Make sure you have the BTC app downloaded on Ledger before this step.",
"verifyLedger": "Verify Ledger",
"onekeyDesktopAppInstruction": "Please download and open the Bitcoin Keeper desktop app from:",
"onekeyInstruction": "Please make sure your OneKey firmware is up to date, unlock the device, and open the Bitcoin app before continuing.",
"verifyOneKey": "Verify OneKey",
"seedWordInstruction": "Make sure you secure the 12-word phrase in a safe place.",
"verifySeed": "Verify Seed Key",
"addSeedKey": "Add a Seed Key",
Expand Down Expand Up @@ -2131,4 +2142,4 @@
"importInfoDesc2": "Once imported, you’ll be able to access and manage your USDT without needing TRX.",
"importInfoDescNote": "Note: Standard TRC-20 wallets that require TRX to move funds are not supported."
}
}
}
Loading