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.
Keystone runs as a standalone application on customized hardware and Android 8.1 Oreo (Go Edition). This app performs:
- Interaction with the user.
- Interaction with the mobile application Keystone companion app via QR code.
- 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.
git clone [email protected]:KeystoneHQ/Keystone-cold-app.git --recursive
cd Keystone-cold-app
./gradlew assembleVault_v2Release
You can also build with IDEs, such as Android Studio
,intelliJ
.
./gradlew test
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
- crypto-coin-message-protocol - protocol buffer of communication with the mobile application
- crypto-coin-kit - crypto-coin libraries
- keystone-se-firmware - Secure Element firmware
This project is licensed under the GPL License. See the LICENSE file for details.