Open-source project
OneKeyHQ/app-monorepo avatar
OneKeyHQ/app-monorepo

onekey app-monorepo: the description says open source, the licence file says OneKey Standard Source License

Secure, open source and community driven crypto wallet runs on all platforms and trusted by millions.

2,491 stars548 forksTypeScriptLicense varies

At a glance

What is it?
The shared codebase behind the OneKey crypto wallet is five applications and six packages in a Yarn workspaces monorepo, with a documented private vulnerability disclosure process and a bug bounty the page says it may not be able to pay. The licence is the thing to read first. The repository description and the front page tagline both call the project open source, and the licence section names a custom licence with a proprietary name, while the repository metadata asserts no licence at all.
Who is it for?
Read the licence before anything else here, because the three descriptions of this project do not agree and the disagreement is the kind that matters for a wallet. The repository description and the page tagline both say open source.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • OneKeyHQ/app-monorepo2,491 ★ · +36
Star history
Repository2026-09-302026-11-25
OneKeyHQ/app-monorepo2.5k2.5k

36 Stars in the last 56 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The licence section names a custom licence and the tagline says open source

Read the two ends of this page against each other.

The repository description says: secure, open source and community driven crypto wallet runs on all platforms and trusted by millions.

The tagline under the title says: anti-scam, open-source crypto wallet for every chain.

The licence section at the bottom says: this project is licensed under the OneKey Standard Source License, with a link to a file called `LICENSE.md`.

Those cannot all be true in the sense a reader would assume. The Open Software Initiative's definition of open source requires anyone be able to use, study, modify and redistribute the work, with no field-of-use restriction and no discriminating licence. A licence with its own name and its own file is not going to be on that list, and the repository's own metadata asserts no licence at all rather than naming one.

This matters far more here than it would for most repositories, because of what the software is. This is a wallet. People installing it are trusting it with private keys and signing authority, and the reason they are willing to do that with a third party rather than with a device they control is precisely the claim that they can read the code and the terms. A mismatch between the marketing description and the licence file is not a documentation nit in this context; it is the thing a security reviewer checks first.

The honest description, read from the licence and the section below it, is source-available rather than open source, free for individuals and open source communities, with commercial terms planned.

None of that is a criticism of the project's intentions. It is a mismatch between three descriptions of the same fact, and it is resolvable by editing one line.

Free forever is scoped to individuals and open source communities

The section next to the licence is the one that makes the picture coherent, once you know what to look for.

There are two editions. The community edition is described as free forever for individuals and open source communities. The enterprise edition is described as coming soon, with an instruction to star the repository to be notified when it is ready.

So the scope of the free tier is stated, and it is narrower than the tagline. Individuals and open source communities are covered. Companies are not, and the enterprise edition is where commercial use is heading.

Read together with the licence section, the three statements are consistent with each other and inconsistent with the description: a custom licence that permits free use for individuals and open source communities, a paid commercial edition on the way, and a summary line written as though none of that were true.

The detail worth giving credit for is that the scope is written down at all. Plenty of source-available projects never say who may use it for free, and leave the reader to infer it from the absence of a commercial section. Here the qualifying phrase, individuals and open source communities, is explicit and easy to find.

The other thing in that section is a hiring block with a table of reasons to join, presented in English and Chinese side by side, offering remote roles worldwide, global pay, an employee share plan for everyone, and open source culture. For a project whose commercial model is an unreleased enterprise edition, an employee share plan offered to everyone is a fairly direct statement of intent about where the company is going.

The default branch is a hotfix branch for a version that does not exist yet

The default branch is named `hotfix/v6.6.1`.

The newest published release is 6.6.0. The two before it are 6.5.2 and 6.5.0. So the branch you get when you clone the repository is a hotfix branch for a version that has not been released, and not a release line, a mainline, or a development branch.

This is normal during a release, and it is also transient in a way that is worth knowing about. The moment 6.6.1 ships, that branch either becomes the release line or gets merged away, and the default branch moves. For anyone who clones, builds, and comes back in a month, the branch they recorded is not the branch they get, and there is no main branch in the repository listing to fall back on.

The toolchain requirements on the same page are specific and current. Node 22 or later, with the manifest requiring 22.12.0 or above. Yarn 4 supplied through Corepack, with the manifest pinning a specific Yarn 4 release. And Git LFS, which means the repository stores some assets outside normal Git objects and a clone without LFS support will not produce a working tree.

The getting started sequence is four commands, and the per-application step is the interesting one:

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

The development command table then gives five ways in, one per application, each delegating to a workspace, with separate entries for the extension running through a proxy variant, for the desktop renderer alone, for the desktop main process, and for building. The web application has more variants than the others, including a webpack build path alongside the default and a script that changes the port. That asymmetry is a reasonable reflection of which targets are still under active migration and a poor one to discover by trial.

The repository root also carries a Yarn configuration directory and a Yarn lock file, which together are the shape of a Yarn Berry project. That is worth noting for anyone deciding how to contribute: Yarn 4 has meaningful behavioural differences from Yarn 1, and the page is right to require Corepack rather than a global install.

A bounty the page says it may not be able to pay

The security section is the most carefully written part of this document, and it contains one honest sentence that is easy to skim past.

The process is spelled out. Read the bug bounty rules document, which details the exact plan. Report suspected vulnerabilities privately to a named developer email address, or through a third party bounty intake service. And explicitly: do not create publicly viewable issues for suspected security vulnerabilities. A security policy document sits at the repository root alongside the rules.

That is a complete and correct disclosure process. The request not to file public issues matters more than usual for a wallet, where a disclosed flaw is worth more to an attacker than the bounty is to the reporter, and routing reports through a third party intake service also keeps the reporter's identity out of the project's own tracker.

Then the sentence: 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.

That describes a discretionary bounty. There is no stated range, no stated cap, no funding commitment and no service level, and the page itself frames the reward as something the project will try to provide rather than something it has set aside. Combined with the enterprise edition being unreleased, the funding position is consistent across the document.

None of that makes the process bad. A private disclosure channel with a documented plan is worth a great deal. But a researcher triaging this should read the rules document for what is actually committed rather than assuming the word bounty carries a standard meaning.

Three linters, a formatter, a spell checker and five agent directories

The repository root is fifty entries long, and the tooling tells a story about a codebase that has been through several generations of JavaScript tooling without discarding any of them.

For linting and formatting there is a legacy-format linter configuration, a staged-changes hook configuration, and two separate configurations for a newer Rust-based linter and its companion formatter, plus a spell checker dictionary and its own configuration.

Having a legacy linter config and a newer linter config side by side usually means one of three things: a migration is in progress, a migration was attempted and abandoned, or the two check different things and nobody has removed the overlap. The page does not say which, and there is no contribution note about it in the visible front page.

Then there are the git hooks directory, the staged-changes configuration that uses it, a dependency vulnerability scanner configuration, a TypeScript configuration, a Jest configuration and its setup file, a mock directory, a type declarations directory, and a patches directory.

The patches directory is worth a sentence of its own, because it is the same pattern the Purpur Minecraft server project uses. A monorepo that patches its dependencies rather than forking them keeps the changes in the tree as diffs, which is reviewable and revertible, and which also means a dependency upgrade can conflict with a patch.

And then five directories for AI coding assistants at the root, plus two instruction files in markdown, plus a script whose job is to sync that skill material.

So: five agent tool configurations, a spell checker, two linters, a formatter, a vulnerability scanner, staged hooks, a type checker, a test framework, and a dependency patch set. That is a lot of tooling for one repository, and a new contributor needs to know which of it is load bearing before changing any of it.

An Apple ID password and a GitHub token named in the example environment file

The example environment file is short and its structure is clean: every line is empty, grouped under comments saying what each group is for.

Two of the variable names are worth stopping on. Under a comment about desktop signing and notarisation there are a token for GitHub, an Apple ID, an Apple ID password, and a provider identifier. Under a comment about localisation there are a token and a project identifier. Under runtime there are four separate error reporting tokens, one per platform, plus a token for a third party data API and two for push notifications.

All empty in the example, which is correct, and there is an auto-generated environment file setup script that copies the example if no environment file exists.

The naming is what is worth noting. The signing model uses an Apple ID and an Apple ID password, which is the older approach, rather than an App Store Connect API key with a scoped issuer identifier and an expiring key. That means a long-lived Apple account password is expected to live in a developer's local environment file, which is a credential with a much larger blast radius than a short-lived API key, and it is the kind of detail that shows up in security audits of build infrastructure.

The four separate error reporting tokens, one for the web app, one for desktop, one for the React Native app and one for the extension, are a different kind of detail and a good one. Splitting them means you can revoke or rotate one platform's reporting without touching the others, and the naming makes that obvious.

One more line at the bottom of the file deserves copying into your own projects: the note that a variable will be injected automatically at continuous integration time, and that the file must end with an empty line. That is a real constraint of the tooling, documented in the file where it will be seen.

Editorial conclusion

Read the licence before anything else here, because the three descriptions of this project do not agree and the disagreement is the kind that matters for a wallet. The repository description and the page tagline both say open source. The licence section names the OneKey Standard Source License in a file called LICENSE.md, and the repository metadata asserts no licence at all. What the page does state clearly is that the free tier covers individuals and open source communities, with a paid enterprise edition still to come. So treat this as source-available, not open source, and decide on that basis whether you are willing to hold keys with it. Two operational notes. You are cloning a hotfix branch named for a version that has not shipped, so record the branch and expect it to move. And the disclosure process is genuinely good, with a documented plan, a private channel, a third party intake service and an explicit request not to file public issues, which for a wallet is the right call. Read the bounty rules before relying on a reward, though, because the page describes that funding as discretionary and says the project is not yet profitable. If you do build it, the requirements are specific and current, but note that the desktop signing model expects a long-lived Apple ID password in a local environment file rather than a short-lived scoped key, and that the root carries three generations of linting tooling alongside a dependency patch set, so establish which of it is load bearing before you change any of it.

Frequently asked questions

What is the OneKey app-monorepo?

The shared codebase behind the OneKey crypto wallet: five applications, being an Electron desktop app, a browser extension, a React Native mobile app, a web application and an embeddable web component, over six shared packages including a UI kit, core business logic and crypto utilities, a background service kit, a hardware wallet SDK and a shared package. It is a Yarn workspaces monorepo requiring Node 22 or later, Yarn 4 and Git LFS.

Is the OneKey wallet open source?

The repository description and the front page tagline both call it open source, but the licence section says the project is licensed under the OneKey Standard Source License, a custom licence with its own file, and the repository's licence metadata asserts no standard licence at all. The free tier is described as free forever for individuals and open source communities, with an enterprise edition described as coming soon.

How do I report a security issue to OneKey?

Privately, and not as a public issue. The front page points to a bug bounty rules document that details the plan, a developer email address, and a third party bounty intake service, and it explicitly asks that suspected vulnerabilities not be filed as publicly viewable issues. A security policy document sits at the repository root.

What do I need to build the OneKey monorepo locally?

Node 22 or later, with the manifest requiring 22.12.0 or above, Yarn 4 supplied through Corepack, and Git LFS. Then clone, install, and run the per-application development command; the web application's dev server runs on port 3000. iOS additionally needs Xcode 13.3 or later, and Android needs JDK 11 or later.

Official sources

  1. Issues
  2. OneKeyHQ/app-monorepo on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/onekeyhq-app-monorepo.svg)](https://hysenlabs.com/projects/onekeyhq-app-monorepo)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/onekeyhq-app-monorepo.svg)](https://hysenlabs.com/projects/onekeyhq-app-monorepo)

Was this useful?