carbon-js-sdk 0.3.20 → 0.3.21

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 (59) hide show
  1. package/lib/CarbonSDK.d.ts +5 -1
  2. package/lib/CarbonSDK.js +24 -4
  3. package/lib/clients/CarbonQueryClient.js +2 -2
  4. package/lib/clients/ETHClient.js +15 -15
  5. package/lib/clients/HydrogenClient.js +1 -1
  6. package/lib/clients/NEOClient.js +7 -7
  7. package/lib/clients/ZILClient.js +16 -16
  8. package/lib/codec/cosmos/gov/v1beta1/query.js +2 -2
  9. package/lib/codec/cosmos/gov/v1beta1/tx.js +2 -2
  10. package/lib/codec/cosmos/tx/v1beta1/tx.js +2 -2
  11. package/lib/constant/generic.js +1 -1
  12. package/lib/constant/ibc.js +41 -41
  13. package/lib/constant/network.d.ts +6 -0
  14. package/lib/constant/network.js +7 -1
  15. package/lib/index.d.ts +1 -1
  16. package/lib/index.js +2 -1
  17. package/lib/modules/cdp.js +43 -43
  18. package/lib/modules/gov.js +14 -14
  19. package/lib/modules/liquiditypool.js +1 -1
  20. package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js +1 -1
  21. package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.js +1 -1
  22. package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.js +8 -8
  23. package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js +3 -3
  24. package/lib/provider/account/NeoLedgerAccount/NeonLedger.js +1 -1
  25. package/lib/provider/amino/types/admin.js +30 -30
  26. package/lib/provider/amino/types/bank.js +1 -1
  27. package/lib/provider/amino/types/broker.js +1 -1
  28. package/lib/provider/amino/types/cdp.js +22 -22
  29. package/lib/provider/amino/types/coin.js +2 -2
  30. package/lib/provider/amino/types/gov.js +4 -4
  31. package/lib/provider/amino/types/ibc.js +1 -1
  32. package/lib/provider/amino/types/leverage.js +1 -1
  33. package/lib/provider/amino/types/liquidityPool.js +7 -7
  34. package/lib/provider/amino/types/market.js +1 -1
  35. package/lib/provider/amino/types/oracle.js +1 -1
  36. package/lib/provider/amino/types/order.js +4 -4
  37. package/lib/provider/amino/types/position.js +1 -1
  38. package/lib/provider/amino/types/profile.js +1 -1
  39. package/lib/provider/amino/types/staking.js +4 -4
  40. package/lib/provider/amino/types/subaccount.js +3 -3
  41. package/lib/provider/amino/utils.js +11 -11
  42. package/lib/provider/index.d.ts +1 -0
  43. package/lib/provider/index.js +3 -1
  44. package/lib/provider/keplr/KeplrStore.d.ts +9 -3
  45. package/lib/provider/keplr/KeplrStore.js +69 -18
  46. package/lib/provider/ledger/ledger.js +2 -2
  47. package/lib/provider/metamask/MetaMask.js +1 -1
  48. package/lib/provider/o3/O3Wallet.js +2 -2
  49. package/lib/util/address.js +13 -13
  50. package/lib/util/api.js +4 -4
  51. package/lib/util/fetch.js +1 -1
  52. package/lib/util/generic.js +3 -3
  53. package/lib/util/number.js +5 -5
  54. package/lib/wallet/CarbonSigner.js +2 -2
  55. package/lib/wallet/CarbonSigningClient.js +8 -8
  56. package/lib/wallet/CarbonWallet.d.ts +3 -0
  57. package/lib/wallet/CarbonWallet.js +12 -6
  58. package/lib/websocket/connector.js +3 -3
  59. package/package.json +8 -4
@@ -156,7 +156,7 @@ exports.EmbedChainInfosInit = {
156
156
  average: 0.025,
157
157
  high: 0.04,
158
158
  },
159
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
159
+ features: ["ibc-transfer", "ibc-go"],
160
160
  explorerUrlToTx: "https://www.mintscan.io/osmosis/txs/{txHash}",
161
161
  tmRpc: "https://rpc-osmosis.blockapsis.com/",
162
162
  },
@@ -192,7 +192,7 @@ exports.EmbedChainInfosInit = {
192
192
  },
193
193
  ],
194
194
  coinType: 118,
195
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
195
+ features: ["ibc-transfer", "ibc-go"],
196
196
  explorerUrlToTx: "https://www.mintscan.io/cosmos/txs/{txHash}",
197
197
  tmRpc: "https://rpc.cosmos.network/",
198
198
  },
@@ -250,7 +250,7 @@ exports.EmbedChainInfosInit = {
250
250
  average: 0.2,
251
251
  high: 0.25,
252
252
  },
253
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
253
+ features: ["ibc-transfer", "ibc-go"],
254
254
  explorerUrlToTx: "https://finder.terra.money/columbus-5/tx/{txHash}",
255
255
  tmRpc: "https://terra-rpc.easy2stake.com/",
256
256
  },
@@ -286,7 +286,7 @@ exports.EmbedChainInfosInit = {
286
286
  },
287
287
  ],
288
288
  coinType: 118,
289
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
289
+ features: ["ibc-transfer", "ibc-go"],
290
290
  explorerUrlToTx: "https://secretnodes.com/secret/chains/secret-4/transactions/{txHash}",
291
291
  },
292
292
  [ChainIds.Akash]: {
@@ -321,7 +321,7 @@ exports.EmbedChainInfosInit = {
321
321
  },
322
322
  ],
323
323
  coinType: 118,
324
- features: ["stargate", "ibc-transfer"],
324
+ features: ["ibc-transfer", "ibc-go"],
325
325
  explorerUrlToTx: "https://www.mintscan.io/akash/txs/{txHash}",
326
326
  },
327
327
  [ChainIds.Regen]: {
@@ -353,7 +353,7 @@ exports.EmbedChainInfosInit = {
353
353
  coinGeckoId: "regen",
354
354
  },
355
355
  ],
356
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
356
+ features: ["ibc-transfer", "ibc-go"],
357
357
  explorerUrlToTx: "https://regen.aneka.io/txs/{txHash}",
358
358
  },
359
359
  [ChainIds.Sentinel]: {
@@ -386,7 +386,7 @@ exports.EmbedChainInfosInit = {
386
386
  },
387
387
  ],
388
388
  explorerUrlToTx: "https://www.mintscan.io/sentinel/txs/{txHash}",
389
- features: ["stargate", "ibc-transfer"],
389
+ features: ["ibc-transfer", "ibc-go"],
390
390
  },
391
391
  [ChainIds.Persistence]: {
392
392
  rpc: "https://rpc-persistence.keplr.app",
@@ -425,7 +425,7 @@ exports.EmbedChainInfosInit = {
425
425
  coinGeckoId: "persistence",
426
426
  },
427
427
  ],
428
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
428
+ features: ["ibc-transfer", "ibc-go"],
429
429
  explorerUrlToTx: "https://www.mintscan.io/persistence/txs/{txHash}",
430
430
  },
431
431
  [ChainIds.IrisNet]: {
@@ -459,7 +459,7 @@ exports.EmbedChainInfosInit = {
459
459
  coinGeckoId: "iris-network",
460
460
  },
461
461
  ],
462
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
462
+ features: ["ibc-transfer", "ibc-go"],
463
463
  explorerUrlToTx: "https://www.mintscan.io/iris/txs/{txHash}",
464
464
  },
465
465
  [ChainIds.CryptoOrg]: {
@@ -493,7 +493,7 @@ exports.EmbedChainInfosInit = {
493
493
  coinGeckoId: "crypto-com-chain",
494
494
  },
495
495
  ],
496
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
496
+ features: ["ibc-transfer", "ibc-go"],
497
497
  explorerUrlToTx: "https://www.mintscan.io/crypto-org/txs/{txHash}",
498
498
  },
499
499
  [ChainIds.Starname]: {
@@ -527,7 +527,7 @@ exports.EmbedChainInfosInit = {
527
527
  coinGeckoId: "starname",
528
528
  },
529
529
  ],
530
- features: ["stargate", "ibc-transfer"],
530
+ features: ["ibc-transfer", "ibc-go"],
531
531
  explorerUrlToTx: "https://www.mintscan.io/starname/txs/{txHash}",
532
532
  },
533
533
  [ChainIds.EMoney]: {
@@ -572,7 +572,7 @@ exports.EmbedChainInfosInit = {
572
572
  average: 1,
573
573
  high: 1,
574
574
  },
575
- features: ["stargate", "ibc-transfer"],
575
+ features: ["ibc-transfer", "ibc-go"],
576
576
  explorerUrlToTx: "https://emoney.bigdipper.live/transactions/{txHash}",
577
577
  },
578
578
  [ChainIds.Juno]: {
@@ -611,7 +611,7 @@ exports.EmbedChainInfosInit = {
611
611
  average: 0.0025,
612
612
  high: 0.004,
613
613
  },
614
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
614
+ features: ["ibc-transfer", "ibc-go"],
615
615
  explorerUrlToTx: "https://www.mintscan.io/juno/txs/{txHash}",
616
616
  },
617
617
  [ChainIds.Evmos]: {
@@ -650,7 +650,7 @@ exports.EmbedChainInfosInit = {
650
650
  average: 25000000000,
651
651
  high: 40000000000,
652
652
  },
653
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
653
+ features: ["ibc-transfer", "ibc-go"],
654
654
  explorerUrlToTx: "https://www.mintscan.io/evmos/txs/{txHash}",
655
655
  },
656
656
  [ChainIds.Microtick]: {
@@ -684,7 +684,7 @@ exports.EmbedChainInfosInit = {
684
684
  coinGeckoId: "pool:utick",
685
685
  },
686
686
  ],
687
- features: ["stargate", "ibc-transfer"],
687
+ features: ["ibc-transfer", "ibc-go"],
688
688
  explorerUrlToTx: "https://explorer.microtick.zone/transactions/{txHash}",
689
689
  },
690
690
  [ChainIds.LikeCoin]: {
@@ -718,7 +718,7 @@ exports.EmbedChainInfosInit = {
718
718
  coinGeckoId: "likecoin",
719
719
  },
720
720
  ],
721
- features: ["stargate", "ibc-transfer"],
721
+ features: ["ibc-transfer", "ibc-go"],
722
722
  explorerUrlToTx: "https://likecoin.bigdipper.live/transactions/{txHash}",
723
723
  },
724
724
  [ChainIds.IXO]: {
@@ -752,7 +752,7 @@ exports.EmbedChainInfosInit = {
752
752
  coinGeckoId: "pool:uixo",
753
753
  },
754
754
  ],
755
- features: ["stargate", "ibc-transfer"],
755
+ features: ["ibc-transfer", "ibc-go"],
756
756
  explorerUrlToTx: "https://blockscan.ixo.world/transactions/{txHash}",
757
757
  },
758
758
  [ChainIds.BitCanna]: {
@@ -786,7 +786,7 @@ exports.EmbedChainInfosInit = {
786
786
  coinGeckoId: "bitcanna",
787
787
  },
788
788
  ],
789
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
789
+ features: ["ibc-transfer", "ibc-go"],
790
790
  explorerUrlToTx: "https://www.mintscan.io/bitcanna/txs/{txHash}",
791
791
  tmRpc: "https://rpc.bitcanna.io/",
792
792
  },
@@ -821,7 +821,7 @@ exports.EmbedChainInfosInit = {
821
821
  coinGeckoId: "pool:ubtsg",
822
822
  },
823
823
  ],
824
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
824
+ features: ["ibc-transfer", "ibc-go"],
825
825
  explorerUrlToTx: "https://explorebitsong.com/transactions/{txHash}",
826
826
  tmRpc: "https://rpc.explorebitsong.com/",
827
827
  },
@@ -856,7 +856,7 @@ exports.EmbedChainInfosInit = {
856
856
  coinGeckoId: "pool:uxki",
857
857
  },
858
858
  ],
859
- features: ["stargate", "ibc-transfer"],
859
+ features: ["ibc-transfer", "ibc-go"],
860
860
  explorerUrlToTx: "https://www.mintscan.io/ki-chain/txs/{txHash}",
861
861
  tmRpc: "https://rpc-mainnet.blockchain.ki",
862
862
  },
@@ -896,7 +896,7 @@ exports.EmbedChainInfosInit = {
896
896
  average: 7,
897
897
  high: 9,
898
898
  },
899
- features: ["stargate", "ibc-transfer"],
899
+ features: ["ibc-transfer", "ibc-go"],
900
900
  explorerUrlToTx: "https://www.mintscan.io/medibloc/txs/{txHash}",
901
901
  tmRpc: "https://rpc.gopanacea.org/",
902
902
  },
@@ -931,7 +931,7 @@ exports.EmbedChainInfosInit = {
931
931
  // coinGeckoId: "pool:boot",
932
932
  },
933
933
  ],
934
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
934
+ features: ["ibc-transfer", "ibc-go"],
935
935
  explorerUrlToTx: "https://cyb.ai/network/bostrom/tx/{txHash}",
936
936
  tmRpc: "https://rpc.bostrom.cybernode.ai/",
937
937
  },
@@ -966,7 +966,7 @@ exports.EmbedChainInfosInit = {
966
966
  coinGeckoId: "comdex",
967
967
  },
968
968
  ],
969
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
969
+ features: ["ibc-transfer", "ibc-go"],
970
970
  explorerUrlToTx: "https://www.mintscan.io/comdex/txs/{txHash}",
971
971
  tmRpc: "https://rpc.comdex.one/",
972
972
  },
@@ -1006,7 +1006,7 @@ exports.EmbedChainInfosInit = {
1006
1006
  average: 30,
1007
1007
  high: 50,
1008
1008
  },
1009
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
1009
+ features: ["ibc-transfer", "ibc-go"],
1010
1010
  explorerUrlToTx: "https://explorer.cheqd.io/transactions/{txHash}",
1011
1011
  tmRpc: "https://rpc.cheqd.net/",
1012
1012
  },
@@ -1041,7 +1041,7 @@ exports.EmbedChainInfosInit = {
1041
1041
  coinGeckoId: "pool:ustars",
1042
1042
  },
1043
1043
  ],
1044
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
1044
+ features: ["ibc-transfer", "ibc-go"],
1045
1045
  explorerUrlToTx: "https://www.mintscan.io/stargaze/txs/{txHash}",
1046
1046
  tmRpc: "https://rpc.stargaze-apis.com/",
1047
1047
  },
@@ -1081,7 +1081,7 @@ exports.EmbedChainInfosInit = {
1081
1081
  average: 0.03,
1082
1082
  high: 0.035,
1083
1083
  },
1084
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
1084
+ features: ["ibc-transfer", "ibc-go"],
1085
1085
  explorerUrlToTx: "https://ping.pub/chihuahua/tx/{txHash}",
1086
1086
  },
1087
1087
  [ChainIds.LumNetwork]: {
@@ -1116,7 +1116,7 @@ exports.EmbedChainInfosInit = {
1116
1116
  },
1117
1117
  ],
1118
1118
  coinType: 118,
1119
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
1119
+ features: ["ibc-transfer", "ibc-go"],
1120
1120
  explorerUrlToTx: "https://www.mintscan.io/lum/txs/{txHash}",
1121
1121
  tmRpc: "https://node0.mainnet.lum.network/rpc/",
1122
1122
  },
@@ -1152,7 +1152,7 @@ exports.EmbedChainInfosInit = {
1152
1152
  },
1153
1153
  ],
1154
1154
  coinType: 370,
1155
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
1155
+ features: ["ibc-transfer", "ibc-go"],
1156
1156
  explorerUrlToTx: "https://explorers.vidulum.app/vidulum/tx/{txHash}",
1157
1157
  tmRpc: "https://mainnet-rpc.vidulum.app/",
1158
1158
  },
@@ -1187,7 +1187,7 @@ exports.EmbedChainInfosInit = {
1187
1187
  coinGeckoId: "pool:udsm",
1188
1188
  },
1189
1189
  ],
1190
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
1190
+ features: ["ibc-transfer", "ibc-go"],
1191
1191
  explorerUrlToTx: "https://explorer.desmos.network/transactions/{txHash}",
1192
1192
  tmRpc: "https://rpc.mainnet.desmos.network/",
1193
1193
  },
@@ -1227,7 +1227,7 @@ exports.EmbedChainInfosInit = {
1227
1227
  average: 0.03,
1228
1228
  high: 0.035,
1229
1229
  },
1230
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
1230
+ features: ["ibc-transfer", "ibc-go"],
1231
1231
  explorerUrlToTx: "https://ping.pub/dig/tx/{txHash}",
1232
1232
  tmRpc: "https://rpc-1-dig.notional.ventures/",
1233
1233
  },
@@ -1262,7 +1262,7 @@ exports.EmbedChainInfosInit = {
1262
1262
  coinGeckoId: "pool:usomm",
1263
1263
  },
1264
1264
  ],
1265
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
1265
+ features: ["ibc-transfer", "ibc-go"],
1266
1266
  explorerUrlToTx: "https://sommscan.io",
1267
1267
  },
1268
1268
  [ChainIds.Sifchain]: {
@@ -1296,7 +1296,7 @@ exports.EmbedChainInfosInit = {
1296
1296
  coinGeckoId: "sifchain",
1297
1297
  },
1298
1298
  ],
1299
- features: ["stargate", "ibc-transfer"],
1299
+ features: ["ibc-transfer", "ibc-go"],
1300
1300
  explorerUrlToTx: "https://www.mintscan.io/sifchain/txs/{txHash}",
1301
1301
  tmRpc: "https://rpc.sifchain.finance/",
1302
1302
  },
@@ -1331,7 +1331,7 @@ exports.EmbedChainInfosInit = {
1331
1331
  coinGeckoId: "band-protocol",
1332
1332
  },
1333
1333
  ],
1334
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
1334
+ features: ["ibc-transfer", "ibc-go"],
1335
1335
  explorerUrlToTx: "https://cosmoscan.io/tx/{txHash}",
1336
1336
  tmRpc: "https://rpc.laozi3.bandchain.org/",
1337
1337
  },
@@ -1366,7 +1366,7 @@ exports.EmbedChainInfosInit = {
1366
1366
  coinGeckoId: "pool:udarc",
1367
1367
  },
1368
1368
  ],
1369
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
1369
+ features: ["ibc-transfer", "ibc-go"],
1370
1370
  explorerUrlToTx: "https://www.mintscan.io/konstellation/txs/{txHash}",
1371
1371
  tmRpc: "https://node1.konstellation.tech:26657/",
1372
1372
  },
@@ -1401,7 +1401,7 @@ exports.EmbedChainInfosInit = {
1401
1401
  coinGeckoId: "pool:uumee",
1402
1402
  },
1403
1403
  ],
1404
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
1404
+ features: ["ibc-transfer", "ibc-go"],
1405
1405
  explorerUrlToTx: "https://www.mintscan.io/umee/txs/{txHash}",
1406
1406
  tmRpc: "https://rpc.aphrodite.main.network.umee.cc/",
1407
1407
  },
@@ -1447,7 +1447,7 @@ exports.EmbedChainInfosInit = {
1447
1447
  average: 0,
1448
1448
  high: 0.035,
1449
1449
  },
1450
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
1450
+ features: ["ibc-transfer", "ibc-go"],
1451
1451
  explorerUrlToTx: "https://www.mintscan.io/gravity-bridge/txs/{txHash}",
1452
1452
  tmRpc: "https://gravitychain.io:26657/",
1453
1453
  },
@@ -1482,7 +1482,7 @@ exports.EmbedChainInfosInit = {
1482
1482
  coinGeckoId: "decentr",
1483
1483
  },
1484
1484
  ],
1485
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx"],
1485
+ features: ["ibc-transfer", "ibc-go"],
1486
1486
  explorerUrlToTx: "https://explorer.decentr.net/transactions/{txHash}?networkId=mainnet",
1487
1487
  tmRpc: "https://poseidon.mainnet.decentr.xyz/",
1488
1488
  },
@@ -1517,7 +1517,7 @@ exports.EmbedChainInfosInit = {
1517
1517
  coinGeckoId: "certik",
1518
1518
  },
1519
1519
  ],
1520
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
1520
+ features: ["ibc-transfer", "ibc-go"],
1521
1521
  explorerUrlToTx: "https://www.mintscan.io/certik/txs/{txHash}",
1522
1522
  tmRpc: "https://shenturpc.certikpowered.info/",
1523
1523
  },
@@ -1592,7 +1592,7 @@ exports.EmbedChainInfosInit = {
1592
1592
  chainName: "Axelar",
1593
1593
  chainId: ChainIds.Axelar,
1594
1594
  bech32Config: exports.IBCAddress.defaultBech32Config("axelar"),
1595
- features: ["stargate", "ibc-transfer", "ibc-go", "no-legacy-stdTx"],
1595
+ features: ["ibc-transfer", "ibc-go"],
1596
1596
  explorerUrlToTx: "https://axelarscan.io/tx/{txHash}",
1597
1597
  },
1598
1598
  [ChainIds.Stride]: {
@@ -1651,7 +1651,7 @@ exports.EmbedChainInfosInit = {
1651
1651
  average: 0,
1652
1652
  high: 0.04,
1653
1653
  },
1654
- features: ["stargate", "ibc-transfer", "no-legacy-stdTx", "ibc-go"],
1654
+ features: ["ibc-transfer", "ibc-go"],
1655
1655
  explorerUrlToTx: "https://www.mintscan.io/stride/txs/{txHash}",
1656
1656
  tmRpc: "https://stride.rpc.kjnodes.com/",
1657
1657
  },
@@ -1697,7 +1697,7 @@ exports.EmbedChainInfosInit = {
1697
1697
  average: 0.025,
1698
1698
  high: 0.03,
1699
1699
  },
1700
- features: ["ibc-transfer", "ibc-go", "no-legacy-stdTx", "ibc-go"],
1700
+ features: ["ibc-transfer", "ibc-go"],
1701
1701
  explorerUrlToTx: "https://finder.kujira.app/kaiyo-1/tx/{txHash}",
1702
1702
  },
1703
1703
  [ChainIds.Terra2]: {
@@ -4,6 +4,12 @@ export declare enum Network {
4
4
  DevNet = "devnet",
5
5
  LocalHost = "localhost"
6
6
  }
7
+ export declare const CarbonChainIDs: {
8
+ readonly mainnet: "carbon-1";
9
+ readonly testnet: "carbon-testnet-42069";
10
+ readonly devnet: "carbon-devnet-39911";
11
+ readonly localhost: "carbon";
12
+ };
7
13
  export declare const DEFAULT_NETWORK = Network.MainNet;
8
14
  export interface EthNetworkConfig {
9
15
  rpcURL: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NetworkConfigs = exports.DEFAULT_NETWORK = exports.Network = void 0;
3
+ exports.NetworkConfigs = exports.DEFAULT_NETWORK = exports.CarbonChainIDs = exports.Network = void 0;
4
4
  const neon_core_next_1 = require("@cityofzion/neon-core-next");
5
5
  var Network;
6
6
  (function (Network) {
@@ -9,6 +9,12 @@ var Network;
9
9
  Network["DevNet"] = "devnet";
10
10
  Network["LocalHost"] = "localhost";
11
11
  })(Network = exports.Network || (exports.Network = {}));
12
+ exports.CarbonChainIDs = {
13
+ [Network.MainNet]: "carbon-1",
14
+ [Network.TestNet]: "carbon-testnet-42069",
15
+ [Network.DevNet]: "carbon-devnet-39911",
16
+ [Network.LocalHost]: "carbon",
17
+ };
12
18
  exports.DEFAULT_NETWORK = Network.MainNet;
13
19
  exports.NetworkConfigs = {
14
20
  [Network.MainNet]: {
package/lib/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export * as Models from "./codec";
4
4
  export * from "./util";
5
5
  export { Blockchain } from "./util/blockchain";
6
6
  export * from "./websocket";
7
- export { AminoTypesMap, CoinPretty, SDKProvider, KeplrAccount, KeplrWindow, CosmosLedger, Keplr, ChainInfo, EVMChain, MetaMaskChangeNetworkParam, CallContractArgs, MetaMaskSyncResult, MetaMask, EthLedgerAccount, EthLedgerSigner, NeoLedgerAccount, Zilpay, ZilPayChangeNetworkParam, O3Types, O3Wallet } from "./provider";
7
+ export { AminoTypesMap, CoinPretty, SDKProvider, KeplrAccount, KeplrWindow, CosmosLedger, Keplr, ChainInfo, EVMChain, MetaMaskChangeNetworkParam, CallContractArgs, MetaMaskSyncResult, MetaMask, EthLedgerAccount, EthLedgerSigner, NeoLedgerAccount, Zilpay, ZilPayChangeNetworkParam, O3Types, O3Wallet, LeapAccount, Leap } from "./provider";
8
8
  export { default as CarbonSDK } from "./CarbonSDK";
9
9
  export { ProviderAgent } from "./constant";
10
10
  export * as Insights from "./insights";
package/lib/index.js CHANGED
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.CarbonNonSigner = exports.CarbonPrivateKeySigner = exports.CarbonLedgerSigner = exports.Hydrogen = exports.Insights = exports.ProviderAgent = exports.CarbonSDK = exports.O3Wallet = exports.O3Types = exports.Zilpay = exports.NeoLedgerAccount = exports.EthLedgerSigner = exports.EthLedgerAccount = exports.MetaMask = exports.CosmosLedger = exports.KeplrAccount = exports.CoinPretty = exports.AminoTypesMap = exports.Blockchain = exports.Models = void 0;
28
+ exports.CarbonNonSigner = exports.CarbonPrivateKeySigner = exports.CarbonLedgerSigner = exports.Hydrogen = exports.Insights = exports.ProviderAgent = exports.CarbonSDK = exports.LeapAccount = exports.O3Wallet = exports.O3Types = exports.Zilpay = exports.NeoLedgerAccount = exports.EthLedgerSigner = exports.EthLedgerAccount = exports.MetaMask = exports.CosmosLedger = exports.KeplrAccount = exports.CoinPretty = exports.AminoTypesMap = exports.Blockchain = exports.Models = void 0;
29
29
  __exportStar(require("./CarbonSDK"), exports);
30
30
  __exportStar(require("./modules"), exports);
31
31
  exports.Models = __importStar(require("./codec"));
@@ -45,6 +45,7 @@ Object.defineProperty(exports, "NeoLedgerAccount", { enumerable: true, get: func
45
45
  Object.defineProperty(exports, "Zilpay", { enumerable: true, get: function () { return provider_1.Zilpay; } });
46
46
  Object.defineProperty(exports, "O3Types", { enumerable: true, get: function () { return provider_1.O3Types; } });
47
47
  Object.defineProperty(exports, "O3Wallet", { enumerable: true, get: function () { return provider_1.O3Wallet; } });
48
+ Object.defineProperty(exports, "LeapAccount", { enumerable: true, get: function () { return provider_1.LeapAccount; } });
48
49
  var CarbonSDK_1 = require("./CarbonSDK");
49
50
  Object.defineProperty(exports, "CarbonSDK", { enumerable: true, get: function () { return __importDefault(CarbonSDK_1).default; } });
50
51
  var constant_1 = require("./constant");