@ledgerhq/cryptoassets 9.10.0-nightly.3 → 9.10.0-nightly.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/cryptoassets",
3
- "version": "9.10.0-nightly.3",
3
+ "version": "9.10.0-nightly.5",
4
4
  "description": "Ledger crypto-assets list",
5
5
  "keywords": [
6
6
  "Ledger"
@@ -67,7 +67,7 @@
67
67
  "source-map-support": "^0.5.21",
68
68
  "ts-jest": "^28.0.5",
69
69
  "ts-node": "^10.4.0",
70
- "@ledgerhq/types-cryptoassets": "^7.3.1-nightly.1"
70
+ "@ledgerhq/types-cryptoassets": "^7.4.0-nightly.3"
71
71
  },
72
72
  "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",
73
73
  "scripts": {
@@ -87,6 +87,7 @@ const abandonSeedAddresses: Partial<Record<CryptoCurrency["id"], string>> = {
87
87
  internet_computer: "454109defbdd79d7283cdde63b8dab4d48f590b8b2923574cca0356ab6958b2b",
88
88
  ethereum_as_evm_test_only: "0x0000000000000000000000000000000000000000",
89
89
  polygon_as_evm_test_only: "0x0000000000000000000000000000000000000000",
90
+ telos_evm: "0x0000000000000000000000000000000000000000",
90
91
  stacks: "SP3KS7VMY2ZNE6SB88PHR4SKRK2EEPHS8N8MCCBR9",
91
92
  secret_network: "cosmos19rl4cm2hmr8afy4kldpxz3fka4jguq0auqdal4",
92
93
  stargaze: "cosmos19rl4cm2hmr8afy4kldpxz3fka4jguq0auqdal4",
package/src/currencies.ts CHANGED
@@ -3600,10 +3600,6 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3600
3600
  },
3601
3601
  // ethereum nanoapp currencies
3602
3602
  // Light Integrations are at the end of the list until we figure out a way to fix the ticker/managerApp collisions
3603
- /**
3604
- * FIXME: cleanup libs/coin-evm/src/api/gasTracker/ledger.ts currencyIdGasTrackerMap
3605
- * when ethereum_as_evm_test_only is removed from the currencies list
3606
- */
3607
3603
  ethereum_as_evm_test_only: {
3608
3604
  type: "CryptoCurrency",
3609
3605
  id: "ethereum_as_evm_test_only",
@@ -3619,12 +3615,9 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3619
3615
  ethereumLikeInfo: {
3620
3616
  chainId: 1,
3621
3617
  networkId: 1,
3622
- rpc: "https://rpc.ankr.com/eth",
3623
- explorer: {
3624
- uri: "https://api.etherscan.io",
3625
- type: "etherscan",
3626
- },
3627
- gasTracker: { uri: "", type: "ledger" },
3618
+ node: { type: "ledger", explorerId: "eth" },
3619
+ explorer: { type: "ledger", explorerId: "eth" },
3620
+ gasTracker: { type: "ledger", explorerId: "eth" },
3628
3621
  },
3629
3622
  explorerViews: [
3630
3623
  {
@@ -3633,11 +3626,8 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3633
3626
  token: "https://etherscan.io/token/$contractAddress?a=$address",
3634
3627
  },
3635
3628
  ],
3629
+ explorerId: "eth",
3636
3630
  },
3637
- /**
3638
- * FIXME: cleanup libs/coin-evm/src/api/gasTracker/ledger.ts currencyIdGasTrackerMap
3639
- * when polygon_as_evm_test_only is removed from the currencies list
3640
- */
3641
3631
  polygon_as_evm_test_only: {
3642
3632
  type: "CryptoCurrency",
3643
3633
  id: "polygon_as_evm_test_only",
@@ -3659,12 +3649,9 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3659
3649
  ethereumLikeInfo: {
3660
3650
  chainId: 137,
3661
3651
  networkId: 137,
3662
- rpc: "https://rpc.ankr.com/polygon",
3663
- explorer: {
3664
- uri: "https://api.polygonscan.com",
3665
- type: "etherscan",
3666
- },
3667
- gasTracker: { uri: "", type: "ledger" },
3652
+ node: { type: "ledger", explorerId: "matic" },
3653
+ explorer: { type: "ledger", explorerId: "matic" },
3654
+ gasTracker: { type: "ledger", explorerId: "matic" },
3668
3655
  },
3669
3656
  explorerViews: [
3670
3657
  {
@@ -3673,6 +3660,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3673
3660
  token: "https://polygonscan.com/token/$contractAddress?a=$address",
3674
3661
  },
3675
3662
  ],
3663
+ explorerId: "matic",
3676
3664
  },
3677
3665
  arbitrum: {
3678
3666
  type: "CryptoCurrency",
@@ -3689,7 +3677,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3689
3677
  baseChain: "mainnet",
3690
3678
  chainId: 42161,
3691
3679
  networkId: 42161,
3692
- rpc: "https://arb1.arbitrum.io/rpc",
3680
+ node: { type: "external", uri: "https://arb1.arbitrum.io/rpc" },
3693
3681
  explorer: {
3694
3682
  uri: "https://api.arbiscan.io",
3695
3683
  type: "etherscan",
@@ -3720,7 +3708,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3720
3708
  ethereumLikeInfo: {
3721
3709
  chainId: 421613,
3722
3710
  networkId: 421613,
3723
- rpc: "https://goerli-rollup.arbitrum.io/rpc",
3711
+ node: { type: "external", uri: "https://goerli-rollup.arbitrum.io/rpc" },
3724
3712
  explorer: {
3725
3713
  uri: "https://api-goerli.arbiscan.io/",
3726
3714
  type: "etherscan",
@@ -3748,7 +3736,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3748
3736
  baseChain: "mainnet",
3749
3737
  chainId: 25,
3750
3738
  networkId: 25,
3751
- rpc: "https://evm.cronos.org",
3739
+ node: { type: "external", uri: "https://evm.cronos.org" },
3752
3740
  explorer: {
3753
3741
  uri: "https://api.cronoscan.com",
3754
3742
  type: "etherscan",
@@ -3784,7 +3772,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3784
3772
  baseChain: "mainnet",
3785
3773
  chainId: 250,
3786
3774
  networkId: 250,
3787
- rpc: "https://rpcapi.fantom.network",
3775
+ node: { type: "external", uri: "https://rpcapi.fantom.network" },
3788
3776
  explorer: {
3789
3777
  uri: "https://api.ftmscan.com",
3790
3778
  type: "etherscan",
@@ -3812,7 +3800,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3812
3800
  baseChain: "mainnet",
3813
3801
  chainId: 14,
3814
3802
  networkId: 14,
3815
- rpc: "https://flare-api.flare.network/ext/bc/C/rpc",
3803
+ node: { type: "external", uri: "https://flare-api.flare.network/ext/bc/C/rpc" },
3816
3804
  explorer: {
3817
3805
  uri: "https://flare-explorer.flare.network",
3818
3806
  type: "blockscout",
@@ -3840,7 +3828,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3840
3828
  baseChain: "mainnet",
3841
3829
  chainId: 19,
3842
3830
  networkId: 19,
3843
- rpc: "https://songbird-api.flare.network/ext/C/rpc",
3831
+ node: { type: "external", uri: "https://songbird-api.flare.network/ext/C/rpc" },
3844
3832
  explorer: {
3845
3833
  uri: "https://songbird-explorer.flare.network",
3846
3834
  type: "blockscout",
@@ -3874,7 +3862,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3874
3862
  ethereumLikeInfo: {
3875
3863
  chainId: 1284,
3876
3864
  networkId: 1284,
3877
- rpc: "https://rpc.api.moonbeam.network",
3865
+ node: { type: "external", uri: "https://rpc.api.moonbeam.network" },
3878
3866
  explorer: {
3879
3867
  uri: "https://api-moonbeam.moonscan.io",
3880
3868
  type: "etherscan",
@@ -3902,7 +3890,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3902
3890
  ethereumLikeInfo: {
3903
3891
  chainId: 30,
3904
3892
  networkId: 30,
3905
- rpc: "https://public-node.rsk.co",
3893
+ node: { type: "external", uri: "https://public-node.rsk.co" },
3906
3894
  explorer: {
3907
3895
  uri: "https://blockscout.com/rsk/mainnet",
3908
3896
  type: "blockscout",
@@ -3936,7 +3924,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3936
3924
  ethereumLikeInfo: {
3937
3925
  chainId: 199,
3938
3926
  networkId: 199,
3939
- rpc: "https://rpc.bt.io",
3927
+ node: { type: "external", uri: "https://rpc.bt.io" },
3940
3928
  explorer: {
3941
3929
  uri: "https://api.bttcscan.com",
3942
3930
  type: "etherscan",
@@ -3970,7 +3958,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
3970
3958
  ethereumLikeInfo: {
3971
3959
  chainId: 2222,
3972
3960
  networkId: 2222,
3973
- rpc: "https://evm2.kava.io",
3961
+ node: { type: "external", uri: "https://evm2.kava.io" },
3974
3962
  explorer: {
3975
3963
  uri: "https://explorer.kava.io",
3976
3964
  type: "blockscout",
@@ -4004,7 +3992,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4004
3992
  ethereumLikeInfo: {
4005
3993
  chainId: 9001,
4006
3994
  networkId: 9001,
4007
- rpc: "https://evmos-evm.publicnode.com",
3995
+ node: { type: "external", uri: "https://evmos-evm.publicnode.com" },
4008
3996
  explorer: {
4009
3997
  uri: "https://blockscout.evmos.org",
4010
3998
  type: "blockscout",
@@ -4032,7 +4020,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4032
4020
  ethereumLikeInfo: {
4033
4021
  chainId: 10,
4034
4022
  networkId: 10,
4035
- rpc: "https://mainnet.optimism.io",
4023
+ node: { type: "external", uri: "https://mainnet.optimism.io" },
4036
4024
  explorer: {
4037
4025
  uri: "https://api-optimistic.etherscan.io",
4038
4026
  type: "etherscan",
@@ -4064,7 +4052,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4064
4052
  ethereumLikeInfo: {
4065
4053
  chainId: 420,
4066
4054
  networkId: 420,
4067
- rpc: "https://goerli.optimism.io",
4055
+ node: { type: "external", uri: "https://goerli.optimism.io" },
4068
4056
  explorer: {
4069
4057
  uri: "https://api-goerli-optimistic.etherscan.io/",
4070
4058
  type: "etherscan",
@@ -4092,7 +4080,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4092
4080
  ethereumLikeInfo: {
4093
4081
  chainId: 246,
4094
4082
  networkId: 246,
4095
- rpc: "https://rpc.energyweb.org",
4083
+ node: { type: "external", uri: "https://rpc.energyweb.org" },
4096
4084
  explorer: {
4097
4085
  uri: "https://explorer.energyweb.org",
4098
4086
  type: "blockscout",
@@ -4120,7 +4108,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4120
4108
  ethereumLikeInfo: {
4121
4109
  chainId: 592,
4122
4110
  networkId: 592,
4123
- rpc: "https://evm.astar.network",
4111
+ node: { type: "external", uri: "https://evm.astar.network" },
4124
4112
  explorer: {
4125
4113
  uri: "https://blockscout.com/astar",
4126
4114
  type: "blockscout",
@@ -4148,7 +4136,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4148
4136
  ethereumLikeInfo: {
4149
4137
  chainId: 1088,
4150
4138
  networkId: 1088,
4151
- rpc: "https://andromeda.metis.io/?owner=1088",
4139
+ node: { type: "external", uri: "https://andromeda.metis.io/?owner=1088" },
4152
4140
  explorer: {
4153
4141
  uri: "https://andromeda-explorer.metis.io",
4154
4142
  type: "blockscout",
@@ -4176,7 +4164,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4176
4164
  ethereumLikeInfo: {
4177
4165
  chainId: 288,
4178
4166
  networkId: 288,
4179
- rpc: "https://mainnet.boba.network",
4167
+ node: { type: "external", uri: "https://mainnet.boba.network" },
4180
4168
  explorer: {
4181
4169
  uri: "https://api.bobascan.com",
4182
4170
  type: "etherscan",
@@ -4210,7 +4198,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4210
4198
  ethereumLikeInfo: {
4211
4199
  chainId: 1285,
4212
4200
  networkId: 1285,
4213
- rpc: "https://rpc.api.moonriver.moonbeam.network",
4201
+ node: { type: "external", uri: "https://rpc.api.moonriver.moonbeam.network" },
4214
4202
  explorer: {
4215
4203
  uri: "https://api-moonriver.moonscan.io",
4216
4204
  type: "etherscan",
@@ -4244,7 +4232,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4244
4232
  ethereumLikeInfo: {
4245
4233
  chainId: 106,
4246
4234
  networkId: 106,
4247
- rpc: "https://evmexplorer.velas.com/rpc",
4235
+ node: { type: "external", uri: "https://evmexplorer.velas.com/rpc" },
4248
4236
  explorer: {
4249
4237
  uri: "https://evmexplorer.velas.com",
4250
4238
  type: "blockscout",
@@ -4272,7 +4260,7 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4272
4260
  ethereumLikeInfo: {
4273
4261
  chainId: 57,
4274
4262
  networkId: 57,
4275
- rpc: "https://rpc.syscoin.org",
4263
+ node: { type: "external", uri: "https://rpc.syscoin.org" },
4276
4264
  explorer: {
4277
4265
  uri: "https://explorer.syscoin.org",
4278
4266
  type: "blockscout",
@@ -4286,6 +4274,35 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
4286
4274
  },
4287
4275
  ],
4288
4276
  },
4277
+ telos_evm: {
4278
+ type: "CryptoCurrency",
4279
+ id: "telos_evm",
4280
+ coinType: CoinType.ETH,
4281
+ name: "Telos",
4282
+ managerAppName: "Ethereum",
4283
+ ticker: "TLOS",
4284
+ deviceTicker: "ETH",
4285
+ scheme: "telos_evm",
4286
+ color: "#AC72F9",
4287
+ family: "evm",
4288
+ units: ethereumUnits("TLOS", "TLOS"),
4289
+ ethereumLikeInfo: {
4290
+ chainId: 40,
4291
+ networkId: 40,
4292
+ node: { type: "external", uri: "https://mainnet.telos.net/evm" },
4293
+ explorer: {
4294
+ uri: "https://api.teloscan.io",
4295
+ type: "teloscan",
4296
+ },
4297
+ },
4298
+ explorerViews: [
4299
+ {
4300
+ tx: "https://www.teloscan.io/tx/$hash",
4301
+ address: "https://www.teloscan.io/address/$address",
4302
+ token: "https://www.teloscan.io/token/$contractAddress?a=$address",
4303
+ },
4304
+ ],
4305
+ },
4289
4306
  };
4290
4307
 
4291
4308
  const cryptocurrenciesByScheme: Record<string, CryptoCurrency> = {};