Send a single signTx call to Ledger (e.g. Install usbtool and turn on console printing. Install the debug version of Cardano app (see above). Install debug MCU on your Ledger Nano S device. It is possible to acquire it from the development build by going through the following steps: Ledger computes a rolling hash of the serialized transaction body, but the body itself is ordinarily not available. How to get a transaction body computed by Ledger make analyze does not report errors or warnings.make clean load runs without errors and warnings (except those reported for nanos-secure-sdk repo) for development build (see Debug version above).make clean load runs without errors and warnings (except those reported for nanos-secure-sdk repo) for production build.make format does not change anything (except possibly some glyph* files).the app is too big to fit on the device (try make size)īefore merging a PR, one should make sure that:.the device is in some intermediary state (e.g.Make load results in an exception in the following cases (there might be others): See Makefile for list of included functions. analyze: Run clang static analyzer (requires clang-tools).build: Build obj and bin api artefacts without loading.delete: Remove the application from the device.clean: Clean the build and output directories.load: Load signed app onto the Ledger device.To learn more about development process and individual commands, check the desing doc. The quickstart guide's script sets up your udev rules, but there still might be problems. Instructions for swapping MCU versions: Troubleshooting connection problems You want a debug version of the MCU firmware (but it blocks SDK firmware updates, so for the purpose of upgrading SDK, replace it temporarily with a non-debug one). Environment setup and developer documentation is sufficiently provided in Ledger’s Read the Docs.
0 Comments
Leave a Reply. |