@ledgerhq/cryptoassets 12.1.0-nightly.1 → 12.1.1-nightly.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +18 -4
  3. package/lib/abandonseed.d.ts.map +1 -1
  4. package/lib/abandonseed.js +2 -4
  5. package/lib/abandonseed.js.map +1 -1
  6. package/lib/crypto-assets-importer/exchange/trc20.d.ts.map +1 -1
  7. package/lib/crypto-assets-importer/exchange/trc20.js +9 -3
  8. package/lib/crypto-assets-importer/exchange/trc20.js.map +1 -1
  9. package/lib/currencies.d.ts.map +1 -1
  10. package/lib/currencies.js +18 -72
  11. package/lib/currencies.js.map +1 -1
  12. package/lib/data/exchange/trc20-hash.json +1 -0
  13. package/lib/data/exchange/trc20.d.ts +1 -0
  14. package/lib/data/exchange/trc20.d.ts.map +1 -1
  15. package/lib/data/exchange/trc20.js +3 -0
  16. package/lib/data/exchange/trc20.js.map +1 -1
  17. package/lib-es/abandonseed.d.ts.map +1 -1
  18. package/lib-es/abandonseed.js +2 -4
  19. package/lib-es/abandonseed.js.map +1 -1
  20. package/lib-es/crypto-assets-importer/exchange/trc20.d.ts.map +1 -1
  21. package/lib-es/crypto-assets-importer/exchange/trc20.js +9 -3
  22. package/lib-es/crypto-assets-importer/exchange/trc20.js.map +1 -1
  23. package/lib-es/currencies.d.ts.map +1 -1
  24. package/lib-es/currencies.js +18 -72
  25. package/lib-es/currencies.js.map +1 -1
  26. package/lib-es/data/exchange/trc20-hash.json +1 -0
  27. package/lib-es/data/exchange/trc20.d.ts +1 -0
  28. package/lib-es/data/exchange/trc20.d.ts.map +1 -1
  29. package/lib-es/data/exchange/trc20.js +1 -0
  30. package/lib-es/data/exchange/trc20.js.map +1 -1
  31. package/package.json +2 -2
  32. package/src/abandonseed.ts +2 -4
  33. package/src/crypto-assets-importer/exchange/trc20.ts +9 -3
  34. package/src/currencies.ts +18 -72
  35. package/src/data/exchange/trc20-hash.json +1 -0
  36. package/src/data/exchange/trc20.ts +2 -0
package/src/currencies.ts CHANGED
@@ -3333,58 +3333,6 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3333
3333
  ],
3334
3334
  explorerId: "btc_testnet",
3335
3335
  },
3336
- ethereum_ropsten: {
3337
- type: "CryptoCurrency",
3338
- id: "ethereum_ropsten",
3339
- coinType: CoinType.ETH,
3340
- name: "Ethereum Ropsten",
3341
- managerAppName: "Ethereum",
3342
- ticker: "ETH",
3343
- deviceTicker: "ETH",
3344
- scheme: "ethereum_ropsten",
3345
- color: "#00ff00",
3346
- units: ethereumUnits("ether", "ETH").map(makeTestnetUnit),
3347
- isTestnetFor: "ethereum",
3348
- disableCountervalue: true,
3349
- family: "evm",
3350
- blockAvgTime: 15,
3351
- ethereumLikeInfo: {
3352
- chainId: 3, // ropsten
3353
- },
3354
- explorerViews: [
3355
- {
3356
- tx: "https://ropsten.etherscan.io/tx/$hash",
3357
- address: "https://ropsten.etherscan.io/address/$address",
3358
- },
3359
- ],
3360
- explorerId: "eth_ropsten",
3361
- },
3362
- ethereum_goerli: {
3363
- type: "CryptoCurrency",
3364
- id: "ethereum_goerli",
3365
- coinType: CoinType.ETH,
3366
- name: "Ethereum Goerli",
3367
- managerAppName: "Ethereum",
3368
- ticker: "ETH",
3369
- deviceTicker: "ETH",
3370
- scheme: "ethereum_goerli",
3371
- color: "#00ff00",
3372
- units: ethereumUnits("ether", "ETH").map(makeTestnetUnit),
3373
- isTestnetFor: "ethereum",
3374
- disableCountervalue: true,
3375
- family: "evm",
3376
- blockAvgTime: 15,
3377
- ethereumLikeInfo: {
3378
- chainId: 5, // goerli
3379
- },
3380
- explorerViews: [
3381
- {
3382
- tx: "https://goerli.etherscan.io/tx/$hash",
3383
- address: "https://goerli.etherscan.io/address/$address",
3384
- },
3385
- ],
3386
- explorerId: "eth_goerli",
3387
- },
3388
3336
  ethereum_sepolia: {
3389
3337
  type: "CryptoCurrency",
3390
3338
  id: "ethereum_sepolia",
@@ -3911,28 +3859,26 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3911
3859
  ],
3912
3860
  keywords: ["optimism"],
3913
3861
  },
3914
- optimism_goerli: {
3862
+ optimism_sepolia: {
3915
3863
  type: "CryptoCurrency",
3916
- id: "optimism_goerli",
3864
+ id: "optimism_sepolia",
3917
3865
  coinType: CoinType.ETH,
3918
- name: "Optimism Goerli",
3866
+ name: "OP Sepolia",
3919
3867
  managerAppName: "Ethereum",
3920
3868
  ticker: "ETH",
3921
- deviceTicker: "ETH",
3922
- scheme: "optimism_goerli",
3923
- color: "#00ff00",
3869
+ scheme: "optimism_sepolia",
3870
+ color: "#FF0000",
3924
3871
  family: "evm",
3925
3872
  units: ethereumUnits("ether", "ETH").map(makeTestnetUnit),
3926
3873
  isTestnetFor: "optimism",
3927
- disableCountervalue: true,
3928
3874
  ethereumLikeInfo: {
3929
- chainId: 420,
3875
+ chainId: 11155420,
3930
3876
  },
3931
3877
  explorerViews: [
3932
3878
  {
3933
- tx: "https://goerli-optimism.etherscan.io/tx/$hash",
3934
- address: "https://goerli-optimism.etherscan.io/address/$address",
3935
- token: "https://goerli-optimism.etherscan.io/token/$contractAddress?a=$address",
3879
+ tx: "https://sepolia-optimism.etherscan.io/tx/$hash",
3880
+ address: "https://sepolia-optimism.etherscan.io/address/$address",
3881
+ token: "https://sepolia-optimism.etherscan.io/token/$contractAddress?a=$address",
3936
3882
  },
3937
3883
  ],
3938
3884
  },
@@ -4296,27 +4242,27 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4296
4242
  },
4297
4243
  ],
4298
4244
  },
4299
- linea_goerli: {
4245
+ linea_sepolia: {
4300
4246
  type: "CryptoCurrency",
4301
- id: "linea_goerli",
4247
+ id: "linea_sepolia",
4302
4248
  coinType: CoinType.ETH,
4303
- name: "Linea Goerli",
4249
+ name: "Linea Sepolia",
4304
4250
  managerAppName: "Ethereum",
4305
4251
  ticker: "ETH",
4306
- scheme: "linea_goerli",
4307
- color: "#00ff00",
4252
+ scheme: "linea_sepolia",
4253
+ color: "#ff0000",
4308
4254
  family: "evm",
4309
4255
  units: ethereumUnits("ETH", "ETH").map(makeTestnetUnit),
4310
4256
  disableCountervalue: false,
4311
4257
  isTestnetFor: "linea",
4312
4258
  ethereumLikeInfo: {
4313
- chainId: 59140,
4259
+ chainId: 59141,
4314
4260
  },
4315
4261
  explorerViews: [
4316
4262
  {
4317
- tx: "https://goerli.lineascan.build/tx/$hash",
4318
- address: "https://goerli.lineascan.build/address/$address",
4319
- token: "https://goerli.lineascan.build/token/$address",
4263
+ tx: "https://sepolia.lineascan.build/tx/$hash",
4264
+ address: "https://sepolia.lineascan.build/address/$address",
4265
+ token: "https://sepolia.lineascan.build/token/$address",
4320
4266
  },
4321
4267
  ],
4322
4268
  },
@@ -0,0 +1 @@
1
+ "\"26576f611185ccd3a498029b64654d8f\""
@@ -1,5 +1,7 @@
1
1
  export type TRC20Exchange = [string, string, string];
2
2
 
3
+ export { default as hash } from "./trc20-hash.json";
4
+
3
5
  import exchanges from "./trc20.json";
4
6
 
5
7
  export default exchanges as TRC20Exchange[];