Skip to main content

Scripts to interact with the Coda Ledger app

Project description

Coda signature app for Ledger Blue & Ledger Nano S/X

Big disclaimer : This is a work in progress. Don't use it on a Ledger device that is handling or has ever handled private keys associated with any accounts of value.

Run make to check the build, and make load to build and load the application onto the device. Errors try to be helpful and the most common reason for failure is the device being locked, so if something isn't working, that could be the reason. make delete deletes the app.

See Ledger's documentation for further information.

Generally you won't have to run these commands yourself as the codaledgercli library will be installed, but without installing the library, to get the app version, you run:

python3 codaledgercli/ --request='version'

To generate and return the public key generated with HDindex 11:

python3 codaledgercli/ --request=publickey --HDindex=11

All of the information for a transaction is contained in two field elements. These are produced by the Coda client. To sign a transaction, the command is then:

python3 codaledgercli/ --request=transaction --HDindex=1234 --msgx=recipientpkx --msgm=allotherinfo

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for coda-ledger-cli, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size coda-ledger-cli-0.0.6.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page