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/__main__.py --request='version'

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

python3 codaledgercli/__main__.py --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/__main__.py --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.

Source Distribution

coda-ledger-cli-0.0.6.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file coda-ledger-cli-0.0.6.tar.gz.

File metadata

  • Download URL: coda-ledger-cli-0.0.6.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for coda-ledger-cli-0.0.6.tar.gz
Algorithm Hash digest
SHA256 a593f584ce467b79a022f4bc3b148840773551a9314a8e3c203f54be32c14ad5
MD5 4c58e9c19d4aa0d550fdf2b6ab30e091
BLAKE2b-256 6ee74192d058596f1cf9e11131608aecdb5ab46c384dac9d4852355113f96ce1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page