Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

We added MPC-related features into Keystone, providing a 2/2 MPC wallet between MPCSnap and Keystone to manage EVM assets. πŸŽ‰πŸŽ‰πŸŽ‰

License

Notifications You must be signed in to change notification settings

Safeheron/Keystone-cold-app

Β 
Β 

Repository files navigation

Keystone-app

We added MPC-related features into Keystone, providing a 2/2 MPC wallet between MPCSnap and Keystone to manage EVM assets. πŸŽ‰πŸŽ‰πŸŽ‰

You can also follow @Safeheron on Twitter to learn more about MPC wallet.

To build this branch, you need to compile the MPC algorithem and put the MPC.bundle.js into assets/script folder, and then follow this.

Contents

Introduction

Keystone runs as a standalone application on customized hardware and Android 8.1 Oreo (Go Edition). This app performs:

  1. Interaction with the user.
  2. Interaction with the mobile application Keystone companion app via QR code.
  3. Interaction with the Secure Element (SE) via serial port, open source SE firmware can be found at keystone-se-firmware. Transaction data is signed by the Secure Element and the generated signature is sent back to the application. This signature and other necessary messages are displayed as a QR code. You can check the animation on our webpage to see the whole process. Users use their mobile or desktop application to acquire signed transaction data and broadcast it.

The hardware wallet application was programmed with Java language. The transaction related work is done by Typescript, for which open source code is available at crypto-coin-kit. The J2V8 framework is used as a bridge between Java and Typescript.

Clone

git clone git@github.com:KeystoneHQ/Keystone-cold-app.git --recursive

Build

cd Keystone-cold-app
./gradlew assembleVault_v2Release

You can also build with IDEs, such as Android Studio,intelliJ.

Test

./gradlew test

Code Structure

Modules

app: Main application module

coinlib: Module for supported blockchains, currently included in 12 blockchains

encryption-core: Module for the Secure Element, includes commands, protocol, serialize/deserialize, serial port communication

Core Dependencies

  1. crypto-coin-message-protocol - protocol buffer of communication with the mobile application
  2. crypto-coin-kit - crypto-coin libraries
  3. keystone-se-firmware - Secure Element firmware

License

GPLv3 License This project is licensed under the GPL License. See the LICENSE file for details.

About

We added MPC-related features into Keystone, providing a 2/2 MPC wallet between MPCSnap and Keystone to manage EVM assets. πŸŽ‰πŸŽ‰πŸŽ‰

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.7%
  • Other 0.3%