All Projects → OneKeyHQ → app-monorepo

OneKeyHQ / app-monorepo

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

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
kotlin
9241 projects
objective c
16641 projects - #2 most used programming language
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to app-monorepo

Expo
An open-source platform for making universal native apps with React. Expo runs on Android, iOS, and the web.
Stars: ✭ 15,550 (+1112.95%)
Mutual labels:  native, universal, expo
Solnet
Solana's .NET SDK and integration library.
Stars: ✭ 252 (-80.34%)
Mutual labels:  wallet, solana, defi
ult
The Ultimate Dev Stack
Stars: ✭ 54 (-95.79%)
Mutual labels:  native, universal
TiktokClone
TIKTOK Clone React Native Tutorial 2021 👨‍💻 I'll show you how you can do this in the simplest way and terms possible. By the end of this series you'll have learned how the big companies do it and will be able to do the same, you not only will be able to do this app, but you'll be able to put what you learn into your very own projects! In this se…
Stars: ✭ 69 (-94.62%)
Mutual labels:  native, expo
React Native Css Gradient
React Native css gradients - react-native-linear-gradient with css gradient support
Stars: ✭ 129 (-89.94%)
Mutual labels:  native, expo
smovie-expo
[New] New version with more examples: https://github.com/theo-mesnil/WhatToWatch [Old version] Smovie is the simplest and fastest way to discover movies, series and actors. With React Native, Expo and themoviedb 🎥
Stars: ✭ 19 (-98.52%)
Mutual labels:  native, expo
expo-doodle-jump
No description or website provided.
Stars: ✭ 44 (-96.57%)
Mutual labels:  native, expo
Callapp Lib
🔥call app from h5(H5唤起客户端 )
Stars: ✭ 1,857 (+44.85%)
Mutual labels:  native, universal
Wallet3
A secure mobile wallet for web3
Stars: ✭ 13 (-98.99%)
Mutual labels:  wallet, defi
tasit-apps
Native mobile Ethereum dapps for mainstream users
Stars: ✭ 35 (-97.27%)
Mutual labels:  native, expo
universal
A counterpart to common package to be used with Angular Universal
Stars: ✭ 115 (-91.03%)
Mutual labels:  native, universal
Expo-Super-Mario-World
Native Super Mario World in Expo
Stars: ✭ 24 (-98.13%)
Mutual labels:  native, expo
wallet
DeFiChain Wallet. The DeFi Blockchain Light Wallet for iOS, Android & Web. + Desktop Coming Soon
Stars: ✭ 112 (-91.26%)
Mutual labels:  native, defi
status-bar-height
Listen to status bar changes during incoming calls and other multi-tasking events
Stars: ✭ 73 (-94.31%)
Mutual labels:  native, expo
Apollo Universal Starter Kit
Apollo Universal Starter Kit is an SEO-friendly, fully-configured, modular starter application that helps developers to streamline web, server, and mobile development with cutting-edge technologies and ultimate code reuse.
Stars: ✭ 1,645 (+28.32%)
Mutual labels:  universal, expo
Firebase Instagram
📸 Instagram clone with Firebase Cloud Firestore, Expo, and React Native 😁😍
Stars: ✭ 389 (-69.66%)
Mutual labels:  native, expo
rainbow
DeFi options comparator to detect market opportunities with CLI (Go) and web (Vue3).
Stars: ✭ 40 (-96.88%)
Mutual labels:  solana, defi
wallet-adapter
Modular TypeScript wallet adapters and components for Solana applications.
Stars: ✭ 964 (-24.8%)
Mutual labels:  wallet, solana
Expo Voxel
🎮🌳 Voxel Terrain made in React Native. ∛
Stars: ✭ 169 (-86.82%)
Mutual labels:  native, expo
conceal-desktop
Conceal Desktop (GUI)
Stars: ✭ 65 (-94.93%)
Mutual labels:  wallet, defi


Github Stars Version Last commit Issues Pull Requests Discord Twitter Follow

Community & Support

  • Community Forum. Best for: help with building, discussion about best practices.
  • GitHub Issues. Best for: bugs and errors you encounter using OneKey.
  • Discord. Best for: sharing your ideas and hanging out with the community.

Repo Status

  • Public: Production-ready

We really need your support, star or watch this repo for latest updates.

Star this repo

🚀 Getting Onboard

  1. Install node.js LTS version (>= 16)
  2. Install yarn package management tool
  3. Install git lfs (some binaries are required for pulling and updating)
  4. To start the iOS project, make sure that the local XCode version is greater than or equal to 13.3
  5. To start the Android project, make sure that the local JDK version is greater than or equal to 11

After pulling the latest code via the git command line tool, install the project dependencies in the root directory via the yarn command

# Install all JS dependencies and submodule dependencies

yarn

# Install the expo command line tool globally

npm install -g expo-cli

🧑‍💻 Develop

Execute the following commands in the root directory to develop different business code

  • yarn web: Develop web mode, which starts a static server on port 3000 locally
  • yarn ios: connect to iphone device via USB for development debugging
  • yarn android: develop android
  • yarn desktop: development in desktop mode
  • yarn ext: development in extension mode

🛠 Build for production

Execute the following commands in the root directory and build target for production. Make sure each platform starts correctly and environment variables are configured correctly.

  • web: cd packages/web && yarn build, build the static files at packages/web/web-build, for production build, see release-web.yml job for detail.
  • ios: using expo server to build, see release-ios.yml job for detail.
  • android: : using expo server to build, see release-android.yml job for detail.
  • desktop: : cd packages/desktop && yarn build, see release-desktop.yml job for detail.
  • ext: cd packages/ext && yarn build:all, see release-ext.yml job for detail.

🗂 Multi-repository directory structure

The repositories are organized using the monorepo model to keep the code on different ends centralized and unaffected, while making it as reusable as possible during the packaging and compilation process

  • packages/components holds UI components
  • packages/kit holds reusable page-level UI content
  • packages/app APP code
  • packages/desktop Desktop electron code
  • packages/web web-side code
  • packages/ext chrome extension & firefox addon code

🧲 Install dependencies

Each subdirectory under the packages/ directory is a separate project, and the corresponding monorepo name is the value of the name field in the corresponding directory package.json.

When you need to install a dependency for a subdirectory, just use yarn workspace @onekeyhq/web add axios. With a prefix like yarn workspace @onekeyhq/web, the axios module can eventually be installed in the root directory in the web subproject.

Some of the dependencies have native parts, so you need to go into the packages/app/ios directory and do a pod install after installing the JS dependencies.

😷 Common problems

  1. The app does not start

For any environment, module and dependency issues in the startup phase, it is recommended to use the command yarn clean in the root directory first. The command will clear all sub-dependencies, as well as the module cache of yarn, the cache of tools such as metro / babel, and then restart the project to try.

  1. During the installation of dependencies or when adding new dependencies, yarn will prompt error An unexpected error occurred: "expected workspace package to exist for

Refer to yarnpkg/yarn#7807, set the current environment yarn version to 1.18.0 through the command yarn policies set-version 1.18.0

🕋 Roadmap

Check out where we are now!

Roadmap of OneKey

💬 Docs in your languages

Available Languages
Simplified Chinese / 简体中文
German / Deutsch
Japanese / 日本語
French / Français
Italian / Italiano

🔰 Security

  • Please read Bug Bunty Rules, we have detailed the exact plan in this article.
  • Please report suspected security vulnerabilities in private to [email protected]
  • 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.

🙋‍♂️We're Hiring!

We are hiring many roles (Remote) 👉 Click here to check all open positions
  • Remote (Live anywhere)
  • Global Pay (Literally)
  • ESOP (For everybody)
  • Open Source (As you see)
  • Awesome Colleagues (Hell Yeah!)
  • 远程 (生活在哪个城市都可以)
  • 全球一致的薪酬 (真的)
  • 全员持股计划 (每个人都有)
  • 开源 (如你所见)
  • 超级棒的同事 (爽呆!)
  • Salute!

    ⚖️ License

    OneKey is available under the MIT license. Free for commercial and non-commercial use.

    Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].