- Community Forum. Best for: help with building, discussion about best practices.
- GitHub Issues. Best for: bugs and errors you encounter using OneKey.
- Install nix
- Pulling the latest code via the git command line tool, setting up the development environment
git clone --recurse-submodules https://github.com/OneKeyHQ/firmware-pro.git
cd firmware-pro
nix-shell
poetry install
- Run the build with:
cd core && poetry run make build_unix
- Now you can start the emulator
poetry run ./emu.py
- You can now install the command line client utility to interact with the emulator
cd python && poetry run python3 -m pip install .
-
Adding a small feature or a fix
If your change is somewhat subtle, feel free to file a PR in one of the appropriate repositories directly. See the PR requirements noted at CONTRIBUTING.md
-
Add new coin/token/network to the official onekey firmware
See COINS.md
Also please have a look at the docs before contributing. The misc chapter should be read in particular because it contains some useful assorted knowledge.
- Please read Bug Bounty 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.