LedgerHQ / ledgerjs

⛔️ MOVED to monorepo "ledger-live"
https://github.com/LedgerHQ/ledger-live
Apache License 2.0
574 stars 382 forks source link

Add Jarvis Stable tokens #784

Open antonio-fr opened 2 years ago

antonio-fr commented 2 years ago

I don't get how your list is generated, and what are the criterion to add an token. The documentation refers to an unknonwn script "crypto-assets-importer" : node script/crypto-assets-importer/index.js ~/dev/crypto-assets.

Could you add the Jarvis synthetic fiat currencies tokens ? Example of the most used :

Ethereum :

Jarvis EUR (jEUR): 0x0fa1a6b68be5dd9132a09286a166d75480be9165
Jarvis GBP (jGBP): 0xa87b3e78d128dab9db656cf459c9266c4c1d5255
Jarvis CHF (jCHF): 0x9b0a1c61f234e2d21b6f7c0da6178dfbbaa3756f

Polygon :

Jarvis EUR (jEUR): 0x4e3decbb3645551b8a19f0ea1678079fcb33fb4c
Jarvis GBP (jGBP): 0x767058F11800FBA6A682E73A6e79ec5eB74Fac8c
Jarvis CHF (jCHF): 0xbD1463F02f61676d53fd183C2B19282BFF93D099
Jarvis SGD (jSGD): 0xa926db7a4cc0cb1736d5ac60495ca8eb7214b503
Jarvis CAD (jCAD): 0x8ca194A3b22077359b5732DE53373D4afC11DeE3
Jarvis CAD (jAUD): 0xCB7F1Ef7246D1497b985f7FC45A1A31F04346133
Jarvis JPY (jJPY): 0x8343091F2499FD4b6174A46D067A920a3b851FF9

Here's the full list of the contract address. https://learn.jarvis.network/protocol-overview/jfiat#list-of-jfiats

antonio-fr commented 2 years ago

OK, the generation script is here. Still not sure about the tokens list original selection.