CPChain wallet application framework for Ledger Nano S.
To build and install the app on your Ledger Nano S you must set up the Ledger Nano S build environments. Please follow the Getting Started instructions at ledger official document.
- Compile and load the app onto the device:
make load- Remove the app from the device:
make deleteFollowing packages maybe needed
sudo apt install python3-pip libssl-dev -y
sudo apt install libudev-dev libusb-1.0-0-dev -y
pip3 install ledgerblue cpc_fusion rlp ethereum
pip install Pillow- Test functionality:
# sign transactions
./examples/signTx.py --nonce 2 --gasprice 18000000000 --amount 1 --to 0x4d90553e566b67e593059f9aba02941f025578cd --txtype 0
# sign message
./examples/signMessage.py --message "Test message"
# get publickey
./examples/getPublicKey.pyThis follows the specification available in the api.asc.