Ledger-asset Dapps

This repository is a structured list of Dapps descriptors cryptographycally signed by Ledger. Each blockchain has its own directory (currently only Ethereum is supported, but more will come). Inside an blockchain's directory, every dApp has its own directory as well and contains a file named b2c.json which is summary of the smart contracts and methods that Ledger supports. This file can refer to smart contract ABIs that are available in the abis folder. There is also a *_signature.json file, which is the signature of the dApp descriptor by Ledger. The descriptors are send along with their signature to Ledger devices to verify their authenticity.

This repo can be seen as a way to add a supported dApp to Ledger's products. A product could parse this repository and use it to support new dApps. Currently, it is used by the Ethereum application and its plugins on Ledger Nano S/X, to provide rich display when approving a dApp transaction.

Signature

Signature process

The signature takes into account the content of the b2c.json files and abis folder.

Production signature

Only a quorum of Ledger employes is authorized to create new production signatures. If you wish to add a token or a coin, create a branch targeting master, add a new directory for your dApp, create a PR, and we will sign it.

Test signature

Not yet supported, coming soon.

Tips

In case you need to update to lowercase all Ethereum addresses, you should be able to do this with something like

sed -e 's/\("0x.*"\)/\L\1/' b2c.json > b2c.json.new