Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of a new network. #442

Open
maptuhec opened this issue Jul 17, 2023 · 1 comment
Open

Integration of a new network. #442

maptuhec opened this issue Jul 17, 2023 · 1 comment
Labels
altcoin Any non-Bitcoin coins

Comments

@maptuhec
Copy link

Hi team,

Together with a client partner we would like to integrate a new blockchain network into the OneKey wallets.
We have went through the documentation but we haven't found any documents on how we can proceed with that. Following a discussion with your team, we were suggested to open an issue and proceed forward.

The blockchain network is - https://www.nervos.org/

The end goal is to be able to execute and sign transactions to the network via OneKey hardware wallets.

We would be happy to support with everything from our side, and we are open for discussions and communications.

Cheers.

@lyxyx
Copy link
Contributor

lyxyx commented Aug 10, 2023

You can add a network to OneKey Touch by following these steps

  1. Run the onekey emulator
    Emulator is a unix version of Core firmware that runs on your computer. follow the Getting Onboard instructions.

  2. Adding a Network implementation
    You can refer to this pr to familiarize yourself with what code needs to be updated to add a network.

  3. Testing
    Test the newly added interface with the cli subcommand implemented in step 2, and then verify it against the nervos jssdk signing results. The cli utility is located in the {project-dir}/.venv directory and should be installed as follows:
    cd python && poetry run python3 -m pip install .

@lyxyx lyxyx added the altcoin Any non-Bitcoin coins label Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
altcoin Any non-Bitcoin coins
Projects
None yet
Development

No branches or pull requests

2 participants