MCPcopy Index your code
hub / github.com/OneKeyHQ/app-monorepo

github.com/OneKeyHQ/app-monorepo @v6.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v6.4.0 ↗ · + Follow
29,720 symbols 88,746 edges 8,464 files 470 documented · 2% updated 1d agov6.4.0 · 2026-06-13★ 2,38834 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

OneKey: Secure Crypto Wallet

Anti-scam, open-source crypto wallet for every chain. Supports Bitcoin, Ethereum, Solana, Tron, BNB Smart Chain, and more.

Github Stars Version Contributors Last commit Issues Pull Requests Ask DeepWiki Twitter Follow

📥 Download

Platform Link
iOS App Store
Android Google Play
Desktop macOS / Windows / Linux
Browser Extension Chrome Web Store
Bridge Download

📋 Table of Contents

📖 Documentation

🗂 Project Structure

This is a monorepo managed with Yarn workspaces.

app-monorepo/
├── apps/
│   ├── desktop/        # Electron desktop app (macOS, Windows, Linux)
│   ├── ext/            # Browser extension (Chrome)
│   ├── mobile/         # React Native mobile app (iOS, Android)
│   ├── web/            # Web application
│   └── web-embed/      # Embeddable web component
├── packages/
│   ├── components/     # Shared UI component library
│   ├── core/           # Core business logic & crypto utilities
│   ├── kit/            # Main UI kit
│   ├── kit-bg/         # Background service kit
│   ├── qr-wallet-sdk/  # QR-code hardware wallet SDK
│   └── shared/         # Shared utilities, constants, and types
├── development/        # Dev tooling & scripts
├── patches/            # Dependency patches
└── docs/               # Documentation & i18n

🚀 Getting Onboard

Prerequisites: Node.js >= 22, Yarn 4.x (bundled via Corepack), Git LFS

git clone https://github.com/OneKeyHQ/app-monorepo.git
cd app-monorepo
yarn
yarn app:web    # starts dev server at http://localhost:3000

📱 Platform-specific requirements

  • iOS: Xcode >= 13.3
  • Android: JDK >= 11

🧑‍💻 Development

Run these commands from the root directory:

Command Description
yarn app:web Start web dev server (port 3000)
yarn app:ios Run iOS app via USB-connected device
yarn app:android Run Android app
yarn app:desktop Run desktop (Electron) app
yarn app:ext Run browser extension

🏡 Community & Enterprise Edition

  • 🏡 🧔🏻‍♂️ Community Edition — Free forever for individuals and open-source communities.
  • 🏦 💼 Enterprise Edition — Coming soon. Star this repo to get notified when it's ready.

💡 Support

🔰 Security

  • Please read the Bug Bounty Rules, we have detailed the exact plan in this article.
  • Report suspected vulnerabilities privately to dev@onekey.so or via BugRap.
  • Please do NOT create publicly viewable issues for suspected security vulnerabilities.
  • As an open source project, although we are not yet profitable, we try to give some rewards to white hat hackers who disclose vulnerabilities to us in a timely manner.
  • See SECURITY.md for full details.

💬 Docs in Your Languages

Available Languages
🇨🇳 简体中文
🇩🇪 Deutsch
🇯🇵 日本語
🇫🇷 Français
🇮🇹 Italiano

🪄 Repo Activity

Repo Activity

🙋‍♂️ We're Hiring!

We're hiring for remote roles worldwide — global pay, ESOP for everyone, open-source culture.

👉 View all open positions

Why join OneKey?

English 中文
🌍 Remote (Live anywhere) 🌍 远程 (生活在哪个城市都可以)
💰 Global Pay (Literally) 💰 全球一致的薪酬 (真的)
📈 ESOP (For everybody) 📈 ESOP 计划
🔓 Open Source (As you see) 🔓 开源 (如你所见)
🤝 Awesome Colleagues (Hell Yeah!) 🤝 超级棒的同事 (爽呆!)

✨ Contributors

Contributors

📄 License

This project is licensed under the OneKey Standard Source License (O-SSL).

Extension points exported contracts — how you extend this code

IKeychainSessionStore (Interface)
Minimal keychain interface — matches both KeychainStorage and test stubs. [7 implementers]
apps/cli/src/signer/keychain-keys.ts
ISigner (Interface)
(no doc) [8 implementers]
packages/core/src/base/ChainSigner.ts
IAirGapSDK (Interface)
(no doc) [17 implementers]
packages/qr-wallet-sdk/src/types.ts
IOneKeyBackupProvider (Interface)
(no doc) [6 implementers]
packages/kit-bg/src/services/ServiceCloudBackupV2/backupProviders/IOneKeyBackupProvider.ts
IRequestFailureParams (Interface)
* Request failure callback parameters
packages/shared/src/request/helpers/ipTableAdapter.ts
ICryptoProvider (Interface)
(no doc) [2 implementers]
@types/miscreant.d.ts
TamaguiCustomConfig (Interface)
(no doc)
packages/components/tamagui.config.ts
IScrollableFilterBarContext (Interface)
(no doc)
packages/kit/src/components/ScrollableFilterBar.tsx

Core symbols most depended-on inside this repo

backgroundMethod
called by 1840
packages/shared/src/background/backgroundDecorators.ts
filter
called by 1574
@types/lib.es5.d.ts
from
called by 1487
apps/cli/src/errors/app-error.ts
get
called by 1358
apps/cli/src/infra/secure-storage/types.ts
fn
called by 1280
packages/kit-bg/src/dbs/local/realm/RealmDBAgent.ts
toString
called by 1190
@types/globals.d.ts
resolve
called by 1148
packages/shared/src/utils/hyperLiquidErrorResolver.ts
error
called by 1135
packages/shared/src/logger/scopes/app/scenes/network.ts

Shape

Function 16,067
Method 8,303
Class 2,517
Interface 2,350
Enum 483

Languages

TypeScript100%
Java1%
Python1%
Kotlin1%

Modules by API surface

packages/shared/src/modules3rdParty/stripe-v3/index.js288 symbols
packages/shared/src/errors/errors/appErrors.ts265 symbols
packages/core/src/chains/xmr/sdkXmr/moneroCore/moneroCore.js217 symbols
packages/shared/src/errors/errors/hardwareErrors.ts209 symbols
packages/kit-bg/src/dbs/local/LocalDbBase.ts180 symbols
packages/kit-bg/src/services/ServiceAccount/ServiceAccount.ts178 symbols
packages/shared/types/staking.ts142 symbols
packages/shared/types/swap/types.ts110 symbols
packages/kit-bg/src/services/ServiceKeylessWallet/ServiceKeylessWallet.ts110 symbols
packages/kit-bg/src/services/ServiceStaking.ts106 symbols
packages/kit-bg/src/services/ServiceSwap.ts102 symbols
packages/kit-bg/src/services/ServiceHyperLiquid/ServiceHyperliquid.ts101 symbols

For agents

$ claude mcp add app-monorepo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page