Provide crypto icons assets by ledgerId
Some of the icons provided are trademarks: they are the property of their respective owners.
See @ledgerhq/crypto-icons library README here: lib/README.md
- Find the ledgerIds of the coin on various networks using CoinRadar
- Prepare a 144x144 PNG file with a background (no transparent background). If in doubt, contact the design team or WXP team
- Use a recognizable name for the PNG file (ticker or coin name)
- Add the PNG files to the
compress/folder - Run
pnpm compressfrom thelibfolder - Move the compressed files to the
assets/folder
Add the ledgerIds in assets/_record.json following this structure:
"{png_file_name}": {
"ids": [
"{first_ledger_id}",
"{second_ledger_id}"
]
}Then run pnpm generate:index to update the mapping in assets/index.json.
Storybook relies on the icons already in production, so if you don't see your icon in your storybook branch, that's expected.