@circle-fin/bridge-kit 1.3.0 → 1.5.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.
- package/CHANGELOG.md +14 -0
- package/QUICKSTART.md +3 -3
- package/README.md +57 -20
- package/chains.cjs +91 -2
- package/chains.d.ts +87 -3
- package/chains.mjs +90 -3
- package/index.cjs +225 -14
- package/index.d.ts +2380 -11
- package/index.mjs +225 -14
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
import { Abi } from 'abitype';
|
|
20
|
-
import { TransactionInstruction, Signer } from '@solana/web3.js';
|
|
20
|
+
import { TransactionInstruction, Signer, AddressLookupTableAccount } from '@solana/web3.js';
|
|
21
21
|
import { CCTPV2BridgingProvider } from '@circle-fin/provider-cctp-v2';
|
|
22
22
|
import { z } from '/home/runner/_work/stablecoin-kits-private/stablecoin-kits-private/kits/bridge-kit/node_modules/zod/dist/types/index.d.ts';
|
|
23
23
|
|
|
@@ -437,6 +437,8 @@ declare enum Blockchain {
|
|
|
437
437
|
Ink_Testnet = "Ink_Testnet",
|
|
438
438
|
Linea = "Linea",
|
|
439
439
|
Linea_Sepolia = "Linea_Sepolia",
|
|
440
|
+
Monad = "Monad",
|
|
441
|
+
Monad_Testnet = "Monad_Testnet",
|
|
440
442
|
NEAR = "NEAR",
|
|
441
443
|
NEAR_Testnet = "NEAR_Testnet",
|
|
442
444
|
Noble = "Noble",
|
|
@@ -523,6 +525,7 @@ declare enum BridgeChain {
|
|
|
523
525
|
HyperEVM = "HyperEVM",
|
|
524
526
|
Ink = "Ink",
|
|
525
527
|
Linea = "Linea",
|
|
528
|
+
Monad = "Monad",
|
|
526
529
|
Optimism = "Optimism",
|
|
527
530
|
Plume = "Plume",
|
|
528
531
|
Polygon = "Polygon",
|
|
@@ -541,6 +544,7 @@ declare enum BridgeChain {
|
|
|
541
544
|
HyperEVM_Testnet = "HyperEVM_Testnet",
|
|
542
545
|
Ink_Testnet = "Ink_Testnet",
|
|
543
546
|
Linea_Sepolia = "Linea_Sepolia",
|
|
547
|
+
Monad_Testnet = "Monad_Testnet",
|
|
544
548
|
Optimism_Sepolia = "Optimism_Sepolia",
|
|
545
549
|
Plume_Testnet = "Plume_Testnet",
|
|
546
550
|
Polygon_Amoy_Testnet = "Polygon_Amoy_Testnet",
|
|
@@ -581,6 +585,2169 @@ declare enum BridgeChain {
|
|
|
581
585
|
*/
|
|
582
586
|
type BridgeChainIdentifier = ChainDefinition | BridgeChain | `${BridgeChain}`;
|
|
583
587
|
|
|
588
|
+
/**
|
|
589
|
+
* Algorand Mainnet chain definition
|
|
590
|
+
* @remarks
|
|
591
|
+
* This represents the official production network for the Algorand blockchain.
|
|
592
|
+
*/
|
|
593
|
+
declare const Algorand: {
|
|
594
|
+
readonly type: "algorand";
|
|
595
|
+
readonly chain: Blockchain.Algorand;
|
|
596
|
+
readonly name: "Algorand";
|
|
597
|
+
readonly title: "Algorand Mainnet";
|
|
598
|
+
readonly nativeCurrency: {
|
|
599
|
+
readonly name: "Algo";
|
|
600
|
+
readonly symbol: "ALGO";
|
|
601
|
+
readonly decimals: 6;
|
|
602
|
+
};
|
|
603
|
+
readonly isTestnet: false;
|
|
604
|
+
readonly explorerUrl: "https://explorer.perawallet.app/tx/{hash}";
|
|
605
|
+
readonly rpcEndpoints: readonly ["https://mainnet-api.algonode.cloud"];
|
|
606
|
+
readonly eurcAddress: null;
|
|
607
|
+
readonly usdcAddress: "31566704";
|
|
608
|
+
readonly cctp: null;
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Algorand Testnet chain definition
|
|
613
|
+
* @remarks
|
|
614
|
+
* This represents the official testnet for the Algorand blockchain.
|
|
615
|
+
*/
|
|
616
|
+
declare const AlgorandTestnet: {
|
|
617
|
+
readonly type: "algorand";
|
|
618
|
+
readonly chain: Blockchain.Algorand_Testnet;
|
|
619
|
+
readonly name: "Algorand Testnet";
|
|
620
|
+
readonly title: "Algorand Test Network";
|
|
621
|
+
readonly nativeCurrency: {
|
|
622
|
+
readonly name: "Algo";
|
|
623
|
+
readonly symbol: "ALGO";
|
|
624
|
+
readonly decimals: 6;
|
|
625
|
+
};
|
|
626
|
+
readonly isTestnet: true;
|
|
627
|
+
readonly explorerUrl: "https://testnet.explorer.perawallet.app/tx/{hash}";
|
|
628
|
+
readonly rpcEndpoints: readonly ["https://testnet-api.algonode.cloud"];
|
|
629
|
+
readonly eurcAddress: null;
|
|
630
|
+
readonly usdcAddress: "10458941";
|
|
631
|
+
readonly cctp: null;
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Aptos Mainnet chain definition
|
|
636
|
+
* @remarks
|
|
637
|
+
* This represents the official production network for the Aptos blockchain.
|
|
638
|
+
*/
|
|
639
|
+
declare const Aptos: {
|
|
640
|
+
readonly type: "aptos";
|
|
641
|
+
readonly chain: Blockchain.Aptos;
|
|
642
|
+
readonly name: "Aptos";
|
|
643
|
+
readonly title: "Aptos Mainnet";
|
|
644
|
+
readonly nativeCurrency: {
|
|
645
|
+
readonly name: "Aptos";
|
|
646
|
+
readonly symbol: "APT";
|
|
647
|
+
readonly decimals: 8;
|
|
648
|
+
};
|
|
649
|
+
readonly isTestnet: false;
|
|
650
|
+
readonly explorerUrl: "https://explorer.aptoslabs.com/txn/{hash}?network=mainnet";
|
|
651
|
+
readonly rpcEndpoints: readonly ["https://fullnode.mainnet.aptoslabs.com/v1"];
|
|
652
|
+
readonly eurcAddress: null;
|
|
653
|
+
readonly usdcAddress: "0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b";
|
|
654
|
+
readonly cctp: {
|
|
655
|
+
readonly domain: 9;
|
|
656
|
+
readonly contracts: {
|
|
657
|
+
readonly v1: {
|
|
658
|
+
readonly type: "split";
|
|
659
|
+
readonly tokenMessenger: "0x9bce6734f7b63e835108e3bd8c36743d4709fe435f44791918801d0989640a9d";
|
|
660
|
+
readonly messageTransmitter: "0x177e17751820e4b4371873ca8c30279be63bdea63b88ed0f2239c2eea10f1772";
|
|
661
|
+
readonly confirmations: 1;
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Aptos Testnet chain definition
|
|
669
|
+
* @remarks
|
|
670
|
+
* This represents the official test network for the Aptos blockchain.
|
|
671
|
+
*/
|
|
672
|
+
declare const AptosTestnet: {
|
|
673
|
+
readonly type: "aptos";
|
|
674
|
+
readonly chain: Blockchain.Aptos_Testnet;
|
|
675
|
+
readonly name: "Aptos Testnet";
|
|
676
|
+
readonly title: "Aptos Test Network";
|
|
677
|
+
readonly nativeCurrency: {
|
|
678
|
+
readonly name: "Aptos";
|
|
679
|
+
readonly symbol: "APT";
|
|
680
|
+
readonly decimals: 8;
|
|
681
|
+
};
|
|
682
|
+
readonly isTestnet: true;
|
|
683
|
+
readonly explorerUrl: "https://explorer.aptoslabs.com/txn/{hash}?network=testnet";
|
|
684
|
+
readonly rpcEndpoints: readonly ["https://fullnode.testnet.aptoslabs.com/v1"];
|
|
685
|
+
readonly eurcAddress: null;
|
|
686
|
+
readonly usdcAddress: "0x69091fbab5f7d635ee7ac5098cf0c1efbe31d68fec0f2cd565e8d168daf52832";
|
|
687
|
+
readonly cctp: {
|
|
688
|
+
readonly domain: 9;
|
|
689
|
+
readonly contracts: {
|
|
690
|
+
readonly v1: {
|
|
691
|
+
readonly type: "split";
|
|
692
|
+
readonly tokenMessenger: "0x5f9b937419dda90aa06c1836b7847f65bbbe3f1217567758dc2488be31a477b9";
|
|
693
|
+
readonly messageTransmitter: "0x081e86cebf457a0c6004f35bd648a2794698f52e0dde09a48619dcd3d4cc23d9";
|
|
694
|
+
readonly confirmations: 1;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Arc Testnet chain definition
|
|
702
|
+
* @remarks
|
|
703
|
+
* This represents the test network for the Arc blockchain,
|
|
704
|
+
* Circle's EVM-compatible Layer-1 designed for stablecoin finance
|
|
705
|
+
* and asset tokenization. Arc uses USDC as the native gas token and
|
|
706
|
+
* features the Malachite Byzantine Fault Tolerant (BFT) consensus
|
|
707
|
+
* engine for sub-second finality.
|
|
708
|
+
*/
|
|
709
|
+
declare const ArcTestnet: {
|
|
710
|
+
readonly type: "evm";
|
|
711
|
+
readonly chain: Blockchain.Arc_Testnet;
|
|
712
|
+
readonly name: "Arc Testnet";
|
|
713
|
+
readonly title: "ArcTestnet";
|
|
714
|
+
readonly nativeCurrency: {
|
|
715
|
+
readonly name: "USDC";
|
|
716
|
+
readonly symbol: "USDC";
|
|
717
|
+
readonly decimals: 18;
|
|
718
|
+
};
|
|
719
|
+
readonly chainId: 5042002;
|
|
720
|
+
readonly isTestnet: true;
|
|
721
|
+
readonly explorerUrl: "https://testnet.arcscan.app/tx/{hash}";
|
|
722
|
+
readonly rpcEndpoints: readonly ["https://rpc.testnet.arc.network/"];
|
|
723
|
+
readonly eurcAddress: "0x89B50855Aa3bE2F677cD6303Cec089B5F319D72a";
|
|
724
|
+
readonly usdcAddress: "0x3600000000000000000000000000000000000000";
|
|
725
|
+
readonly cctp: {
|
|
726
|
+
readonly domain: 26;
|
|
727
|
+
readonly contracts: {
|
|
728
|
+
readonly v2: {
|
|
729
|
+
readonly type: "split";
|
|
730
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
731
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
732
|
+
readonly confirmations: 1;
|
|
733
|
+
readonly fastConfirmations: 1;
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
readonly kitContracts: {
|
|
738
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Arbitrum Mainnet chain definition
|
|
744
|
+
* @remarks
|
|
745
|
+
* This represents the official production network for the Arbitrum blockchain.
|
|
746
|
+
*/
|
|
747
|
+
declare const Arbitrum: {
|
|
748
|
+
readonly type: "evm";
|
|
749
|
+
readonly chain: Blockchain.Arbitrum;
|
|
750
|
+
readonly name: "Arbitrum";
|
|
751
|
+
readonly title: "Arbitrum Mainnet";
|
|
752
|
+
readonly nativeCurrency: {
|
|
753
|
+
readonly name: "Ether";
|
|
754
|
+
readonly symbol: "ETH";
|
|
755
|
+
readonly decimals: 18;
|
|
756
|
+
};
|
|
757
|
+
readonly chainId: 42161;
|
|
758
|
+
readonly isTestnet: false;
|
|
759
|
+
readonly explorerUrl: "https://arbiscan.io/tx/{hash}";
|
|
760
|
+
readonly rpcEndpoints: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
761
|
+
readonly eurcAddress: null;
|
|
762
|
+
readonly usdcAddress: "0xaf88d065e77c8cc2239327c5edb3a432268e5831";
|
|
763
|
+
readonly cctp: {
|
|
764
|
+
readonly domain: 3;
|
|
765
|
+
readonly contracts: {
|
|
766
|
+
readonly v1: {
|
|
767
|
+
readonly type: "split";
|
|
768
|
+
readonly tokenMessenger: "0x19330d10D9Cc8751218eaf51E8885D058642E08A";
|
|
769
|
+
readonly messageTransmitter: "0xC30362313FBBA5cf9163F0bb16a0e01f01A896ca";
|
|
770
|
+
readonly confirmations: 65;
|
|
771
|
+
};
|
|
772
|
+
readonly v2: {
|
|
773
|
+
readonly type: "split";
|
|
774
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
775
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
776
|
+
readonly confirmations: 65;
|
|
777
|
+
readonly fastConfirmations: 1;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
readonly kitContracts: {
|
|
782
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Arbitrum Sepolia Testnet chain definition
|
|
788
|
+
* @remarks
|
|
789
|
+
* This represents the official test network for the Arbitrum blockchain on Sepolia.
|
|
790
|
+
*/
|
|
791
|
+
declare const ArbitrumSepolia: {
|
|
792
|
+
readonly type: "evm";
|
|
793
|
+
readonly chain: Blockchain.Arbitrum_Sepolia;
|
|
794
|
+
readonly name: "Arbitrum Sepolia";
|
|
795
|
+
readonly title: "Arbitrum Sepolia Testnet";
|
|
796
|
+
readonly nativeCurrency: {
|
|
797
|
+
readonly name: "Sepolia Ether";
|
|
798
|
+
readonly symbol: "ETH";
|
|
799
|
+
readonly decimals: 18;
|
|
800
|
+
};
|
|
801
|
+
readonly chainId: 421614;
|
|
802
|
+
readonly isTestnet: true;
|
|
803
|
+
readonly explorerUrl: "https://sepolia.arbiscan.io/tx/{hash}";
|
|
804
|
+
readonly rpcEndpoints: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
805
|
+
readonly eurcAddress: null;
|
|
806
|
+
readonly usdcAddress: "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d";
|
|
807
|
+
readonly cctp: {
|
|
808
|
+
readonly domain: 3;
|
|
809
|
+
readonly contracts: {
|
|
810
|
+
readonly v1: {
|
|
811
|
+
readonly type: "split";
|
|
812
|
+
readonly tokenMessenger: "0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5";
|
|
813
|
+
readonly messageTransmitter: "0xaCF1ceeF35caAc005e15888dDb8A3515C41B4872";
|
|
814
|
+
readonly confirmations: 65;
|
|
815
|
+
};
|
|
816
|
+
readonly v2: {
|
|
817
|
+
readonly type: "split";
|
|
818
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
819
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
820
|
+
readonly confirmations: 65;
|
|
821
|
+
readonly fastConfirmations: 1;
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
};
|
|
825
|
+
readonly kitContracts: {
|
|
826
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Avalanche Mainnet chain definition
|
|
832
|
+
* @remarks
|
|
833
|
+
* This represents the official production network for the Avalanche blockchain.
|
|
834
|
+
*/
|
|
835
|
+
declare const Avalanche: {
|
|
836
|
+
readonly type: "evm";
|
|
837
|
+
readonly chain: Blockchain.Avalanche;
|
|
838
|
+
readonly name: "Avalanche";
|
|
839
|
+
readonly title: "Avalanche Mainnet";
|
|
840
|
+
readonly nativeCurrency: {
|
|
841
|
+
readonly name: "Avalanche";
|
|
842
|
+
readonly symbol: "AVAX";
|
|
843
|
+
readonly decimals: 18;
|
|
844
|
+
};
|
|
845
|
+
readonly chainId: 43114;
|
|
846
|
+
readonly isTestnet: false;
|
|
847
|
+
readonly explorerUrl: "https://subnets.avax.network/c-chain/tx/{hash}";
|
|
848
|
+
readonly rpcEndpoints: readonly ["https://api.avax.network/ext/bc/C/rpc"];
|
|
849
|
+
readonly eurcAddress: "0xc891eb4cbdeff6e073e859e987815ed1505c2acd";
|
|
850
|
+
readonly usdcAddress: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
|
|
851
|
+
readonly cctp: {
|
|
852
|
+
readonly domain: 1;
|
|
853
|
+
readonly contracts: {
|
|
854
|
+
readonly v1: {
|
|
855
|
+
readonly type: "split";
|
|
856
|
+
readonly tokenMessenger: "0x6b25532e1060ce10cc3b0a99e5683b91bfde6982";
|
|
857
|
+
readonly messageTransmitter: "0x8186359af5f57fbb40c6b14a588d2a59c0c29880";
|
|
858
|
+
readonly confirmations: 1;
|
|
859
|
+
};
|
|
860
|
+
readonly v2: {
|
|
861
|
+
readonly type: "split";
|
|
862
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
863
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
864
|
+
readonly confirmations: 1;
|
|
865
|
+
readonly fastConfirmations: 1;
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
readonly kitContracts: {
|
|
870
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* Avalanche Fuji Testnet chain definition
|
|
876
|
+
* @remarks
|
|
877
|
+
* This represents the official test network for the Avalanche blockchain.
|
|
878
|
+
*/
|
|
879
|
+
declare const AvalancheFuji: {
|
|
880
|
+
readonly type: "evm";
|
|
881
|
+
readonly chain: Blockchain.Avalanche_Fuji;
|
|
882
|
+
readonly name: "Avalanche Fuji";
|
|
883
|
+
readonly title: "Avalanche Fuji Testnet";
|
|
884
|
+
readonly nativeCurrency: {
|
|
885
|
+
readonly name: "Avalanche";
|
|
886
|
+
readonly symbol: "AVAX";
|
|
887
|
+
readonly decimals: 18;
|
|
888
|
+
};
|
|
889
|
+
readonly chainId: 43113;
|
|
890
|
+
readonly isTestnet: true;
|
|
891
|
+
readonly explorerUrl: "https://subnets-test.avax.network/c-chain/tx/{hash}";
|
|
892
|
+
readonly eurcAddress: "0x5e44db7996c682e92a960b65ac713a54ad815c6b";
|
|
893
|
+
readonly usdcAddress: "0x5425890298aed601595a70ab815c96711a31bc65";
|
|
894
|
+
readonly cctp: {
|
|
895
|
+
readonly domain: 1;
|
|
896
|
+
readonly contracts: {
|
|
897
|
+
readonly v1: {
|
|
898
|
+
readonly type: "split";
|
|
899
|
+
readonly tokenMessenger: "0xeb08f243e5d3fcff26a9e38ae5520a669f4019d0";
|
|
900
|
+
readonly messageTransmitter: "0xa9fb1b3009dcb79e2fe346c16a604b8fa8ae0a79";
|
|
901
|
+
readonly confirmations: 1;
|
|
902
|
+
};
|
|
903
|
+
readonly v2: {
|
|
904
|
+
readonly type: "split";
|
|
905
|
+
readonly tokenMessenger: "0x8fe6b999dc680ccfdd5bf7eb0974218be2542daa";
|
|
906
|
+
readonly messageTransmitter: "0xe737e5cebeeba77efe34d4aa090756590b1ce275";
|
|
907
|
+
readonly confirmations: 1;
|
|
908
|
+
readonly fastConfirmations: 1;
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
readonly rpcEndpoints: readonly ["https://api.avax-test.network/ext/bc/C/rpc"];
|
|
913
|
+
readonly kitContracts: {
|
|
914
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Base chain definition
|
|
920
|
+
* @remarks
|
|
921
|
+
* This represents the official production network for the Base blockchain.
|
|
922
|
+
*/
|
|
923
|
+
declare const Base: {
|
|
924
|
+
readonly type: "evm";
|
|
925
|
+
readonly chain: Blockchain.Base;
|
|
926
|
+
readonly name: "Base";
|
|
927
|
+
readonly title: "Base Mainnet";
|
|
928
|
+
readonly nativeCurrency: {
|
|
929
|
+
readonly name: "Ether";
|
|
930
|
+
readonly symbol: "ETH";
|
|
931
|
+
readonly decimals: 18;
|
|
932
|
+
};
|
|
933
|
+
readonly chainId: 8453;
|
|
934
|
+
readonly isTestnet: false;
|
|
935
|
+
readonly explorerUrl: "https://basescan.org/tx/{hash}";
|
|
936
|
+
readonly rpcEndpoints: readonly ["https://mainnet.base.org", "https://base.publicnode.com"];
|
|
937
|
+
readonly eurcAddress: "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42";
|
|
938
|
+
readonly usdcAddress: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
939
|
+
readonly cctp: {
|
|
940
|
+
readonly domain: 6;
|
|
941
|
+
readonly contracts: {
|
|
942
|
+
readonly v1: {
|
|
943
|
+
readonly type: "split";
|
|
944
|
+
readonly tokenMessenger: "0x1682Ae6375C4E4A97e4B583BC394c861A46D8962";
|
|
945
|
+
readonly messageTransmitter: "0xAD09780d193884d503182aD4588450C416D6F9D4";
|
|
946
|
+
readonly confirmations: 65;
|
|
947
|
+
};
|
|
948
|
+
readonly v2: {
|
|
949
|
+
readonly type: "split";
|
|
950
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
951
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
952
|
+
readonly confirmations: 65;
|
|
953
|
+
readonly fastConfirmations: 1;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
readonly kitContracts: {
|
|
958
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Base Sepolia Testnet chain definition
|
|
964
|
+
* @remarks
|
|
965
|
+
* This represents the official test network for the Base blockchain on Sepolia.
|
|
966
|
+
*/
|
|
967
|
+
declare const BaseSepolia: {
|
|
968
|
+
readonly type: "evm";
|
|
969
|
+
readonly chain: Blockchain.Base_Sepolia;
|
|
970
|
+
readonly name: "Base Sepolia";
|
|
971
|
+
readonly title: "Base Sepolia Testnet";
|
|
972
|
+
readonly nativeCurrency: {
|
|
973
|
+
readonly name: "Sepolia Ether";
|
|
974
|
+
readonly symbol: "ETH";
|
|
975
|
+
readonly decimals: 18;
|
|
976
|
+
};
|
|
977
|
+
readonly chainId: 84532;
|
|
978
|
+
readonly isTestnet: true;
|
|
979
|
+
readonly explorerUrl: "https://sepolia.basescan.org/tx/{hash}";
|
|
980
|
+
readonly rpcEndpoints: readonly ["https://sepolia.base.org"];
|
|
981
|
+
readonly eurcAddress: "0x808456652fdb597867f38412077A9182bf77359F";
|
|
982
|
+
readonly usdcAddress: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
983
|
+
readonly cctp: {
|
|
984
|
+
readonly domain: 6;
|
|
985
|
+
readonly contracts: {
|
|
986
|
+
readonly v1: {
|
|
987
|
+
readonly type: "split";
|
|
988
|
+
readonly tokenMessenger: "0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5";
|
|
989
|
+
readonly messageTransmitter: "0x7865fAfC2db2093669d92c0F33AeEF291086BEFD";
|
|
990
|
+
readonly confirmations: 65;
|
|
991
|
+
};
|
|
992
|
+
readonly v2: {
|
|
993
|
+
readonly type: "split";
|
|
994
|
+
readonly tokenMessenger: "0x8fe6b999dc680ccfdd5bf7eb0974218be2542daa";
|
|
995
|
+
readonly messageTransmitter: "0xe737e5cebeeba77efe34d4aa090756590b1ce275";
|
|
996
|
+
readonly confirmations: 65;
|
|
997
|
+
readonly fastConfirmations: 1;
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
readonly kitContracts: {
|
|
1002
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* Celo Mainnet chain definition
|
|
1008
|
+
* @remarks
|
|
1009
|
+
* This represents the official production network for the Celo blockchain.
|
|
1010
|
+
*/
|
|
1011
|
+
declare const Celo: {
|
|
1012
|
+
readonly type: "evm";
|
|
1013
|
+
readonly chain: Blockchain.Celo;
|
|
1014
|
+
readonly name: "Celo";
|
|
1015
|
+
readonly title: "Celo Mainnet";
|
|
1016
|
+
readonly nativeCurrency: {
|
|
1017
|
+
readonly name: "Celo";
|
|
1018
|
+
readonly symbol: "CELO";
|
|
1019
|
+
readonly decimals: 18;
|
|
1020
|
+
};
|
|
1021
|
+
readonly chainId: 42220;
|
|
1022
|
+
readonly isTestnet: false;
|
|
1023
|
+
readonly explorerUrl: "https://celoscan.io/tx/{hash}";
|
|
1024
|
+
readonly rpcEndpoints: readonly ["https://forno.celo.org"];
|
|
1025
|
+
readonly eurcAddress: null;
|
|
1026
|
+
readonly usdcAddress: "0xcebA9300f2b948710d2653dD7B07f33A8B32118C";
|
|
1027
|
+
readonly cctp: null;
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Celo Alfajores Testnet chain definition
|
|
1032
|
+
* @remarks
|
|
1033
|
+
* This represents the official test network for the Celo blockchain.
|
|
1034
|
+
*/
|
|
1035
|
+
declare const CeloAlfajoresTestnet: {
|
|
1036
|
+
readonly type: "evm";
|
|
1037
|
+
readonly chain: Blockchain.Celo_Alfajores_Testnet;
|
|
1038
|
+
readonly name: "Celo Alfajores";
|
|
1039
|
+
readonly title: "Celo Alfajores Testnet";
|
|
1040
|
+
readonly nativeCurrency: {
|
|
1041
|
+
readonly name: "Celo";
|
|
1042
|
+
readonly symbol: "CELO";
|
|
1043
|
+
readonly decimals: 18;
|
|
1044
|
+
};
|
|
1045
|
+
readonly chainId: 44787;
|
|
1046
|
+
readonly isTestnet: true;
|
|
1047
|
+
readonly explorerUrl: "https://alfajores.celoscan.io/tx/{hash}";
|
|
1048
|
+
readonly rpcEndpoints: readonly ["https://alfajores-forno.celo-testnet.org"];
|
|
1049
|
+
readonly eurcAddress: null;
|
|
1050
|
+
readonly usdcAddress: "0x2F25deB3848C207fc8E0c34035B3Ba7fC157602B";
|
|
1051
|
+
readonly cctp: null;
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Codex Mainnet chain definition
|
|
1056
|
+
* @remarks
|
|
1057
|
+
* This represents the main network for the Codex blockchain.
|
|
1058
|
+
*/
|
|
1059
|
+
declare const Codex: {
|
|
1060
|
+
readonly type: "evm";
|
|
1061
|
+
readonly chain: Blockchain.Codex;
|
|
1062
|
+
readonly name: "Codex Mainnet";
|
|
1063
|
+
readonly title: "Codex Mainnet";
|
|
1064
|
+
readonly nativeCurrency: {
|
|
1065
|
+
readonly name: "ETH";
|
|
1066
|
+
readonly symbol: "ETH";
|
|
1067
|
+
readonly decimals: 18;
|
|
1068
|
+
};
|
|
1069
|
+
readonly chainId: 81224;
|
|
1070
|
+
readonly isTestnet: false;
|
|
1071
|
+
readonly explorerUrl: "https://explorer.codex.xyz/tx/{hash}";
|
|
1072
|
+
readonly rpcEndpoints: readonly ["https://rpc.codex.xyz"];
|
|
1073
|
+
readonly eurcAddress: null;
|
|
1074
|
+
readonly usdcAddress: "0xd996633a415985DBd7D6D12f4A4343E31f5037cf";
|
|
1075
|
+
readonly cctp: {
|
|
1076
|
+
readonly domain: 12;
|
|
1077
|
+
readonly contracts: {
|
|
1078
|
+
readonly v2: {
|
|
1079
|
+
readonly type: "split";
|
|
1080
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1081
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1082
|
+
readonly confirmations: 65;
|
|
1083
|
+
readonly fastConfirmations: 1;
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
};
|
|
1087
|
+
readonly kitContracts: {
|
|
1088
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Codex Testnet chain definition
|
|
1094
|
+
* @remarks
|
|
1095
|
+
* This represents the test network for the Codex blockchain.
|
|
1096
|
+
*/
|
|
1097
|
+
declare const CodexTestnet: {
|
|
1098
|
+
readonly type: "evm";
|
|
1099
|
+
readonly chain: Blockchain.Codex_Testnet;
|
|
1100
|
+
readonly name: "Codex Testnet";
|
|
1101
|
+
readonly title: "Codex Testnet";
|
|
1102
|
+
readonly nativeCurrency: {
|
|
1103
|
+
readonly name: "ETH";
|
|
1104
|
+
readonly symbol: "ETH";
|
|
1105
|
+
readonly decimals: 18;
|
|
1106
|
+
};
|
|
1107
|
+
readonly chainId: 812242;
|
|
1108
|
+
readonly isTestnet: true;
|
|
1109
|
+
readonly explorerUrl: "https://explorer.codex-stg.xyz/tx/{hash}";
|
|
1110
|
+
readonly rpcEndpoints: readonly ["https://rpc.codex-stg.xyz"];
|
|
1111
|
+
readonly eurcAddress: null;
|
|
1112
|
+
readonly usdcAddress: "0x6d7f141b6819C2c9CC2f818e6ad549E7Ca090F8f";
|
|
1113
|
+
readonly cctp: {
|
|
1114
|
+
readonly domain: 12;
|
|
1115
|
+
readonly contracts: {
|
|
1116
|
+
readonly v2: {
|
|
1117
|
+
readonly type: "split";
|
|
1118
|
+
readonly tokenMessenger: "0x8fe6b999dc680ccfdd5bf7eb0974218be2542daa";
|
|
1119
|
+
readonly messageTransmitter: "0xe737e5cebeeba77efe34d4aa090756590b1ce275";
|
|
1120
|
+
readonly confirmations: 65;
|
|
1121
|
+
readonly fastConfirmations: 1;
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
};
|
|
1125
|
+
readonly kitContracts: {
|
|
1126
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* Ethereum Mainnet chain definition
|
|
1132
|
+
* @remarks
|
|
1133
|
+
* This represents the official production network for the Ethereum blockchain.
|
|
1134
|
+
*/
|
|
1135
|
+
declare const Ethereum: {
|
|
1136
|
+
readonly type: "evm";
|
|
1137
|
+
readonly chain: Blockchain.Ethereum;
|
|
1138
|
+
readonly name: "Ethereum";
|
|
1139
|
+
readonly title: "Ethereum Mainnet";
|
|
1140
|
+
readonly nativeCurrency: {
|
|
1141
|
+
readonly name: "Ether";
|
|
1142
|
+
readonly symbol: "ETH";
|
|
1143
|
+
readonly decimals: 18;
|
|
1144
|
+
};
|
|
1145
|
+
readonly chainId: 1;
|
|
1146
|
+
readonly isTestnet: false;
|
|
1147
|
+
readonly explorerUrl: "https://etherscan.io/tx/{hash}";
|
|
1148
|
+
readonly rpcEndpoints: readonly ["https://eth.merkle.io", "https://ethereum.publicnode.com"];
|
|
1149
|
+
readonly eurcAddress: "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c";
|
|
1150
|
+
readonly usdcAddress: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48";
|
|
1151
|
+
readonly cctp: {
|
|
1152
|
+
readonly domain: 0;
|
|
1153
|
+
readonly contracts: {
|
|
1154
|
+
readonly v1: {
|
|
1155
|
+
readonly type: "split";
|
|
1156
|
+
readonly tokenMessenger: "0xbd3fa81b58ba92a82136038b25adec7066af3155";
|
|
1157
|
+
readonly messageTransmitter: "0x0a992d191deec32afe36203ad87d7d289a738f81";
|
|
1158
|
+
readonly confirmations: 65;
|
|
1159
|
+
};
|
|
1160
|
+
readonly v2: {
|
|
1161
|
+
readonly type: "split";
|
|
1162
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1163
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1164
|
+
readonly confirmations: 65;
|
|
1165
|
+
readonly fastConfirmations: 2;
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
readonly kitContracts: {
|
|
1170
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Ethereum Sepolia Testnet chain definition
|
|
1176
|
+
* @remarks
|
|
1177
|
+
* This represents the official test network for the Ethereum blockchain on Sepolia.
|
|
1178
|
+
*/
|
|
1179
|
+
declare const EthereumSepolia: {
|
|
1180
|
+
readonly type: "evm";
|
|
1181
|
+
readonly chain: Blockchain.Ethereum_Sepolia;
|
|
1182
|
+
readonly name: "Ethereum Sepolia";
|
|
1183
|
+
readonly title: "Ethereum Sepolia Testnet";
|
|
1184
|
+
readonly nativeCurrency: {
|
|
1185
|
+
readonly name: "Sepolia Ether";
|
|
1186
|
+
readonly symbol: "ETH";
|
|
1187
|
+
readonly decimals: 18;
|
|
1188
|
+
};
|
|
1189
|
+
readonly chainId: 11155111;
|
|
1190
|
+
readonly isTestnet: true;
|
|
1191
|
+
readonly explorerUrl: "https://sepolia.etherscan.io/tx/{hash}";
|
|
1192
|
+
readonly rpcEndpoints: readonly ["https://sepolia.drpc.org"];
|
|
1193
|
+
readonly eurcAddress: "0x08210F9170F89Ab7658F0B5E3fF39b0E03C594D4";
|
|
1194
|
+
readonly usdcAddress: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238";
|
|
1195
|
+
readonly cctp: {
|
|
1196
|
+
readonly domain: 0;
|
|
1197
|
+
readonly contracts: {
|
|
1198
|
+
readonly v1: {
|
|
1199
|
+
readonly type: "split";
|
|
1200
|
+
readonly tokenMessenger: "0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5";
|
|
1201
|
+
readonly messageTransmitter: "0x7865fAfC2db2093669d92c0F33AeEF291086BEFD";
|
|
1202
|
+
readonly confirmations: 65;
|
|
1203
|
+
};
|
|
1204
|
+
readonly v2: {
|
|
1205
|
+
readonly type: "split";
|
|
1206
|
+
readonly tokenMessenger: "0x8fe6b999dc680ccfdd5bf7eb0974218be2542daa";
|
|
1207
|
+
readonly messageTransmitter: "0xe737e5cebeeba77efe34d4aa090756590b1ce275";
|
|
1208
|
+
readonly confirmations: 65;
|
|
1209
|
+
readonly fastConfirmations: 2;
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
readonly kitContracts: {
|
|
1214
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* Hedera Mainnet chain definition
|
|
1220
|
+
* @remarks
|
|
1221
|
+
* This represents the official production network for the Hedera blockchain.
|
|
1222
|
+
*/
|
|
1223
|
+
declare const Hedera: {
|
|
1224
|
+
readonly type: "hedera";
|
|
1225
|
+
readonly chain: Blockchain.Hedera;
|
|
1226
|
+
readonly name: "Hedera";
|
|
1227
|
+
readonly title: "Hedera Mainnet";
|
|
1228
|
+
readonly nativeCurrency: {
|
|
1229
|
+
readonly name: "HBAR";
|
|
1230
|
+
readonly symbol: "HBAR";
|
|
1231
|
+
readonly decimals: 18;
|
|
1232
|
+
};
|
|
1233
|
+
readonly isTestnet: false;
|
|
1234
|
+
readonly explorerUrl: "https://hashscan.io/mainnet/transaction/{hash}";
|
|
1235
|
+
readonly rpcEndpoints: readonly ["https://mainnet.hashio.io/api"];
|
|
1236
|
+
readonly eurcAddress: null;
|
|
1237
|
+
readonly usdcAddress: "0.0.456858";
|
|
1238
|
+
readonly cctp: null;
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* Hedera Testnet chain definition
|
|
1243
|
+
* @remarks
|
|
1244
|
+
* This represents the official test network for the Hedera blockchain.
|
|
1245
|
+
*/
|
|
1246
|
+
declare const HederaTestnet: {
|
|
1247
|
+
readonly type: "hedera";
|
|
1248
|
+
readonly chain: Blockchain.Hedera_Testnet;
|
|
1249
|
+
readonly name: "Hedera Testnet";
|
|
1250
|
+
readonly title: "Hedera Test Network";
|
|
1251
|
+
readonly nativeCurrency: {
|
|
1252
|
+
readonly name: "HBAR";
|
|
1253
|
+
readonly symbol: "HBAR";
|
|
1254
|
+
readonly decimals: 18;
|
|
1255
|
+
};
|
|
1256
|
+
readonly isTestnet: true;
|
|
1257
|
+
readonly explorerUrl: "https://hashscan.io/testnet/transaction/{hash}";
|
|
1258
|
+
readonly rpcEndpoints: readonly ["https://testnet.hashio.io/api"];
|
|
1259
|
+
readonly eurcAddress: null;
|
|
1260
|
+
readonly usdcAddress: "0.0.429274";
|
|
1261
|
+
readonly cctp: null;
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* HyperEVM Mainnet chain definition
|
|
1266
|
+
* @remarks
|
|
1267
|
+
* This represents the official production network for the HyperEVM blockchain.
|
|
1268
|
+
* HyperEVM is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
1269
|
+
* with native orderbook and matching engine.
|
|
1270
|
+
*/
|
|
1271
|
+
declare const HyperEVM: {
|
|
1272
|
+
readonly type: "evm";
|
|
1273
|
+
readonly chain: Blockchain.HyperEVM;
|
|
1274
|
+
readonly name: "HyperEVM";
|
|
1275
|
+
readonly title: "HyperEVM Mainnet";
|
|
1276
|
+
readonly nativeCurrency: {
|
|
1277
|
+
readonly name: "Hype";
|
|
1278
|
+
readonly symbol: "HYPE";
|
|
1279
|
+
readonly decimals: 18;
|
|
1280
|
+
};
|
|
1281
|
+
readonly chainId: 999;
|
|
1282
|
+
readonly isTestnet: false;
|
|
1283
|
+
readonly explorerUrl: "https://hyperevmscan.io/tx/{hash}";
|
|
1284
|
+
readonly rpcEndpoints: readonly ["https://rpc.hyperliquid.xyz/evm"];
|
|
1285
|
+
readonly eurcAddress: null;
|
|
1286
|
+
readonly usdcAddress: "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
|
|
1287
|
+
readonly cctp: {
|
|
1288
|
+
readonly domain: 19;
|
|
1289
|
+
readonly contracts: {
|
|
1290
|
+
readonly v2: {
|
|
1291
|
+
readonly type: "split";
|
|
1292
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1293
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1294
|
+
readonly confirmations: 1;
|
|
1295
|
+
readonly fastConfirmations: 1;
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
};
|
|
1299
|
+
readonly kitContracts: {
|
|
1300
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* HyperEVM Testnet chain definition
|
|
1306
|
+
* @remarks
|
|
1307
|
+
* This represents the official testnet for the HyperEVM blockchain.
|
|
1308
|
+
* Used for development and testing purposes before deploying to mainnet.
|
|
1309
|
+
*/
|
|
1310
|
+
declare const HyperEVMTestnet: {
|
|
1311
|
+
readonly type: "evm";
|
|
1312
|
+
readonly chain: Blockchain.HyperEVM_Testnet;
|
|
1313
|
+
readonly name: "HyperEVM Testnet";
|
|
1314
|
+
readonly title: "HyperEVM Test Network";
|
|
1315
|
+
readonly nativeCurrency: {
|
|
1316
|
+
readonly name: "Hype";
|
|
1317
|
+
readonly symbol: "HYPE";
|
|
1318
|
+
readonly decimals: 18;
|
|
1319
|
+
};
|
|
1320
|
+
readonly chainId: 998;
|
|
1321
|
+
readonly isTestnet: true;
|
|
1322
|
+
readonly explorerUrl: "https://testnet.hyperliquid.xyz/explorer/tx/{hash}";
|
|
1323
|
+
readonly rpcEndpoints: readonly ["https://rpc.hyperliquid-testnet.xyz/evm"];
|
|
1324
|
+
readonly eurcAddress: null;
|
|
1325
|
+
readonly usdcAddress: "0x2B3370eE501B4a559b57D449569354196457D8Ab";
|
|
1326
|
+
readonly cctp: {
|
|
1327
|
+
readonly domain: 19;
|
|
1328
|
+
readonly contracts: {
|
|
1329
|
+
readonly v2: {
|
|
1330
|
+
readonly type: "split";
|
|
1331
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
1332
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
1333
|
+
readonly confirmations: 1;
|
|
1334
|
+
readonly fastConfirmations: 1;
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
};
|
|
1338
|
+
readonly kitContracts: {
|
|
1339
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1340
|
+
};
|
|
1341
|
+
};
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* Ink Mainnet chain definition
|
|
1345
|
+
* @remarks
|
|
1346
|
+
* This represents the official production network for the Ink blockchain.
|
|
1347
|
+
* Ink is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
1348
|
+
* with native orderbook and matching engine.
|
|
1349
|
+
*/
|
|
1350
|
+
declare const Ink: {
|
|
1351
|
+
readonly type: "evm";
|
|
1352
|
+
readonly chain: Blockchain.Ink;
|
|
1353
|
+
readonly name: "Ink";
|
|
1354
|
+
readonly title: "Ink Mainnet";
|
|
1355
|
+
readonly nativeCurrency: {
|
|
1356
|
+
readonly name: "Ether";
|
|
1357
|
+
readonly symbol: "ETH";
|
|
1358
|
+
readonly decimals: 18;
|
|
1359
|
+
};
|
|
1360
|
+
readonly chainId: 57073;
|
|
1361
|
+
readonly isTestnet: false;
|
|
1362
|
+
readonly explorerUrl: "https://explorer.inkonchain.com/tx/{hash}";
|
|
1363
|
+
readonly rpcEndpoints: readonly ["https://rpc-gel.inkonchain.com", "https://rpc-qnd.inkonchain.com"];
|
|
1364
|
+
readonly eurcAddress: null;
|
|
1365
|
+
readonly usdcAddress: "0x2D270e6886d130D724215A266106e6832161EAEd";
|
|
1366
|
+
readonly cctp: {
|
|
1367
|
+
readonly domain: 21;
|
|
1368
|
+
readonly contracts: {
|
|
1369
|
+
readonly v2: {
|
|
1370
|
+
readonly type: "split";
|
|
1371
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1372
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1373
|
+
readonly confirmations: 65;
|
|
1374
|
+
readonly fastConfirmations: 1;
|
|
1375
|
+
};
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
readonly kitContracts: {
|
|
1379
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Ink Testnet chain definition
|
|
1385
|
+
* @remarks
|
|
1386
|
+
* This represents the official testnet for the Ink blockchain.
|
|
1387
|
+
* Used for development and testing purposes before deploying to mainnet.
|
|
1388
|
+
*/
|
|
1389
|
+
declare const InkTestnet: {
|
|
1390
|
+
readonly type: "evm";
|
|
1391
|
+
readonly chain: Blockchain.Ink_Testnet;
|
|
1392
|
+
readonly name: "Ink Sepolia";
|
|
1393
|
+
readonly title: "Ink Sepolia Testnet";
|
|
1394
|
+
readonly nativeCurrency: {
|
|
1395
|
+
readonly name: "Sepolia Ether";
|
|
1396
|
+
readonly symbol: "ETH";
|
|
1397
|
+
readonly decimals: 18;
|
|
1398
|
+
};
|
|
1399
|
+
readonly chainId: 763373;
|
|
1400
|
+
readonly isTestnet: true;
|
|
1401
|
+
readonly explorerUrl: "https://explorer-sepolia.inkonchain.com/tx/{hash}";
|
|
1402
|
+
readonly rpcEndpoints: readonly ["https://rpc-gel-sepolia.inkonchain.com", "https://rpc-qnd-sepolia.inkonchain.com"];
|
|
1403
|
+
readonly eurcAddress: null;
|
|
1404
|
+
readonly usdcAddress: "0xFabab97dCE620294D2B0b0e46C68964e326300Ac";
|
|
1405
|
+
readonly cctp: {
|
|
1406
|
+
readonly domain: 21;
|
|
1407
|
+
readonly contracts: {
|
|
1408
|
+
readonly v2: {
|
|
1409
|
+
readonly type: "split";
|
|
1410
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
1411
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
1412
|
+
readonly confirmations: 65;
|
|
1413
|
+
readonly fastConfirmations: 1;
|
|
1414
|
+
};
|
|
1415
|
+
};
|
|
1416
|
+
};
|
|
1417
|
+
readonly kitContracts: {
|
|
1418
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* Linea Mainnet chain definition
|
|
1424
|
+
* @remarks
|
|
1425
|
+
* This represents the official production network for the Linea blockchain.
|
|
1426
|
+
*/
|
|
1427
|
+
declare const Linea: {
|
|
1428
|
+
readonly type: "evm";
|
|
1429
|
+
readonly chain: Blockchain.Linea;
|
|
1430
|
+
readonly name: "Linea";
|
|
1431
|
+
readonly title: "Linea Mainnet";
|
|
1432
|
+
readonly nativeCurrency: {
|
|
1433
|
+
readonly name: "Ether";
|
|
1434
|
+
readonly symbol: "ETH";
|
|
1435
|
+
readonly decimals: 18;
|
|
1436
|
+
};
|
|
1437
|
+
readonly chainId: 59144;
|
|
1438
|
+
readonly isTestnet: false;
|
|
1439
|
+
readonly explorerUrl: "https://lineascan.build/tx/{hash}";
|
|
1440
|
+
readonly rpcEndpoints: readonly ["https://rpc.linea.build"];
|
|
1441
|
+
readonly eurcAddress: null;
|
|
1442
|
+
readonly usdcAddress: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
1443
|
+
readonly cctp: {
|
|
1444
|
+
readonly domain: 11;
|
|
1445
|
+
readonly contracts: {
|
|
1446
|
+
readonly v2: {
|
|
1447
|
+
readonly type: "split";
|
|
1448
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1449
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1450
|
+
readonly confirmations: 1;
|
|
1451
|
+
readonly fastConfirmations: 1;
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1454
|
+
};
|
|
1455
|
+
readonly kitContracts: {
|
|
1456
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* Linea Sepolia Testnet chain definition
|
|
1462
|
+
* @remarks
|
|
1463
|
+
* This represents the official test network for the Linea blockchain on Sepolia.
|
|
1464
|
+
*/
|
|
1465
|
+
declare const LineaSepolia: {
|
|
1466
|
+
readonly type: "evm";
|
|
1467
|
+
readonly chain: Blockchain.Linea_Sepolia;
|
|
1468
|
+
readonly name: "Linea Sepolia";
|
|
1469
|
+
readonly title: "Linea Sepolia Testnet";
|
|
1470
|
+
readonly nativeCurrency: {
|
|
1471
|
+
readonly name: "Sepolia Ether";
|
|
1472
|
+
readonly symbol: "ETH";
|
|
1473
|
+
readonly decimals: 18;
|
|
1474
|
+
};
|
|
1475
|
+
readonly chainId: 59141;
|
|
1476
|
+
readonly isTestnet: true;
|
|
1477
|
+
readonly explorerUrl: "https://sepolia.lineascan.build/tx/{hash}";
|
|
1478
|
+
readonly rpcEndpoints: readonly ["https://rpc.sepolia.linea.build"];
|
|
1479
|
+
readonly eurcAddress: null;
|
|
1480
|
+
readonly usdcAddress: "0xfece4462d57bd51a6a552365a011b95f0e16d9b7";
|
|
1481
|
+
readonly cctp: {
|
|
1482
|
+
readonly domain: 11;
|
|
1483
|
+
readonly contracts: {
|
|
1484
|
+
readonly v2: {
|
|
1485
|
+
readonly type: "split";
|
|
1486
|
+
readonly tokenMessenger: "0x8fe6b999dc680ccfdd5bf7eb0974218be2542daa";
|
|
1487
|
+
readonly messageTransmitter: "0xe737e5cebeeba77efe34d4aa090756590b1ce275";
|
|
1488
|
+
readonly confirmations: 1;
|
|
1489
|
+
readonly fastConfirmations: 1;
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
};
|
|
1493
|
+
readonly kitContracts: {
|
|
1494
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1495
|
+
};
|
|
1496
|
+
};
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* Monad Mainnet chain definition
|
|
1500
|
+
* @remarks
|
|
1501
|
+
* This represents the official production network for the Monad blockchain.
|
|
1502
|
+
* Monad is a high-performance EVM-compatible Layer-1 blockchain featuring
|
|
1503
|
+
* over 10,000 TPS, sub-second finality, and near-zero gas fees.
|
|
1504
|
+
*/
|
|
1505
|
+
declare const Monad: {
|
|
1506
|
+
readonly type: "evm";
|
|
1507
|
+
readonly chain: Blockchain.Monad;
|
|
1508
|
+
readonly name: "Monad";
|
|
1509
|
+
readonly title: "Monad Mainnet";
|
|
1510
|
+
readonly nativeCurrency: {
|
|
1511
|
+
readonly name: "Monad";
|
|
1512
|
+
readonly symbol: "MON";
|
|
1513
|
+
readonly decimals: 18;
|
|
1514
|
+
};
|
|
1515
|
+
readonly chainId: 143;
|
|
1516
|
+
readonly isTestnet: false;
|
|
1517
|
+
readonly explorerUrl: "https://monadscan.com/tx/{hash}";
|
|
1518
|
+
readonly rpcEndpoints: readonly ["https://rpc.monad.xyz"];
|
|
1519
|
+
readonly eurcAddress: null;
|
|
1520
|
+
readonly usdcAddress: "0x754704Bc059F8C67012fEd69BC8A327a5aafb603";
|
|
1521
|
+
readonly cctp: {
|
|
1522
|
+
readonly domain: 15;
|
|
1523
|
+
readonly contracts: {
|
|
1524
|
+
readonly v2: {
|
|
1525
|
+
readonly type: "split";
|
|
1526
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1527
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1528
|
+
readonly confirmations: 1;
|
|
1529
|
+
readonly fastConfirmations: 1;
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
readonly kitContracts: {
|
|
1534
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1535
|
+
};
|
|
1536
|
+
};
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* Monad Testnet chain definition
|
|
1540
|
+
* @remarks
|
|
1541
|
+
* This represents the official test network for the Monad blockchain.
|
|
1542
|
+
* Monad is a high-performance EVM-compatible Layer-1 blockchain featuring
|
|
1543
|
+
* over 10,000 TPS, sub-second finality, and near-zero gas fees.
|
|
1544
|
+
*/
|
|
1545
|
+
declare const MonadTestnet: {
|
|
1546
|
+
readonly type: "evm";
|
|
1547
|
+
readonly chain: Blockchain.Monad_Testnet;
|
|
1548
|
+
readonly name: "Monad Testnet";
|
|
1549
|
+
readonly title: "Monad Testnet";
|
|
1550
|
+
readonly nativeCurrency: {
|
|
1551
|
+
readonly name: "Monad";
|
|
1552
|
+
readonly symbol: "MON";
|
|
1553
|
+
readonly decimals: 18;
|
|
1554
|
+
};
|
|
1555
|
+
readonly chainId: 10143;
|
|
1556
|
+
readonly isTestnet: true;
|
|
1557
|
+
readonly explorerUrl: "https://testnet.monadscan.com/tx/{hash}";
|
|
1558
|
+
readonly rpcEndpoints: readonly ["https://testnet-rpc.monad.xyz"];
|
|
1559
|
+
readonly eurcAddress: null;
|
|
1560
|
+
readonly usdcAddress: "0x534b2f3A21130d7a60830c2Df862319e593943A3";
|
|
1561
|
+
readonly cctp: {
|
|
1562
|
+
readonly domain: 15;
|
|
1563
|
+
readonly contracts: {
|
|
1564
|
+
readonly v2: {
|
|
1565
|
+
readonly type: "split";
|
|
1566
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
1567
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
1568
|
+
readonly confirmations: 1;
|
|
1569
|
+
readonly fastConfirmations: 1;
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
readonly kitContracts: {
|
|
1574
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1575
|
+
};
|
|
1576
|
+
};
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* NEAR Protocol Mainnet chain definition
|
|
1580
|
+
* @remarks
|
|
1581
|
+
* This represents the official production network for the NEAR Protocol blockchain.
|
|
1582
|
+
*/
|
|
1583
|
+
declare const NEAR: {
|
|
1584
|
+
readonly type: "near";
|
|
1585
|
+
readonly chain: Blockchain.NEAR;
|
|
1586
|
+
readonly name: "NEAR Protocol";
|
|
1587
|
+
readonly title: "NEAR Mainnet";
|
|
1588
|
+
readonly nativeCurrency: {
|
|
1589
|
+
readonly name: "NEAR";
|
|
1590
|
+
readonly symbol: "NEAR";
|
|
1591
|
+
readonly decimals: 24;
|
|
1592
|
+
};
|
|
1593
|
+
readonly isTestnet: false;
|
|
1594
|
+
readonly explorerUrl: "https://nearblocks.io/txns/{hash}";
|
|
1595
|
+
readonly rpcEndpoints: readonly ["https://eth-rpc.mainnet.near.org"];
|
|
1596
|
+
readonly eurcAddress: null;
|
|
1597
|
+
readonly usdcAddress: "17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1";
|
|
1598
|
+
readonly cctp: null;
|
|
1599
|
+
};
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* NEAR Testnet chain definition
|
|
1603
|
+
* @remarks
|
|
1604
|
+
* This represents the official test network for the NEAR Protocol blockchain.
|
|
1605
|
+
*/
|
|
1606
|
+
declare const NEARTestnet: {
|
|
1607
|
+
readonly type: "near";
|
|
1608
|
+
readonly chain: Blockchain.NEAR_Testnet;
|
|
1609
|
+
readonly name: "NEAR Protocol Testnet";
|
|
1610
|
+
readonly title: "NEAR Test Network";
|
|
1611
|
+
readonly nativeCurrency: {
|
|
1612
|
+
readonly name: "NEAR";
|
|
1613
|
+
readonly symbol: "NEAR";
|
|
1614
|
+
readonly decimals: 24;
|
|
1615
|
+
};
|
|
1616
|
+
readonly isTestnet: true;
|
|
1617
|
+
readonly explorerUrl: "https://testnet.nearblocks.io/txns/{hash}";
|
|
1618
|
+
readonly rpcEndpoints: readonly ["https://eth-rpc.testnet.near.org"];
|
|
1619
|
+
readonly eurcAddress: null;
|
|
1620
|
+
readonly usdcAddress: "3e2210e1184b45b64c8a434c0a7e7b23cc04ea7eb7a6c3c32520d03d4afcb8af";
|
|
1621
|
+
readonly cctp: null;
|
|
1622
|
+
};
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* Noble Mainnet chain definition
|
|
1626
|
+
* @remarks
|
|
1627
|
+
* This represents the official production network for the Noble blockchain.
|
|
1628
|
+
*/
|
|
1629
|
+
declare const Noble: {
|
|
1630
|
+
readonly type: "noble";
|
|
1631
|
+
readonly chain: Blockchain.Noble;
|
|
1632
|
+
readonly name: "Noble";
|
|
1633
|
+
readonly title: "Noble Mainnet";
|
|
1634
|
+
readonly nativeCurrency: {
|
|
1635
|
+
readonly name: "Noble USDC";
|
|
1636
|
+
readonly symbol: "USDC";
|
|
1637
|
+
readonly decimals: 6;
|
|
1638
|
+
};
|
|
1639
|
+
readonly isTestnet: false;
|
|
1640
|
+
readonly explorerUrl: "https://www.mintscan.io/noble/tx/{hash}";
|
|
1641
|
+
readonly rpcEndpoints: readonly ["https://noble-rpc.polkachu.com"];
|
|
1642
|
+
readonly eurcAddress: null;
|
|
1643
|
+
readonly usdcAddress: "uusdc";
|
|
1644
|
+
readonly cctp: {
|
|
1645
|
+
readonly domain: 4;
|
|
1646
|
+
readonly contracts: {
|
|
1647
|
+
readonly v1: {
|
|
1648
|
+
readonly type: "merged";
|
|
1649
|
+
readonly contract: "noble12l2w4ugfz4m6dd73yysz477jszqnfughxvkss5";
|
|
1650
|
+
readonly confirmations: 1;
|
|
1651
|
+
};
|
|
1652
|
+
};
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* Noble Testnet chain definition
|
|
1658
|
+
* @remarks
|
|
1659
|
+
* This represents the official test network for the Noble blockchain.
|
|
1660
|
+
*/
|
|
1661
|
+
declare const NobleTestnet: {
|
|
1662
|
+
readonly type: "noble";
|
|
1663
|
+
readonly chain: Blockchain.Noble_Testnet;
|
|
1664
|
+
readonly name: "Noble Testnet";
|
|
1665
|
+
readonly title: "Noble Test Network";
|
|
1666
|
+
readonly nativeCurrency: {
|
|
1667
|
+
readonly name: "Noble USDC";
|
|
1668
|
+
readonly symbol: "USDC";
|
|
1669
|
+
readonly decimals: 6;
|
|
1670
|
+
};
|
|
1671
|
+
readonly isTestnet: true;
|
|
1672
|
+
readonly explorerUrl: "https://www.mintscan.io/noble-testnet/tx/{hash}";
|
|
1673
|
+
readonly rpcEndpoints: readonly ["https://noble-testnet-rpc.polkachu.com"];
|
|
1674
|
+
readonly eurcAddress: null;
|
|
1675
|
+
readonly usdcAddress: "uusdc";
|
|
1676
|
+
readonly cctp: {
|
|
1677
|
+
readonly domain: 4;
|
|
1678
|
+
readonly contracts: {
|
|
1679
|
+
readonly v1: {
|
|
1680
|
+
readonly type: "merged";
|
|
1681
|
+
readonly contract: "noble12l2w4ugfz4m6dd73yysz477jszqnfughxvkss5";
|
|
1682
|
+
readonly confirmations: 1;
|
|
1683
|
+
};
|
|
1684
|
+
};
|
|
1685
|
+
};
|
|
1686
|
+
};
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* Optimism Mainnet chain definition
|
|
1690
|
+
* @remarks
|
|
1691
|
+
* This represents the official production network for the Optimism blockchain.
|
|
1692
|
+
*/
|
|
1693
|
+
declare const Optimism: {
|
|
1694
|
+
readonly type: "evm";
|
|
1695
|
+
readonly chain: Blockchain.Optimism;
|
|
1696
|
+
readonly name: "Optimism";
|
|
1697
|
+
readonly title: "Optimism Mainnet";
|
|
1698
|
+
readonly nativeCurrency: {
|
|
1699
|
+
readonly name: "Ether";
|
|
1700
|
+
readonly symbol: "ETH";
|
|
1701
|
+
readonly decimals: 18;
|
|
1702
|
+
};
|
|
1703
|
+
readonly chainId: 10;
|
|
1704
|
+
readonly isTestnet: false;
|
|
1705
|
+
readonly explorerUrl: "https://optimistic.etherscan.io/tx/{hash}";
|
|
1706
|
+
readonly rpcEndpoints: readonly ["https://mainnet.optimism.io"];
|
|
1707
|
+
readonly eurcAddress: null;
|
|
1708
|
+
readonly usdcAddress: "0x0b2c639c533813f4aa9d7837caf62653d097ff85";
|
|
1709
|
+
readonly cctp: {
|
|
1710
|
+
readonly domain: 2;
|
|
1711
|
+
readonly contracts: {
|
|
1712
|
+
readonly v1: {
|
|
1713
|
+
readonly type: "split";
|
|
1714
|
+
readonly tokenMessenger: "0x2B4069517957735bE00ceE0fadAE88a26365528f";
|
|
1715
|
+
readonly messageTransmitter: "0x0a992d191deec32afe36203ad87d7d289a738f81";
|
|
1716
|
+
readonly confirmations: 65;
|
|
1717
|
+
};
|
|
1718
|
+
readonly v2: {
|
|
1719
|
+
readonly type: "split";
|
|
1720
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1721
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1722
|
+
readonly confirmations: 65;
|
|
1723
|
+
readonly fastConfirmations: 1;
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
readonly kitContracts: {
|
|
1728
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
* Optimism Sepolia Testnet chain definition
|
|
1734
|
+
* @remarks
|
|
1735
|
+
* This represents the official test network for the Optimism blockchain on Sepolia.
|
|
1736
|
+
*/
|
|
1737
|
+
declare const OptimismSepolia: {
|
|
1738
|
+
readonly type: "evm";
|
|
1739
|
+
readonly chain: Blockchain.Optimism_Sepolia;
|
|
1740
|
+
readonly name: "Optimism Sepolia";
|
|
1741
|
+
readonly title: "Optimism Sepolia Testnet";
|
|
1742
|
+
readonly nativeCurrency: {
|
|
1743
|
+
readonly name: "Sepolia Ether";
|
|
1744
|
+
readonly symbol: "ETH";
|
|
1745
|
+
readonly decimals: 18;
|
|
1746
|
+
};
|
|
1747
|
+
readonly chainId: 11155420;
|
|
1748
|
+
readonly isTestnet: true;
|
|
1749
|
+
readonly explorerUrl: "https://sepolia-optimistic.etherscan.io/tx/{hash}";
|
|
1750
|
+
readonly rpcEndpoints: readonly ["https://sepolia.optimism.io"];
|
|
1751
|
+
readonly eurcAddress: null;
|
|
1752
|
+
readonly usdcAddress: "0x5fd84259d66Cd46123540766Be93DFE6D43130D7";
|
|
1753
|
+
readonly cctp: {
|
|
1754
|
+
readonly domain: 2;
|
|
1755
|
+
readonly contracts: {
|
|
1756
|
+
readonly v1: {
|
|
1757
|
+
readonly type: "split";
|
|
1758
|
+
readonly tokenMessenger: "0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5";
|
|
1759
|
+
readonly messageTransmitter: "0x7865fAfC2db2093669d92c0F33AeEF291086BEFD";
|
|
1760
|
+
readonly confirmations: 65;
|
|
1761
|
+
};
|
|
1762
|
+
readonly v2: {
|
|
1763
|
+
readonly type: "split";
|
|
1764
|
+
readonly tokenMessenger: "0x8fe6b999dc680ccfdd5bf7eb0974218be2542daa";
|
|
1765
|
+
readonly messageTransmitter: "0xe737e5cebeeba77efe34d4aa090756590b1ce275";
|
|
1766
|
+
readonly confirmations: 65;
|
|
1767
|
+
readonly fastConfirmations: 1;
|
|
1768
|
+
};
|
|
1769
|
+
};
|
|
1770
|
+
};
|
|
1771
|
+
readonly kitContracts: {
|
|
1772
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* Plume Mainnet chain definition
|
|
1778
|
+
* @remarks
|
|
1779
|
+
* This represents the official production network for the Plume blockchain.
|
|
1780
|
+
* Plume is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
1781
|
+
* with native orderbook and matching engine.
|
|
1782
|
+
*/
|
|
1783
|
+
declare const Plume: {
|
|
1784
|
+
readonly type: "evm";
|
|
1785
|
+
readonly chain: Blockchain.Plume;
|
|
1786
|
+
readonly name: "Plume";
|
|
1787
|
+
readonly title: "Plume Mainnet";
|
|
1788
|
+
readonly nativeCurrency: {
|
|
1789
|
+
readonly name: "Plume";
|
|
1790
|
+
readonly symbol: "PLUME";
|
|
1791
|
+
readonly decimals: 18;
|
|
1792
|
+
};
|
|
1793
|
+
readonly chainId: 98866;
|
|
1794
|
+
readonly isTestnet: false;
|
|
1795
|
+
readonly explorerUrl: "https://explorer.plume.org/tx/{hash}";
|
|
1796
|
+
readonly rpcEndpoints: readonly ["https://rpc.plume.org"];
|
|
1797
|
+
readonly eurcAddress: null;
|
|
1798
|
+
readonly usdcAddress: "0x222365EF19F7947e5484218551B56bb3965Aa7aF";
|
|
1799
|
+
readonly cctp: {
|
|
1800
|
+
readonly domain: 22;
|
|
1801
|
+
readonly contracts: {
|
|
1802
|
+
readonly v2: {
|
|
1803
|
+
readonly type: "split";
|
|
1804
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1805
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1806
|
+
readonly confirmations: 65;
|
|
1807
|
+
readonly fastConfirmations: 1;
|
|
1808
|
+
};
|
|
1809
|
+
};
|
|
1810
|
+
};
|
|
1811
|
+
readonly kitContracts: {
|
|
1812
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1813
|
+
};
|
|
1814
|
+
};
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* Plume Testnet chain definition
|
|
1818
|
+
* @remarks
|
|
1819
|
+
* This represents the official testnet for the Plume blockchain.
|
|
1820
|
+
* Used for development and testing purposes before deploying to mainnet.
|
|
1821
|
+
*/
|
|
1822
|
+
declare const PlumeTestnet: {
|
|
1823
|
+
readonly type: "evm";
|
|
1824
|
+
readonly chain: Blockchain.Plume_Testnet;
|
|
1825
|
+
readonly name: "Plume Testnet";
|
|
1826
|
+
readonly title: "Plume Test Network";
|
|
1827
|
+
readonly nativeCurrency: {
|
|
1828
|
+
readonly name: "Plume";
|
|
1829
|
+
readonly symbol: "PLUME";
|
|
1830
|
+
readonly decimals: 18;
|
|
1831
|
+
};
|
|
1832
|
+
readonly chainId: 98867;
|
|
1833
|
+
readonly isTestnet: true;
|
|
1834
|
+
readonly explorerUrl: "https://testnet-explorer.plume.org/tx/{hash}";
|
|
1835
|
+
readonly rpcEndpoints: readonly ["https://testnet-rpc.plume.org"];
|
|
1836
|
+
readonly eurcAddress: null;
|
|
1837
|
+
readonly usdcAddress: "0xcB5f30e335672893c7eb944B374c196392C19D18";
|
|
1838
|
+
readonly cctp: {
|
|
1839
|
+
readonly domain: 22;
|
|
1840
|
+
readonly contracts: {
|
|
1841
|
+
readonly v2: {
|
|
1842
|
+
readonly type: "split";
|
|
1843
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
1844
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
1845
|
+
readonly confirmations: 65;
|
|
1846
|
+
readonly fastConfirmations: 1;
|
|
1847
|
+
};
|
|
1848
|
+
};
|
|
1849
|
+
};
|
|
1850
|
+
readonly kitContracts: {
|
|
1851
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1852
|
+
};
|
|
1853
|
+
};
|
|
1854
|
+
|
|
1855
|
+
/**
|
|
1856
|
+
* Polkadot Asset Hub chain definition
|
|
1857
|
+
* @remarks
|
|
1858
|
+
* This represents the official asset management parachain for the Polkadot blockchain.
|
|
1859
|
+
*/
|
|
1860
|
+
declare const PolkadotAssetHub: {
|
|
1861
|
+
readonly type: "polkadot";
|
|
1862
|
+
readonly chain: Blockchain.Polkadot_Asset_Hub;
|
|
1863
|
+
readonly name: "Polkadot Asset Hub";
|
|
1864
|
+
readonly title: "Polkadot Asset Hub";
|
|
1865
|
+
readonly nativeCurrency: {
|
|
1866
|
+
readonly name: "Polkadot";
|
|
1867
|
+
readonly symbol: "DOT";
|
|
1868
|
+
readonly decimals: 10;
|
|
1869
|
+
};
|
|
1870
|
+
readonly isTestnet: false;
|
|
1871
|
+
readonly explorerUrl: "https://polkadot.subscan.io/extrinsic/{hash}";
|
|
1872
|
+
readonly rpcEndpoints: readonly ["https://asset-hub-polkadot-rpc.n.dwellir.com"];
|
|
1873
|
+
readonly eurcAddress: null;
|
|
1874
|
+
readonly usdcAddress: "1337";
|
|
1875
|
+
readonly cctp: null;
|
|
1876
|
+
};
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* Polkadot Westmint chain definition
|
|
1880
|
+
* @remarks
|
|
1881
|
+
* This represents an asset management parachain in the Polkadot ecosystem.
|
|
1882
|
+
*/
|
|
1883
|
+
declare const PolkadotWestmint: {
|
|
1884
|
+
readonly type: "polkadot";
|
|
1885
|
+
readonly chain: Blockchain.Polkadot_Westmint;
|
|
1886
|
+
readonly name: "Polkadot Westmint";
|
|
1887
|
+
readonly title: "Polkadot Westmint";
|
|
1888
|
+
readonly nativeCurrency: {
|
|
1889
|
+
readonly name: "Polkadot";
|
|
1890
|
+
readonly symbol: "DOT";
|
|
1891
|
+
readonly decimals: 10;
|
|
1892
|
+
};
|
|
1893
|
+
readonly isTestnet: false;
|
|
1894
|
+
readonly explorerUrl: "https://assethub-polkadot.subscan.io/extrinsic/{hash}";
|
|
1895
|
+
readonly rpcEndpoints: readonly ["https://westmint-rpc.polkadot.io"];
|
|
1896
|
+
readonly eurcAddress: null;
|
|
1897
|
+
readonly usdcAddress: "Asset ID 31337";
|
|
1898
|
+
readonly cctp: null;
|
|
1899
|
+
};
|
|
1900
|
+
|
|
1901
|
+
/**
|
|
1902
|
+
* Polygon Mainnet chain definition
|
|
1903
|
+
* @remarks
|
|
1904
|
+
* This represents the official production network for the Polygon blockchain.
|
|
1905
|
+
*/
|
|
1906
|
+
declare const Polygon: {
|
|
1907
|
+
readonly type: "evm";
|
|
1908
|
+
readonly chain: Blockchain.Polygon;
|
|
1909
|
+
readonly name: "Polygon";
|
|
1910
|
+
readonly title: "Polygon Mainnet";
|
|
1911
|
+
readonly nativeCurrency: {
|
|
1912
|
+
readonly name: "POL";
|
|
1913
|
+
readonly symbol: "POL";
|
|
1914
|
+
readonly decimals: 18;
|
|
1915
|
+
};
|
|
1916
|
+
readonly chainId: 137;
|
|
1917
|
+
readonly isTestnet: false;
|
|
1918
|
+
readonly explorerUrl: "https://polygonscan.com/tx/{hash}";
|
|
1919
|
+
readonly rpcEndpoints: readonly ["https://polygon-rpc.com", "https://polygon.publicnode.com"];
|
|
1920
|
+
readonly eurcAddress: null;
|
|
1921
|
+
readonly usdcAddress: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359";
|
|
1922
|
+
readonly cctp: {
|
|
1923
|
+
readonly domain: 7;
|
|
1924
|
+
readonly contracts: {
|
|
1925
|
+
readonly v1: {
|
|
1926
|
+
readonly type: "split";
|
|
1927
|
+
readonly tokenMessenger: "0x9daF8c91AEFAE50b9c0E69629D3F6Ca40cA3B3FE";
|
|
1928
|
+
readonly messageTransmitter: "0xF3be9355363857F3e001be68856A2f96b4C39Ba9";
|
|
1929
|
+
readonly confirmations: 200;
|
|
1930
|
+
};
|
|
1931
|
+
readonly v2: {
|
|
1932
|
+
readonly type: "split";
|
|
1933
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1934
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1935
|
+
readonly confirmations: 33;
|
|
1936
|
+
readonly fastConfirmations: 13;
|
|
1937
|
+
};
|
|
1938
|
+
};
|
|
1939
|
+
};
|
|
1940
|
+
readonly kitContracts: {
|
|
1941
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1942
|
+
};
|
|
1943
|
+
};
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* Polygon Amoy Testnet chain definition
|
|
1947
|
+
* @remarks
|
|
1948
|
+
* This represents the official test network for the Polygon blockchain.
|
|
1949
|
+
*/
|
|
1950
|
+
declare const PolygonAmoy: {
|
|
1951
|
+
readonly type: "evm";
|
|
1952
|
+
readonly chain: Blockchain.Polygon_Amoy_Testnet;
|
|
1953
|
+
readonly name: "Polygon Amoy";
|
|
1954
|
+
readonly title: "Polygon Amoy Testnet";
|
|
1955
|
+
readonly nativeCurrency: {
|
|
1956
|
+
readonly name: "POL";
|
|
1957
|
+
readonly symbol: "POL";
|
|
1958
|
+
readonly decimals: 18;
|
|
1959
|
+
};
|
|
1960
|
+
readonly chainId: 80002;
|
|
1961
|
+
readonly isTestnet: true;
|
|
1962
|
+
readonly explorerUrl: "https://amoy.polygonscan.com/tx/{hash}";
|
|
1963
|
+
readonly rpcEndpoints: readonly ["https://rpc-amoy.polygon.technology"];
|
|
1964
|
+
readonly eurcAddress: null;
|
|
1965
|
+
readonly usdcAddress: "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582";
|
|
1966
|
+
readonly cctp: {
|
|
1967
|
+
readonly domain: 7;
|
|
1968
|
+
readonly contracts: {
|
|
1969
|
+
readonly v1: {
|
|
1970
|
+
readonly type: "split";
|
|
1971
|
+
readonly tokenMessenger: "0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5";
|
|
1972
|
+
readonly messageTransmitter: "0x7865fAfC2db2093669d92c0F33AeEF291086BEFD";
|
|
1973
|
+
readonly confirmations: 200;
|
|
1974
|
+
};
|
|
1975
|
+
readonly v2: {
|
|
1976
|
+
readonly type: "split";
|
|
1977
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
1978
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
1979
|
+
readonly confirmations: 33;
|
|
1980
|
+
readonly fastConfirmations: 13;
|
|
1981
|
+
};
|
|
1982
|
+
};
|
|
1983
|
+
};
|
|
1984
|
+
readonly kitContracts: {
|
|
1985
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1986
|
+
};
|
|
1987
|
+
};
|
|
1988
|
+
|
|
1989
|
+
/**
|
|
1990
|
+
* Sei Mainnet chain definition
|
|
1991
|
+
* @remarks
|
|
1992
|
+
* This represents the official production network for the Sei blockchain.
|
|
1993
|
+
* Sei is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
1994
|
+
* with native orderbook and matching engine.
|
|
1995
|
+
*/
|
|
1996
|
+
declare const Sei: {
|
|
1997
|
+
readonly type: "evm";
|
|
1998
|
+
readonly chain: Blockchain.Sei;
|
|
1999
|
+
readonly name: "Sei";
|
|
2000
|
+
readonly title: "Sei Mainnet";
|
|
2001
|
+
readonly nativeCurrency: {
|
|
2002
|
+
readonly name: "Sei";
|
|
2003
|
+
readonly symbol: "SEI";
|
|
2004
|
+
readonly decimals: 18;
|
|
2005
|
+
};
|
|
2006
|
+
readonly chainId: 1329;
|
|
2007
|
+
readonly isTestnet: false;
|
|
2008
|
+
readonly explorerUrl: "https://seitrace.com/tx/{hash}?chain=pacific-1";
|
|
2009
|
+
readonly rpcEndpoints: readonly ["https://evm-rpc.sei-apis.com"];
|
|
2010
|
+
readonly eurcAddress: null;
|
|
2011
|
+
readonly usdcAddress: "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392";
|
|
2012
|
+
readonly cctp: {
|
|
2013
|
+
readonly domain: 16;
|
|
2014
|
+
readonly contracts: {
|
|
2015
|
+
readonly v2: {
|
|
2016
|
+
readonly type: "split";
|
|
2017
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
2018
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
2019
|
+
readonly confirmations: 1;
|
|
2020
|
+
readonly fastConfirmations: 1;
|
|
2021
|
+
};
|
|
2022
|
+
};
|
|
2023
|
+
};
|
|
2024
|
+
readonly kitContracts: {
|
|
2025
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
2026
|
+
};
|
|
2027
|
+
};
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* Sei Testnet chain definition
|
|
2031
|
+
* @remarks
|
|
2032
|
+
* This represents the official testnet for the Sei blockchain.
|
|
2033
|
+
* Used for development and testing purposes before deploying to mainnet.
|
|
2034
|
+
*/
|
|
2035
|
+
declare const SeiTestnet: {
|
|
2036
|
+
readonly type: "evm";
|
|
2037
|
+
readonly chain: Blockchain.Sei_Testnet;
|
|
2038
|
+
readonly name: "Sei Testnet";
|
|
2039
|
+
readonly title: "Sei Test Network";
|
|
2040
|
+
readonly nativeCurrency: {
|
|
2041
|
+
readonly name: "Sei";
|
|
2042
|
+
readonly symbol: "SEI";
|
|
2043
|
+
readonly decimals: 18;
|
|
2044
|
+
};
|
|
2045
|
+
readonly chainId: 1328;
|
|
2046
|
+
readonly isTestnet: true;
|
|
2047
|
+
readonly explorerUrl: "https://seitrace.com/tx/{hash}?chain=atlantic-2";
|
|
2048
|
+
readonly rpcEndpoints: readonly ["https://evm-rpc-testnet.sei-apis.com"];
|
|
2049
|
+
readonly eurcAddress: null;
|
|
2050
|
+
readonly usdcAddress: "0x4fCF1784B31630811181f670Aea7A7bEF803eaED";
|
|
2051
|
+
readonly cctp: {
|
|
2052
|
+
readonly domain: 16;
|
|
2053
|
+
readonly contracts: {
|
|
2054
|
+
readonly v2: {
|
|
2055
|
+
readonly type: "split";
|
|
2056
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
2057
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
2058
|
+
readonly confirmations: 1;
|
|
2059
|
+
readonly fastConfirmations: 1;
|
|
2060
|
+
};
|
|
2061
|
+
};
|
|
2062
|
+
};
|
|
2063
|
+
readonly kitContracts: {
|
|
2064
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
2065
|
+
};
|
|
2066
|
+
};
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Sonic Mainnet chain definition
|
|
2070
|
+
* @remarks
|
|
2071
|
+
* This represents the official production network for the Sonic blockchain.
|
|
2072
|
+
*/
|
|
2073
|
+
declare const Sonic: {
|
|
2074
|
+
readonly type: "evm";
|
|
2075
|
+
readonly chain: Blockchain.Sonic;
|
|
2076
|
+
readonly name: "Sonic";
|
|
2077
|
+
readonly title: "Sonic Mainnet";
|
|
2078
|
+
readonly nativeCurrency: {
|
|
2079
|
+
readonly name: "Sonic";
|
|
2080
|
+
readonly symbol: "S";
|
|
2081
|
+
readonly decimals: 18;
|
|
2082
|
+
};
|
|
2083
|
+
readonly chainId: 146;
|
|
2084
|
+
readonly isTestnet: false;
|
|
2085
|
+
readonly explorerUrl: "https://sonicscan.org/tx/{hash}";
|
|
2086
|
+
readonly rpcEndpoints: readonly ["https://rpc.soniclabs.com"];
|
|
2087
|
+
readonly eurcAddress: null;
|
|
2088
|
+
readonly usdcAddress: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894";
|
|
2089
|
+
readonly cctp: {
|
|
2090
|
+
readonly domain: 13;
|
|
2091
|
+
readonly contracts: {
|
|
2092
|
+
readonly v2: {
|
|
2093
|
+
readonly type: "split";
|
|
2094
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
2095
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
2096
|
+
readonly confirmations: 1;
|
|
2097
|
+
readonly fastConfirmations: 1;
|
|
2098
|
+
};
|
|
2099
|
+
};
|
|
2100
|
+
};
|
|
2101
|
+
readonly kitContracts: {
|
|
2102
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* Sonic Testnet chain definition
|
|
2108
|
+
* @remarks
|
|
2109
|
+
* This represents the official test network for the Sonic blockchain.
|
|
2110
|
+
*/
|
|
2111
|
+
declare const SonicTestnet: {
|
|
2112
|
+
readonly type: "evm";
|
|
2113
|
+
readonly chain: Blockchain.Sonic_Testnet;
|
|
2114
|
+
readonly name: "Sonic Testnet";
|
|
2115
|
+
readonly title: "Sonic Testnet";
|
|
2116
|
+
readonly nativeCurrency: {
|
|
2117
|
+
readonly name: "Sonic";
|
|
2118
|
+
readonly symbol: "S";
|
|
2119
|
+
readonly decimals: 18;
|
|
2120
|
+
};
|
|
2121
|
+
readonly chainId: 14601;
|
|
2122
|
+
readonly isTestnet: true;
|
|
2123
|
+
readonly explorerUrl: "https://testnet.sonicscan.org/tx/{hash}";
|
|
2124
|
+
readonly rpcEndpoints: readonly ["https://rpc.testnet.soniclabs.com"];
|
|
2125
|
+
readonly eurcAddress: null;
|
|
2126
|
+
readonly usdcAddress: "0x0BA304580ee7c9a980CF72e55f5Ed2E9fd30Bc51";
|
|
2127
|
+
readonly cctp: {
|
|
2128
|
+
readonly domain: 13;
|
|
2129
|
+
readonly contracts: {
|
|
2130
|
+
readonly v2: {
|
|
2131
|
+
readonly type: "split";
|
|
2132
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
2133
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
2134
|
+
readonly confirmations: 1;
|
|
2135
|
+
readonly fastConfirmations: 1;
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
};
|
|
2139
|
+
readonly kitContracts: {
|
|
2140
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* Solana Mainnet chain definition
|
|
2146
|
+
* @remarks
|
|
2147
|
+
* This represents the official production network for the Solana blockchain.
|
|
2148
|
+
*/
|
|
2149
|
+
declare const Solana: {
|
|
2150
|
+
readonly type: "solana";
|
|
2151
|
+
readonly chain: Blockchain.Solana;
|
|
2152
|
+
readonly name: "Solana";
|
|
2153
|
+
readonly title: "Solana Mainnet";
|
|
2154
|
+
readonly nativeCurrency: {
|
|
2155
|
+
readonly name: "Solana";
|
|
2156
|
+
readonly symbol: "SOL";
|
|
2157
|
+
readonly decimals: 9;
|
|
2158
|
+
};
|
|
2159
|
+
readonly isTestnet: false;
|
|
2160
|
+
readonly explorerUrl: "https://solscan.io/tx/{hash}";
|
|
2161
|
+
readonly rpcEndpoints: readonly ["https://api.mainnet-beta.solana.com"];
|
|
2162
|
+
readonly eurcAddress: "HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr";
|
|
2163
|
+
readonly usdcAddress: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
2164
|
+
readonly cctp: {
|
|
2165
|
+
readonly domain: 5;
|
|
2166
|
+
readonly contracts: {
|
|
2167
|
+
readonly v1: {
|
|
2168
|
+
readonly type: "split";
|
|
2169
|
+
readonly tokenMessenger: "CCTPiPYPc6AsJuwueEnWgSgucamXDZwBd53dQ11YiKX3";
|
|
2170
|
+
readonly messageTransmitter: "CCTPmbSD7gX1bxKPAmg77w8oFzNFpaQiQUWD43TKaecd";
|
|
2171
|
+
readonly confirmations: 32;
|
|
2172
|
+
};
|
|
2173
|
+
readonly v2: {
|
|
2174
|
+
readonly type: "split";
|
|
2175
|
+
readonly tokenMessenger: "CCTPV2vPZJS2u2BBsUoscuikbYjnpFmbFsvVuJdgUMQe";
|
|
2176
|
+
readonly messageTransmitter: "CCTPV2Sm4AdWt5296sk4P66VBZ7bEhcARwFaaS9YPbeC";
|
|
2177
|
+
readonly confirmations: 32;
|
|
2178
|
+
readonly fastConfirmations: 3;
|
|
2179
|
+
};
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
readonly kitContracts: {
|
|
2183
|
+
readonly bridge: "DFaauJEjmiHkPs1JG89A4p95hDWi9m9SAEERY1LQJiC3";
|
|
2184
|
+
};
|
|
2185
|
+
};
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* Solana Devnet chain definition
|
|
2189
|
+
* @remarks
|
|
2190
|
+
* This represents the development test network for the Solana blockchain.
|
|
2191
|
+
*/
|
|
2192
|
+
declare const SolanaDevnet: {
|
|
2193
|
+
readonly type: "solana";
|
|
2194
|
+
readonly chain: Blockchain.Solana_Devnet;
|
|
2195
|
+
readonly name: "Solana Devnet";
|
|
2196
|
+
readonly title: "Solana Development Network";
|
|
2197
|
+
readonly nativeCurrency: {
|
|
2198
|
+
readonly name: "Solana";
|
|
2199
|
+
readonly symbol: "SOL";
|
|
2200
|
+
readonly decimals: 9;
|
|
2201
|
+
};
|
|
2202
|
+
readonly isTestnet: true;
|
|
2203
|
+
readonly explorerUrl: "https://solscan.io/tx/{hash}?cluster=devnet";
|
|
2204
|
+
readonly eurcAddress: "HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr";
|
|
2205
|
+
readonly usdcAddress: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
2206
|
+
readonly cctp: {
|
|
2207
|
+
readonly domain: 5;
|
|
2208
|
+
readonly contracts: {
|
|
2209
|
+
readonly v1: {
|
|
2210
|
+
readonly type: "split";
|
|
2211
|
+
readonly tokenMessenger: "CCTPiPYPc6AsJuwueEnWgSgucamXDZwBd53dQ11YiKX3";
|
|
2212
|
+
readonly messageTransmitter: "CCTPmbSD7gX1bxKPAmg77w8oFzNFpaQiQUWD43TKaecd";
|
|
2213
|
+
readonly confirmations: 32;
|
|
2214
|
+
};
|
|
2215
|
+
readonly v2: {
|
|
2216
|
+
readonly type: "split";
|
|
2217
|
+
readonly tokenMessenger: "CCTPV2vPZJS2u2BBsUoscuikbYjnpFmbFsvVuJdgUMQe";
|
|
2218
|
+
readonly messageTransmitter: "CCTPV2Sm4AdWt5296sk4P66VBZ7bEhcARwFaaS9YPbeC";
|
|
2219
|
+
readonly confirmations: 32;
|
|
2220
|
+
readonly fastConfirmations: 3;
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
};
|
|
2224
|
+
readonly kitContracts: {
|
|
2225
|
+
readonly bridge: "DFaauJEjmiHkPs1JG89A4p95hDWi9m9SAEERY1LQJiC3";
|
|
2226
|
+
};
|
|
2227
|
+
readonly rpcEndpoints: readonly ["https://api.devnet.solana.com"];
|
|
2228
|
+
};
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* Stellar Mainnet chain definition
|
|
2232
|
+
* @remarks
|
|
2233
|
+
* This represents the official production network for the Stellar blockchain.
|
|
2234
|
+
*/
|
|
2235
|
+
declare const Stellar: {
|
|
2236
|
+
readonly type: "stellar";
|
|
2237
|
+
readonly chain: Blockchain.Stellar;
|
|
2238
|
+
readonly name: "Stellar";
|
|
2239
|
+
readonly title: "Stellar Mainnet";
|
|
2240
|
+
readonly nativeCurrency: {
|
|
2241
|
+
readonly name: "Stellar Lumens";
|
|
2242
|
+
readonly symbol: "XLM";
|
|
2243
|
+
readonly decimals: 7;
|
|
2244
|
+
};
|
|
2245
|
+
readonly isTestnet: false;
|
|
2246
|
+
readonly explorerUrl: "https://stellar.expert/explorer/public/tx/{hash}";
|
|
2247
|
+
readonly rpcEndpoints: readonly ["https://horizon.stellar.org"];
|
|
2248
|
+
readonly eurcAddress: "EURC-GDHU6WRG4IEQXM5NZ4BMPKOXHW76MZM4Y2IEMFDVXBSDP6SJY4ITNPP2";
|
|
2249
|
+
readonly usdcAddress: "USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN";
|
|
2250
|
+
readonly cctp: null;
|
|
2251
|
+
};
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* Stellar Testnet chain definition
|
|
2255
|
+
* @remarks
|
|
2256
|
+
* This represents the official test network for the Stellar blockchain.
|
|
2257
|
+
*/
|
|
2258
|
+
declare const StellarTestnet: {
|
|
2259
|
+
readonly type: "stellar";
|
|
2260
|
+
readonly chain: Blockchain.Stellar_Testnet;
|
|
2261
|
+
readonly name: "Stellar Testnet";
|
|
2262
|
+
readonly title: "Stellar Test Network";
|
|
2263
|
+
readonly nativeCurrency: {
|
|
2264
|
+
readonly name: "Stellar Lumens";
|
|
2265
|
+
readonly symbol: "XLM";
|
|
2266
|
+
readonly decimals: 7;
|
|
2267
|
+
};
|
|
2268
|
+
readonly isTestnet: true;
|
|
2269
|
+
readonly explorerUrl: "https://stellar.expert/explorer/testnet/tx/{hash}";
|
|
2270
|
+
readonly rpcEndpoints: readonly ["https://horizon-testnet.stellar.org"];
|
|
2271
|
+
readonly eurcAddress: "EURC-GB3Q6QDZYTHWT7E5PVS3W7FUT5GVAFC5KSZFFLPU25GO7VTC3NM2ZTVO";
|
|
2272
|
+
readonly usdcAddress: "USDC-GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5";
|
|
2273
|
+
readonly cctp: null;
|
|
2274
|
+
};
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* Sui Mainnet chain definition
|
|
2278
|
+
* @remarks
|
|
2279
|
+
* This represents the official production network for the Sui blockchain.
|
|
2280
|
+
*/
|
|
2281
|
+
declare const Sui: {
|
|
2282
|
+
readonly type: "sui";
|
|
2283
|
+
readonly chain: Blockchain.Sui;
|
|
2284
|
+
readonly name: "Sui";
|
|
2285
|
+
readonly title: "Sui Mainnet";
|
|
2286
|
+
readonly nativeCurrency: {
|
|
2287
|
+
readonly name: "Sui";
|
|
2288
|
+
readonly symbol: "SUI";
|
|
2289
|
+
readonly decimals: 9;
|
|
2290
|
+
};
|
|
2291
|
+
readonly isTestnet: false;
|
|
2292
|
+
readonly explorerUrl: "https://suiscan.xyz/mainnet/tx/{hash}";
|
|
2293
|
+
readonly rpcEndpoints: readonly ["https://fullnode.mainnet.sui.io"];
|
|
2294
|
+
readonly eurcAddress: null;
|
|
2295
|
+
readonly usdcAddress: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
|
|
2296
|
+
readonly cctp: {
|
|
2297
|
+
readonly domain: 8;
|
|
2298
|
+
readonly contracts: {
|
|
2299
|
+
readonly v1: {
|
|
2300
|
+
readonly type: "split";
|
|
2301
|
+
readonly tokenMessenger: "0x2aa6c5d56376c371f88a6cc42e852824994993cb9bab8d3e6450cbe3cb32b94e";
|
|
2302
|
+
readonly messageTransmitter: "0x08d87d37ba49e785dde270a83f8e979605b03dc552b5548f26fdf2f49bf7ed1b";
|
|
2303
|
+
readonly confirmations: 1;
|
|
2304
|
+
};
|
|
2305
|
+
};
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* Sui Testnet chain definition
|
|
2311
|
+
* @remarks
|
|
2312
|
+
* This represents the official test network for the Sui blockchain.
|
|
2313
|
+
*/
|
|
2314
|
+
declare const SuiTestnet: {
|
|
2315
|
+
readonly type: "sui";
|
|
2316
|
+
readonly chain: Blockchain.Sui_Testnet;
|
|
2317
|
+
readonly name: "Sui Testnet";
|
|
2318
|
+
readonly title: "Sui Test Network";
|
|
2319
|
+
readonly nativeCurrency: {
|
|
2320
|
+
readonly name: "Sui";
|
|
2321
|
+
readonly symbol: "SUI";
|
|
2322
|
+
readonly decimals: 9;
|
|
2323
|
+
};
|
|
2324
|
+
readonly isTestnet: true;
|
|
2325
|
+
readonly explorerUrl: "https://suiscan.xyz/testnet/tx/{hash}";
|
|
2326
|
+
readonly rpcEndpoints: readonly ["https://fullnode.testnet.sui.io"];
|
|
2327
|
+
readonly eurcAddress: null;
|
|
2328
|
+
readonly usdcAddress: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
2329
|
+
readonly cctp: {
|
|
2330
|
+
readonly domain: 8;
|
|
2331
|
+
readonly contracts: {
|
|
2332
|
+
readonly v1: {
|
|
2333
|
+
readonly type: "split";
|
|
2334
|
+
readonly tokenMessenger: "0x31cc14d80c175ae39777c0238f20594c6d4869cfab199f40b69f3319956b8beb";
|
|
2335
|
+
readonly messageTransmitter: "0x4931e06dce648b3931f890035bd196920770e913e43e45990b383f6486fdd0a5";
|
|
2336
|
+
readonly confirmations: 1;
|
|
2337
|
+
};
|
|
2338
|
+
};
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* Unichain Mainnet chain definition
|
|
2344
|
+
* @remarks
|
|
2345
|
+
* This represents the official production network for the Unichain blockchain.
|
|
2346
|
+
*/
|
|
2347
|
+
declare const Unichain: {
|
|
2348
|
+
readonly type: "evm";
|
|
2349
|
+
readonly chain: Blockchain.Unichain;
|
|
2350
|
+
readonly name: "Unichain";
|
|
2351
|
+
readonly title: "Unichain Mainnet";
|
|
2352
|
+
readonly nativeCurrency: {
|
|
2353
|
+
readonly name: "Uni";
|
|
2354
|
+
readonly symbol: "UNI";
|
|
2355
|
+
readonly decimals: 18;
|
|
2356
|
+
};
|
|
2357
|
+
readonly chainId: 130;
|
|
2358
|
+
readonly isTestnet: false;
|
|
2359
|
+
readonly explorerUrl: "https://unichain.blockscout.com/tx/{hash}";
|
|
2360
|
+
readonly rpcEndpoints: readonly ["https://rpc.unichain.org", "https://mainnet.unichain.org"];
|
|
2361
|
+
readonly eurcAddress: null;
|
|
2362
|
+
readonly usdcAddress: "0x078D782b760474a361dDA0AF3839290b0EF57AD6";
|
|
2363
|
+
readonly cctp: {
|
|
2364
|
+
readonly domain: 10;
|
|
2365
|
+
readonly contracts: {
|
|
2366
|
+
readonly v1: {
|
|
2367
|
+
readonly type: "split";
|
|
2368
|
+
readonly tokenMessenger: "0x4e744b28E787c3aD0e810eD65A24461D4ac5a762";
|
|
2369
|
+
readonly messageTransmitter: "0x353bE9E2E38AB1D19104534e4edC21c643Df86f4";
|
|
2370
|
+
readonly confirmations: 65;
|
|
2371
|
+
};
|
|
2372
|
+
readonly v2: {
|
|
2373
|
+
readonly type: "split";
|
|
2374
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
2375
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
2376
|
+
readonly confirmations: 65;
|
|
2377
|
+
readonly fastConfirmations: 1;
|
|
2378
|
+
};
|
|
2379
|
+
};
|
|
2380
|
+
};
|
|
2381
|
+
readonly kitContracts: {
|
|
2382
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
2383
|
+
};
|
|
2384
|
+
};
|
|
2385
|
+
|
|
2386
|
+
/**
|
|
2387
|
+
* Unichain Sepolia Testnet chain definition
|
|
2388
|
+
* @remarks
|
|
2389
|
+
* This represents the official test network for the Unichain blockchain.
|
|
2390
|
+
*/
|
|
2391
|
+
declare const UnichainSepolia: {
|
|
2392
|
+
readonly type: "evm";
|
|
2393
|
+
readonly chain: Blockchain.Unichain_Sepolia;
|
|
2394
|
+
readonly name: "Unichain Sepolia";
|
|
2395
|
+
readonly title: "Unichain Sepolia Testnet";
|
|
2396
|
+
readonly nativeCurrency: {
|
|
2397
|
+
readonly name: "Sepolia Uni";
|
|
2398
|
+
readonly symbol: "UNI";
|
|
2399
|
+
readonly decimals: 18;
|
|
2400
|
+
};
|
|
2401
|
+
readonly chainId: 1301;
|
|
2402
|
+
readonly isTestnet: true;
|
|
2403
|
+
readonly explorerUrl: "https://unichain-sepolia.blockscout.com/tx/{hash}";
|
|
2404
|
+
readonly rpcEndpoints: readonly ["https://sepolia.unichain.org"];
|
|
2405
|
+
readonly eurcAddress: null;
|
|
2406
|
+
readonly usdcAddress: "0x31d0220469e10c4E71834a79b1f276d740d3768F";
|
|
2407
|
+
readonly cctp: {
|
|
2408
|
+
readonly domain: 10;
|
|
2409
|
+
readonly contracts: {
|
|
2410
|
+
readonly v1: {
|
|
2411
|
+
readonly type: "split";
|
|
2412
|
+
readonly tokenMessenger: "0x8ed94B8dAd2Dc5453862ea5e316A8e71AAed9782";
|
|
2413
|
+
readonly messageTransmitter: "0xbc498c326533d675cf571B90A2Ced265ACb7d086";
|
|
2414
|
+
readonly confirmations: 65;
|
|
2415
|
+
};
|
|
2416
|
+
readonly v2: {
|
|
2417
|
+
readonly type: "split";
|
|
2418
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
2419
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
2420
|
+
readonly confirmations: 65;
|
|
2421
|
+
readonly fastConfirmations: 1;
|
|
2422
|
+
};
|
|
2423
|
+
};
|
|
2424
|
+
};
|
|
2425
|
+
readonly kitContracts: {
|
|
2426
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
2427
|
+
};
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* World Chain chain definition
|
|
2432
|
+
* @remarks
|
|
2433
|
+
* This represents the main network for the World Chain blockchain.
|
|
2434
|
+
*/
|
|
2435
|
+
declare const WorldChain: {
|
|
2436
|
+
readonly type: "evm";
|
|
2437
|
+
readonly chain: Blockchain.World_Chain;
|
|
2438
|
+
readonly name: "World Chain";
|
|
2439
|
+
readonly title: "World Chain";
|
|
2440
|
+
readonly nativeCurrency: {
|
|
2441
|
+
readonly name: "Ether";
|
|
2442
|
+
readonly symbol: "ETH";
|
|
2443
|
+
readonly decimals: 18;
|
|
2444
|
+
};
|
|
2445
|
+
readonly chainId: 480;
|
|
2446
|
+
readonly isTestnet: false;
|
|
2447
|
+
readonly explorerUrl: "https://worldscan.org/tx/{hash}";
|
|
2448
|
+
readonly rpcEndpoints: readonly ["https://worldchain-mainnet.g.alchemy.com/public"];
|
|
2449
|
+
readonly eurcAddress: null;
|
|
2450
|
+
readonly usdcAddress: "0x79A02482A880bCe3F13E09da970dC34dB4cD24D1";
|
|
2451
|
+
readonly cctp: {
|
|
2452
|
+
readonly domain: 14;
|
|
2453
|
+
readonly contracts: {
|
|
2454
|
+
readonly v2: {
|
|
2455
|
+
readonly type: "split";
|
|
2456
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cF5d";
|
|
2457
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
2458
|
+
readonly confirmations: 65;
|
|
2459
|
+
readonly fastConfirmations: 1;
|
|
2460
|
+
};
|
|
2461
|
+
};
|
|
2462
|
+
};
|
|
2463
|
+
readonly kitContracts: {
|
|
2464
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
2465
|
+
};
|
|
2466
|
+
};
|
|
2467
|
+
|
|
2468
|
+
/**
|
|
2469
|
+
* World Chain Sepolia chain definition
|
|
2470
|
+
* @remarks
|
|
2471
|
+
* This represents the test network for the World Chain blockchain.
|
|
2472
|
+
*/
|
|
2473
|
+
declare const WorldChainSepolia: {
|
|
2474
|
+
readonly type: "evm";
|
|
2475
|
+
readonly chain: Blockchain.World_Chain_Sepolia;
|
|
2476
|
+
readonly name: "World Chain Sepolia";
|
|
2477
|
+
readonly title: "World Chain Sepolia";
|
|
2478
|
+
readonly nativeCurrency: {
|
|
2479
|
+
readonly name: "Ether";
|
|
2480
|
+
readonly symbol: "ETH";
|
|
2481
|
+
readonly decimals: 18;
|
|
2482
|
+
};
|
|
2483
|
+
readonly chainId: 4801;
|
|
2484
|
+
readonly isTestnet: true;
|
|
2485
|
+
readonly explorerUrl: "https://sepolia.worldscan.org/tx/{hash}";
|
|
2486
|
+
readonly rpcEndpoints: readonly ["https://worldchain-sepolia.drpc.org", "https://worldchain-sepolia.g.alchemy.com/public"];
|
|
2487
|
+
readonly eurcAddress: null;
|
|
2488
|
+
readonly usdcAddress: "0x66145f38cBAC35Ca6F1Dfb4914dF98F1614aeA88";
|
|
2489
|
+
readonly cctp: {
|
|
2490
|
+
readonly domain: 14;
|
|
2491
|
+
readonly contracts: {
|
|
2492
|
+
readonly v2: {
|
|
2493
|
+
readonly type: "split";
|
|
2494
|
+
readonly tokenMessenger: "0x8fe6b999dc680ccfdd5bf7eb0974218be2542daa";
|
|
2495
|
+
readonly messageTransmitter: "0xe737e5cebeeba77efe34d4aa090756590b1ce275";
|
|
2496
|
+
readonly confirmations: 65;
|
|
2497
|
+
readonly fastConfirmations: 1;
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
};
|
|
2501
|
+
readonly kitContracts: {
|
|
2502
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
2503
|
+
};
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* XDC Mainnet chain definition
|
|
2508
|
+
* @remarks
|
|
2509
|
+
* This represents the official production network for the XDC blockchain.
|
|
2510
|
+
* XDC is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
2511
|
+
* with native orderbook and matching engine.
|
|
2512
|
+
*/
|
|
2513
|
+
declare const XDC: {
|
|
2514
|
+
readonly type: "evm";
|
|
2515
|
+
readonly chain: Blockchain.XDC;
|
|
2516
|
+
readonly name: "XDC";
|
|
2517
|
+
readonly title: "XDC Mainnet";
|
|
2518
|
+
readonly nativeCurrency: {
|
|
2519
|
+
readonly name: "XDC";
|
|
2520
|
+
readonly symbol: "XDC";
|
|
2521
|
+
readonly decimals: 18;
|
|
2522
|
+
};
|
|
2523
|
+
readonly chainId: 50;
|
|
2524
|
+
readonly isTestnet: false;
|
|
2525
|
+
readonly explorerUrl: "https://xdcscan.io/tx/{hash}";
|
|
2526
|
+
readonly rpcEndpoints: readonly ["https://erpc.xinfin.network"];
|
|
2527
|
+
readonly eurcAddress: null;
|
|
2528
|
+
readonly usdcAddress: "0xfA2958CB79b0491CC627c1557F441eF849Ca8eb1";
|
|
2529
|
+
readonly cctp: {
|
|
2530
|
+
readonly domain: 18;
|
|
2531
|
+
readonly contracts: {
|
|
2532
|
+
readonly v2: {
|
|
2533
|
+
readonly type: "split";
|
|
2534
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
2535
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
2536
|
+
readonly confirmations: 3;
|
|
2537
|
+
readonly fastConfirmations: 3;
|
|
2538
|
+
};
|
|
2539
|
+
};
|
|
2540
|
+
};
|
|
2541
|
+
readonly kitContracts: {
|
|
2542
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* XDC Apothem Testnet chain definition
|
|
2548
|
+
* @remarks
|
|
2549
|
+
* This represents the official test network for the XDC Network, known as Apothem.
|
|
2550
|
+
*/
|
|
2551
|
+
declare const XDCApothem: {
|
|
2552
|
+
readonly type: "evm";
|
|
2553
|
+
readonly chain: Blockchain.XDC_Apothem;
|
|
2554
|
+
readonly name: "Apothem Network";
|
|
2555
|
+
readonly title: "Apothem Network";
|
|
2556
|
+
readonly nativeCurrency: {
|
|
2557
|
+
readonly name: "TXDC";
|
|
2558
|
+
readonly symbol: "TXDC";
|
|
2559
|
+
readonly decimals: 18;
|
|
2560
|
+
};
|
|
2561
|
+
readonly chainId: 51;
|
|
2562
|
+
readonly isTestnet: true;
|
|
2563
|
+
readonly explorerUrl: "https://testnet.xdcscan.com/tx/{hash}";
|
|
2564
|
+
readonly rpcEndpoints: readonly ["https://erpc.apothem.network"];
|
|
2565
|
+
readonly eurcAddress: null;
|
|
2566
|
+
readonly usdcAddress: "0xb5AB69F7bBada22B28e79C8FFAECe55eF1c771D4";
|
|
2567
|
+
readonly cctp: {
|
|
2568
|
+
readonly domain: 18;
|
|
2569
|
+
readonly contracts: {
|
|
2570
|
+
readonly v2: {
|
|
2571
|
+
readonly type: "split";
|
|
2572
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
2573
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
2574
|
+
readonly confirmations: 3;
|
|
2575
|
+
readonly fastConfirmations: 1;
|
|
2576
|
+
};
|
|
2577
|
+
};
|
|
2578
|
+
};
|
|
2579
|
+
readonly kitContracts: {
|
|
2580
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
2581
|
+
};
|
|
2582
|
+
};
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* ZKSync Era Mainnet chain definition
|
|
2586
|
+
* @remarks
|
|
2587
|
+
* This represents the official production network for the ZKSync Era blockchain.
|
|
2588
|
+
*/
|
|
2589
|
+
declare const ZKSyncEra: {
|
|
2590
|
+
readonly type: "evm";
|
|
2591
|
+
readonly chain: Blockchain.ZKSync_Era;
|
|
2592
|
+
readonly name: "ZKSync Era";
|
|
2593
|
+
readonly title: "ZKSync Era Mainnet";
|
|
2594
|
+
readonly nativeCurrency: {
|
|
2595
|
+
readonly name: "Ether";
|
|
2596
|
+
readonly symbol: "ETH";
|
|
2597
|
+
readonly decimals: 18;
|
|
2598
|
+
};
|
|
2599
|
+
readonly chainId: 324;
|
|
2600
|
+
readonly isTestnet: false;
|
|
2601
|
+
readonly explorerUrl: "https://explorer.zksync.io/tx/{hash}";
|
|
2602
|
+
readonly rpcEndpoints: readonly ["https://mainnet.era.zksync.io"];
|
|
2603
|
+
readonly eurcAddress: null;
|
|
2604
|
+
readonly usdcAddress: "0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4";
|
|
2605
|
+
readonly cctp: null;
|
|
2606
|
+
};
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* ZKSync Era Sepolia Testnet chain definition
|
|
2610
|
+
* @remarks
|
|
2611
|
+
* This represents the official test network for the ZKSync Era blockchain on Sepolia.
|
|
2612
|
+
*/
|
|
2613
|
+
declare const ZKSyncEraSepolia: {
|
|
2614
|
+
readonly type: "evm";
|
|
2615
|
+
readonly chain: Blockchain.ZKSync_Sepolia;
|
|
2616
|
+
readonly name: "ZKSync Era Sepolia";
|
|
2617
|
+
readonly title: "ZKSync Era Sepolia Testnet";
|
|
2618
|
+
readonly nativeCurrency: {
|
|
2619
|
+
readonly name: "Sepolia Ether";
|
|
2620
|
+
readonly symbol: "ETH";
|
|
2621
|
+
readonly decimals: 18;
|
|
2622
|
+
};
|
|
2623
|
+
readonly chainId: 300;
|
|
2624
|
+
readonly isTestnet: true;
|
|
2625
|
+
readonly explorerUrl: "https://sepolia.explorer.zksync.io/tx/{hash}";
|
|
2626
|
+
readonly rpcEndpoints: readonly ["https://sepolia.era.zksync.dev"];
|
|
2627
|
+
readonly eurcAddress: null;
|
|
2628
|
+
readonly usdcAddress: "0xAe045DE5638162fa134807Cb558E15A3F5A7F853";
|
|
2629
|
+
readonly cctp: null;
|
|
2630
|
+
};
|
|
2631
|
+
|
|
2632
|
+
declare const Chains_Algorand: typeof Algorand;
|
|
2633
|
+
declare const Chains_AlgorandTestnet: typeof AlgorandTestnet;
|
|
2634
|
+
declare const Chains_Aptos: typeof Aptos;
|
|
2635
|
+
declare const Chains_AptosTestnet: typeof AptosTestnet;
|
|
2636
|
+
declare const Chains_Arbitrum: typeof Arbitrum;
|
|
2637
|
+
declare const Chains_ArbitrumSepolia: typeof ArbitrumSepolia;
|
|
2638
|
+
declare const Chains_ArcTestnet: typeof ArcTestnet;
|
|
2639
|
+
declare const Chains_Avalanche: typeof Avalanche;
|
|
2640
|
+
declare const Chains_AvalancheFuji: typeof AvalancheFuji;
|
|
2641
|
+
declare const Chains_Base: typeof Base;
|
|
2642
|
+
declare const Chains_BaseSepolia: typeof BaseSepolia;
|
|
2643
|
+
declare const Chains_Celo: typeof Celo;
|
|
2644
|
+
declare const Chains_CeloAlfajoresTestnet: typeof CeloAlfajoresTestnet;
|
|
2645
|
+
declare const Chains_Codex: typeof Codex;
|
|
2646
|
+
declare const Chains_CodexTestnet: typeof CodexTestnet;
|
|
2647
|
+
declare const Chains_Ethereum: typeof Ethereum;
|
|
2648
|
+
declare const Chains_EthereumSepolia: typeof EthereumSepolia;
|
|
2649
|
+
declare const Chains_Hedera: typeof Hedera;
|
|
2650
|
+
declare const Chains_HederaTestnet: typeof HederaTestnet;
|
|
2651
|
+
declare const Chains_HyperEVM: typeof HyperEVM;
|
|
2652
|
+
declare const Chains_HyperEVMTestnet: typeof HyperEVMTestnet;
|
|
2653
|
+
declare const Chains_Ink: typeof Ink;
|
|
2654
|
+
declare const Chains_InkTestnet: typeof InkTestnet;
|
|
2655
|
+
declare const Chains_Linea: typeof Linea;
|
|
2656
|
+
declare const Chains_LineaSepolia: typeof LineaSepolia;
|
|
2657
|
+
declare const Chains_Monad: typeof Monad;
|
|
2658
|
+
declare const Chains_MonadTestnet: typeof MonadTestnet;
|
|
2659
|
+
declare const Chains_NEAR: typeof NEAR;
|
|
2660
|
+
declare const Chains_NEARTestnet: typeof NEARTestnet;
|
|
2661
|
+
declare const Chains_Noble: typeof Noble;
|
|
2662
|
+
declare const Chains_NobleTestnet: typeof NobleTestnet;
|
|
2663
|
+
declare const Chains_Optimism: typeof Optimism;
|
|
2664
|
+
declare const Chains_OptimismSepolia: typeof OptimismSepolia;
|
|
2665
|
+
declare const Chains_Plume: typeof Plume;
|
|
2666
|
+
declare const Chains_PlumeTestnet: typeof PlumeTestnet;
|
|
2667
|
+
declare const Chains_PolkadotAssetHub: typeof PolkadotAssetHub;
|
|
2668
|
+
declare const Chains_PolkadotWestmint: typeof PolkadotWestmint;
|
|
2669
|
+
declare const Chains_Polygon: typeof Polygon;
|
|
2670
|
+
declare const Chains_PolygonAmoy: typeof PolygonAmoy;
|
|
2671
|
+
declare const Chains_Sei: typeof Sei;
|
|
2672
|
+
declare const Chains_SeiTestnet: typeof SeiTestnet;
|
|
2673
|
+
declare const Chains_Solana: typeof Solana;
|
|
2674
|
+
declare const Chains_SolanaDevnet: typeof SolanaDevnet;
|
|
2675
|
+
declare const Chains_Sonic: typeof Sonic;
|
|
2676
|
+
declare const Chains_SonicTestnet: typeof SonicTestnet;
|
|
2677
|
+
declare const Chains_Stellar: typeof Stellar;
|
|
2678
|
+
declare const Chains_StellarTestnet: typeof StellarTestnet;
|
|
2679
|
+
declare const Chains_Sui: typeof Sui;
|
|
2680
|
+
declare const Chains_SuiTestnet: typeof SuiTestnet;
|
|
2681
|
+
declare const Chains_Unichain: typeof Unichain;
|
|
2682
|
+
declare const Chains_UnichainSepolia: typeof UnichainSepolia;
|
|
2683
|
+
declare const Chains_WorldChain: typeof WorldChain;
|
|
2684
|
+
declare const Chains_WorldChainSepolia: typeof WorldChainSepolia;
|
|
2685
|
+
declare const Chains_XDC: typeof XDC;
|
|
2686
|
+
declare const Chains_XDCApothem: typeof XDCApothem;
|
|
2687
|
+
declare const Chains_ZKSyncEra: typeof ZKSyncEra;
|
|
2688
|
+
declare const Chains_ZKSyncEraSepolia: typeof ZKSyncEraSepolia;
|
|
2689
|
+
declare namespace Chains {
|
|
2690
|
+
export {
|
|
2691
|
+
Chains_Algorand as Algorand,
|
|
2692
|
+
Chains_AlgorandTestnet as AlgorandTestnet,
|
|
2693
|
+
Chains_Aptos as Aptos,
|
|
2694
|
+
Chains_AptosTestnet as AptosTestnet,
|
|
2695
|
+
Chains_Arbitrum as Arbitrum,
|
|
2696
|
+
Chains_ArbitrumSepolia as ArbitrumSepolia,
|
|
2697
|
+
Chains_ArcTestnet as ArcTestnet,
|
|
2698
|
+
Chains_Avalanche as Avalanche,
|
|
2699
|
+
Chains_AvalancheFuji as AvalancheFuji,
|
|
2700
|
+
Chains_Base as Base,
|
|
2701
|
+
Chains_BaseSepolia as BaseSepolia,
|
|
2702
|
+
Chains_Celo as Celo,
|
|
2703
|
+
Chains_CeloAlfajoresTestnet as CeloAlfajoresTestnet,
|
|
2704
|
+
Chains_Codex as Codex,
|
|
2705
|
+
Chains_CodexTestnet as CodexTestnet,
|
|
2706
|
+
Chains_Ethereum as Ethereum,
|
|
2707
|
+
Chains_EthereumSepolia as EthereumSepolia,
|
|
2708
|
+
Chains_Hedera as Hedera,
|
|
2709
|
+
Chains_HederaTestnet as HederaTestnet,
|
|
2710
|
+
Chains_HyperEVM as HyperEVM,
|
|
2711
|
+
Chains_HyperEVMTestnet as HyperEVMTestnet,
|
|
2712
|
+
Chains_Ink as Ink,
|
|
2713
|
+
Chains_InkTestnet as InkTestnet,
|
|
2714
|
+
Chains_Linea as Linea,
|
|
2715
|
+
Chains_LineaSepolia as LineaSepolia,
|
|
2716
|
+
Chains_Monad as Monad,
|
|
2717
|
+
Chains_MonadTestnet as MonadTestnet,
|
|
2718
|
+
Chains_NEAR as NEAR,
|
|
2719
|
+
Chains_NEARTestnet as NEARTestnet,
|
|
2720
|
+
Chains_Noble as Noble,
|
|
2721
|
+
Chains_NobleTestnet as NobleTestnet,
|
|
2722
|
+
Chains_Optimism as Optimism,
|
|
2723
|
+
Chains_OptimismSepolia as OptimismSepolia,
|
|
2724
|
+
Chains_Plume as Plume,
|
|
2725
|
+
Chains_PlumeTestnet as PlumeTestnet,
|
|
2726
|
+
Chains_PolkadotAssetHub as PolkadotAssetHub,
|
|
2727
|
+
Chains_PolkadotWestmint as PolkadotWestmint,
|
|
2728
|
+
Chains_Polygon as Polygon,
|
|
2729
|
+
Chains_PolygonAmoy as PolygonAmoy,
|
|
2730
|
+
Chains_Sei as Sei,
|
|
2731
|
+
Chains_SeiTestnet as SeiTestnet,
|
|
2732
|
+
Chains_Solana as Solana,
|
|
2733
|
+
Chains_SolanaDevnet as SolanaDevnet,
|
|
2734
|
+
Chains_Sonic as Sonic,
|
|
2735
|
+
Chains_SonicTestnet as SonicTestnet,
|
|
2736
|
+
Chains_Stellar as Stellar,
|
|
2737
|
+
Chains_StellarTestnet as StellarTestnet,
|
|
2738
|
+
Chains_Sui as Sui,
|
|
2739
|
+
Chains_SuiTestnet as SuiTestnet,
|
|
2740
|
+
Chains_Unichain as Unichain,
|
|
2741
|
+
Chains_UnichainSepolia as UnichainSepolia,
|
|
2742
|
+
Chains_WorldChain as WorldChain,
|
|
2743
|
+
Chains_WorldChainSepolia as WorldChainSepolia,
|
|
2744
|
+
Chains_XDC as XDC,
|
|
2745
|
+
Chains_XDCApothem as XDCApothem,
|
|
2746
|
+
Chains_ZKSyncEra as ZKSyncEra,
|
|
2747
|
+
Chains_ZKSyncEraSepolia as ZKSyncEraSepolia,
|
|
2748
|
+
};
|
|
2749
|
+
}
|
|
2750
|
+
|
|
584
2751
|
/**
|
|
585
2752
|
* Resolves a flexible chain identifier to a ChainDefinition.
|
|
586
2753
|
*
|
|
@@ -783,14 +2950,26 @@ interface SolanaPreparedChainRequestParams {
|
|
|
783
2950
|
*/
|
|
784
2951
|
instructions: TransactionInstruction[];
|
|
785
2952
|
/**
|
|
786
|
-
* Additional signers besides the Adapter
|
|
2953
|
+
* Additional signers besides the Adapter's wallet (e.g. program-derived authorities).
|
|
787
2954
|
*/
|
|
788
2955
|
signers?: Signer[];
|
|
789
2956
|
/**
|
|
790
2957
|
* Optional override for how many compute units this transaction may consume.
|
|
791
|
-
* If omitted, the network
|
|
2958
|
+
* If omitted, the network's default compute budget applies.
|
|
792
2959
|
*/
|
|
793
2960
|
computeUnitLimit?: number;
|
|
2961
|
+
/**
|
|
2962
|
+
* Optional Address Lookup Table accounts for transaction compression.
|
|
2963
|
+
* Used to reduce transaction size by compressing frequently-used addresses.
|
|
2964
|
+
* This is used by @solana/web3.js adapters that have already fetched the ALT data.
|
|
2965
|
+
*/
|
|
2966
|
+
addressLookupTableAccounts?: AddressLookupTableAccount[];
|
|
2967
|
+
/**
|
|
2968
|
+
* Optional Address Lookup Table addresses for transaction compression.
|
|
2969
|
+
* Used by adapters that need to fetch ALT data themselves (e.g., @solana/kit adapters).
|
|
2970
|
+
* These are base58-encoded addresses of ALT accounts to use for compression.
|
|
2971
|
+
*/
|
|
2972
|
+
addressLookupTableAddresses?: string[];
|
|
794
2973
|
}
|
|
795
2974
|
/**
|
|
796
2975
|
* Solana-specific configuration for transaction estimation.
|
|
@@ -1472,6 +3651,34 @@ interface CCTPActionMap {
|
|
|
1472
3651
|
readonly v2: CCTPv2ActionMap;
|
|
1473
3652
|
}
|
|
1474
3653
|
|
|
3654
|
+
/**
|
|
3655
|
+
* Action map for native token operations (ETH, SOL, MATIC, etc.).
|
|
3656
|
+
*
|
|
3657
|
+
* Native tokens are the primary currency of each blockchain network,
|
|
3658
|
+
* used for paying transaction fees and as a store of value.
|
|
3659
|
+
* These actions operate on the native token without requiring
|
|
3660
|
+
* a separate token contract address.
|
|
3661
|
+
*
|
|
3662
|
+
* @remarks
|
|
3663
|
+
* Native token operations differ from ERC-20/SPL token operations
|
|
3664
|
+
* in that they don't require contract interactions for basic transfers
|
|
3665
|
+
* and balance checks.
|
|
3666
|
+
*
|
|
3667
|
+
* @see {@link ActionMap} for the complete action structure
|
|
3668
|
+
*/
|
|
3669
|
+
interface NativeActionMap {
|
|
3670
|
+
/**
|
|
3671
|
+
* Get the native token balance (SOL, ETH, etc.) for a wallet address.
|
|
3672
|
+
*/
|
|
3673
|
+
balanceOf: ActionParameters & {
|
|
3674
|
+
/**
|
|
3675
|
+
* The address to check the native balance for. If not provided, it will be
|
|
3676
|
+
* automatically derived from the adapter context.
|
|
3677
|
+
*/
|
|
3678
|
+
walletAddress?: string | undefined;
|
|
3679
|
+
};
|
|
3680
|
+
}
|
|
3681
|
+
|
|
1475
3682
|
interface TokenActionMap {
|
|
1476
3683
|
/**
|
|
1477
3684
|
* Set an allowance for a delegate to spend tokens on behalf of the wallet.
|
|
@@ -1703,6 +3910,8 @@ interface USDCActionMap {
|
|
|
1703
3910
|
interface ActionMap {
|
|
1704
3911
|
/** CCTP-specific operations with automatic address resolution. */
|
|
1705
3912
|
readonly cctp: CCTPActionMap;
|
|
3913
|
+
/** Native token operations (ETH, SOL, MATIC, etc.). */
|
|
3914
|
+
readonly native: NativeActionMap;
|
|
1706
3915
|
/** General token operations requiring explicit token addresses. */
|
|
1707
3916
|
readonly token: TokenActionMap;
|
|
1708
3917
|
/** USDC-specific operations with automatic address resolution. */
|
|
@@ -3488,6 +5697,102 @@ interface BridgeParams<TFromAdapterCapabilities extends AdapterCapabilities = Ad
|
|
|
3488
5697
|
*/
|
|
3489
5698
|
token?: 'USDC';
|
|
3490
5699
|
}
|
|
5700
|
+
/**
|
|
5701
|
+
* Union of all chain definition types.
|
|
5702
|
+
*
|
|
5703
|
+
* Each chain preserves literal types via `as const`.
|
|
5704
|
+
*
|
|
5705
|
+
* @internal
|
|
5706
|
+
*/
|
|
5707
|
+
type AllChainDefinitions = (typeof Chains)[keyof typeof Chains];
|
|
5708
|
+
/**
|
|
5709
|
+
* Filter chain definitions to only those with CCTP v2 support.
|
|
5710
|
+
*
|
|
5711
|
+
* @internal
|
|
5712
|
+
*/
|
|
5713
|
+
type FilterCCTPV2<T> = T extends {
|
|
5714
|
+
cctp: {
|
|
5715
|
+
contracts: {
|
|
5716
|
+
v2: unknown;
|
|
5717
|
+
};
|
|
5718
|
+
};
|
|
5719
|
+
} ? T : never;
|
|
5720
|
+
/**
|
|
5721
|
+
* Chain types that support CCTP v2 bridging.
|
|
5722
|
+
*
|
|
5723
|
+
* This type is automatically derived from the actual chain definitions, so it
|
|
5724
|
+
* updates when new chain types gain CCTP v2 support.
|
|
5725
|
+
*
|
|
5726
|
+
* @example
|
|
5727
|
+
* ```typescript
|
|
5728
|
+
* import type { CCTPV2SupportedChainType } from '@circle-fin/bridge-kit'
|
|
5729
|
+
*
|
|
5730
|
+
* const chainType: CCTPV2SupportedChainType = 'evm' // Valid
|
|
5731
|
+
* console.log(chainType)
|
|
5732
|
+
* ```
|
|
5733
|
+
*/
|
|
5734
|
+
type CCTPV2SupportedChainType = FilterCCTPV2<AllChainDefinitions>['type'];
|
|
5735
|
+
/**
|
|
5736
|
+
* Options for filtering supported chains returned by {@link BridgeKit.getSupportedChains}.
|
|
5737
|
+
*
|
|
5738
|
+
* At least one filtering option must be provided. Multiple options can be combined to create more specific filters.
|
|
5739
|
+
*
|
|
5740
|
+
* @example
|
|
5741
|
+
* ```typescript
|
|
5742
|
+
* const kit = new BridgeKit()
|
|
5743
|
+
*
|
|
5744
|
+
* // Get all supported chains (no filtering)
|
|
5745
|
+
* const allChains = kit.getSupportedChains()
|
|
5746
|
+
*
|
|
5747
|
+
* // Get only EVM chains
|
|
5748
|
+
* const evmChains = kit.getSupportedChains({ chainType: 'evm' })
|
|
5749
|
+
*
|
|
5750
|
+
* // Get EVM and Solana chains
|
|
5751
|
+
* const evmAndSolana = kit.getSupportedChains({ chainType: ['evm', 'solana'] })
|
|
5752
|
+
*
|
|
5753
|
+
* // Get only mainnet chains
|
|
5754
|
+
* const mainnets = kit.getSupportedChains({ isTestnet: false })
|
|
5755
|
+
*
|
|
5756
|
+
* // Get only EVM mainnet chains
|
|
5757
|
+
* const evmMainnets = kit.getSupportedChains({ chainType: 'evm', isTestnet: false })
|
|
5758
|
+
* ```
|
|
5759
|
+
*/
|
|
5760
|
+
type GetSupportedChainsOptions = {
|
|
5761
|
+
/**
|
|
5762
|
+
* Filter chains by type (e.g., 'evm', 'solana').
|
|
5763
|
+
* Can be a single type or an array of types.
|
|
5764
|
+
* If not provided, returns chains of all types.
|
|
5765
|
+
*
|
|
5766
|
+
* @example
|
|
5767
|
+
* ```typescript
|
|
5768
|
+
* // Single type
|
|
5769
|
+
* kit.getSupportedChains({ chainType: 'evm' })
|
|
5770
|
+
*
|
|
5771
|
+
* // Multiple types
|
|
5772
|
+
* kit.getSupportedChains({ chainType: ['evm', 'solana'] })
|
|
5773
|
+
* ```
|
|
5774
|
+
*/
|
|
5775
|
+
chainType: CCTPV2SupportedChainType | CCTPV2SupportedChainType[];
|
|
5776
|
+
/**
|
|
5777
|
+
* Filter chains by network type.
|
|
5778
|
+
* - `true`: only testnet chains
|
|
5779
|
+
* - `false`: only mainnet chains
|
|
5780
|
+
* - `undefined`: all chains (default)
|
|
5781
|
+
*
|
|
5782
|
+
* @example
|
|
5783
|
+
* ```typescript
|
|
5784
|
+
* // Get only mainnet chains
|
|
5785
|
+
* kit.getSupportedChains({ isTestnet: false })
|
|
5786
|
+
*
|
|
5787
|
+
* // Get only testnet chains
|
|
5788
|
+
* kit.getSupportedChains({ isTestnet: true })
|
|
5789
|
+
* ```
|
|
5790
|
+
*/
|
|
5791
|
+
isTestnet?: boolean;
|
|
5792
|
+
} | {
|
|
5793
|
+
chainType?: CCTPV2SupportedChainType | CCTPV2SupportedChainType[];
|
|
5794
|
+
isTestnet: boolean;
|
|
5795
|
+
};
|
|
3491
5796
|
|
|
3492
5797
|
/**
|
|
3493
5798
|
* The default providers that will be used in addition to the providers provided
|
|
@@ -3939,7 +6244,7 @@ declare class BridgeKit<TExtraProviders extends FlexibleBridgingProvider[] = []>
|
|
|
3939
6244
|
*/
|
|
3940
6245
|
estimate<TFromAdapterCapabilities extends AdapterCapabilities, TToAdapterCapabilities extends AdapterCapabilities>(params: BridgeParams<TFromAdapterCapabilities, TToAdapterCapabilities>): Promise<EstimateResult>;
|
|
3941
6246
|
/**
|
|
3942
|
-
* Get all chains supported by any provider in the kit.
|
|
6247
|
+
* Get all chains supported by any provider in the kit, with optional filtering.
|
|
3943
6248
|
*
|
|
3944
6249
|
* Aggregate and deduplicate the supported chains from all registered providers.
|
|
3945
6250
|
* This provides a comprehensive list of chains that can be used as either source
|
|
@@ -3949,6 +6254,7 @@ declare class BridgeKit<TExtraProviders extends FlexibleBridgingProvider[] = []>
|
|
|
3949
6254
|
* ensuring each chain appears only once in the result regardless of how many
|
|
3950
6255
|
* providers support it.
|
|
3951
6256
|
*
|
|
6257
|
+
* @param options - Optional filtering options to narrow down the returned chains
|
|
3952
6258
|
* @returns Array of unique chain definitions supported by the registered providers
|
|
3953
6259
|
*
|
|
3954
6260
|
* @example
|
|
@@ -3956,15 +6262,29 @@ declare class BridgeKit<TExtraProviders extends FlexibleBridgingProvider[] = []>
|
|
|
3956
6262
|
* import { BridgeKit } from '@circle-fin/bridge-kit'
|
|
3957
6263
|
*
|
|
3958
6264
|
* const kit = new BridgeKit()
|
|
3959
|
-
*
|
|
6265
|
+
*
|
|
6266
|
+
* // Get all supported chains (no filtering)
|
|
6267
|
+
* const allChains = kit.getSupportedChains()
|
|
6268
|
+
*
|
|
6269
|
+
* // Get only EVM chains
|
|
6270
|
+
* const evmChains = kit.getSupportedChains({ chainType: 'evm' })
|
|
6271
|
+
*
|
|
6272
|
+
* // Get EVM and Solana chains
|
|
6273
|
+
* const evmAndSolana = kit.getSupportedChains({ chainType: ['evm', 'solana'] })
|
|
6274
|
+
*
|
|
6275
|
+
* // Get only mainnet chains
|
|
6276
|
+
* const mainnets = kit.getSupportedChains({ isTestnet: false })
|
|
6277
|
+
*
|
|
6278
|
+
* // Get only EVM mainnet chains
|
|
6279
|
+
* const evmMainnets = kit.getSupportedChains({ chainType: 'evm', isTestnet: false })
|
|
3960
6280
|
*
|
|
3961
6281
|
* console.log('Supported chains:')
|
|
3962
|
-
*
|
|
6282
|
+
* allChains.forEach(chain => {
|
|
3963
6283
|
* console.log(`- ${chain.name} (${chain.type})`)
|
|
3964
6284
|
* })
|
|
3965
6285
|
* ```
|
|
3966
6286
|
*/
|
|
3967
|
-
getSupportedChains(): ChainDefinition[];
|
|
6287
|
+
getSupportedChains(options?: GetSupportedChainsOptions): ChainDefinition[];
|
|
3968
6288
|
/**
|
|
3969
6289
|
* Validate that source and destination chains are on the same network type.
|
|
3970
6290
|
*
|
|
@@ -4366,7 +6686,7 @@ type Recoverability = (typeof RECOVERABILITY_VALUES)[number];
|
|
|
4366
6686
|
* Array of valid error type values for validation.
|
|
4367
6687
|
* Derived from ERROR_TYPES const object.
|
|
4368
6688
|
*/
|
|
4369
|
-
declare const ERROR_TYPE_VALUES: ("INPUT" | "BALANCE" | "ONCHAIN" | "RPC" | "NETWORK")[];
|
|
6689
|
+
declare const ERROR_TYPE_VALUES: ("INPUT" | "BALANCE" | "ONCHAIN" | "RPC" | "NETWORK" | "UNKNOWN")[];
|
|
4370
6690
|
/**
|
|
4371
6691
|
* Error type indicating the category of the error.
|
|
4372
6692
|
*/
|
|
@@ -4493,6 +6813,7 @@ declare class KitError extends Error implements ErrorDetails {
|
|
|
4493
6813
|
/**
|
|
4494
6814
|
* Standardized error code ranges for consistent categorization:
|
|
4495
6815
|
*
|
|
6816
|
+
* - 0: UNKNOWN - Catch-all for unrecognized errors
|
|
4496
6817
|
* - 1000-1999: INPUT errors - Parameter validation, input format errors
|
|
4497
6818
|
* - 3000-3999: NETWORK errors - Internet connectivity, DNS, connection issues
|
|
4498
6819
|
* - 4000-4999: RPC errors - Blockchain provider issues, gas estimation, nonce errors
|
|
@@ -4557,6 +6878,12 @@ declare const InputError: {
|
|
|
4557
6878
|
readonly name: "INPUT_INVALID_CHAIN";
|
|
4558
6879
|
readonly type: ErrorType;
|
|
4559
6880
|
};
|
|
6881
|
+
/** Invalid or unknown token (symbol not found, missing decimals, etc.) */
|
|
6882
|
+
readonly INVALID_TOKEN: {
|
|
6883
|
+
readonly code: 1006;
|
|
6884
|
+
readonly name: "INPUT_INVALID_TOKEN";
|
|
6885
|
+
readonly type: ErrorType;
|
|
6886
|
+
};
|
|
4560
6887
|
/** General validation failure for complex validation rules */
|
|
4561
6888
|
readonly VALIDATION_FAILED: {
|
|
4562
6889
|
readonly code: 1098;
|
|
@@ -4770,14 +7097,23 @@ declare function isKitError(error: unknown): error is KitError;
|
|
|
4770
7097
|
*/
|
|
4771
7098
|
declare function isFatalError(error: unknown): boolean;
|
|
4772
7099
|
/**
|
|
4773
|
-
* Checks if an error is
|
|
7100
|
+
* Checks if an error is retryable.
|
|
7101
|
+
*
|
|
7102
|
+
* @remarks
|
|
7103
|
+
* Check order for KitError instances:
|
|
7104
|
+
* 1. If `recoverability === 'RETRYABLE'`, return `true` immediately (priority check).
|
|
7105
|
+
* 2. Otherwise, check if `error.code` is in `DEFAULT_RETRYABLE_ERROR_CODES` (fallback check).
|
|
7106
|
+
* 3. Non-KitError instances always return `false`.
|
|
7107
|
+
*
|
|
7108
|
+
* This two-tier approach allows both explicit recoverability control and
|
|
7109
|
+
* backward-compatible code-based retry logic.
|
|
4774
7110
|
*
|
|
4775
7111
|
* RETRYABLE errors indicate transient failures that may succeed on
|
|
4776
7112
|
* subsequent attempts, such as network timeouts or temporary service
|
|
4777
7113
|
* unavailability. These errors are safe to retry after a delay.
|
|
4778
7114
|
*
|
|
4779
7115
|
* @param error - Unknown error to check
|
|
4780
|
-
* @returns True if error is
|
|
7116
|
+
* @returns True if error is retryable
|
|
4781
7117
|
*
|
|
4782
7118
|
* @example
|
|
4783
7119
|
* ```typescript
|
|
@@ -4792,6 +7128,39 @@ declare function isFatalError(error: unknown): boolean;
|
|
|
4792
7128
|
* }
|
|
4793
7129
|
* }
|
|
4794
7130
|
* ```
|
|
7131
|
+
*
|
|
7132
|
+
* @example
|
|
7133
|
+
* ```typescript
|
|
7134
|
+
* import { isRetryableError, createNetworkConnectionError, KitError } from '@core/errors'
|
|
7135
|
+
*
|
|
7136
|
+
* // KitError with RETRYABLE recoverability (priority check)
|
|
7137
|
+
* const error1 = createNetworkConnectionError('Ethereum')
|
|
7138
|
+
* isRetryableError(error1) // true
|
|
7139
|
+
*
|
|
7140
|
+
* // KitError with default retryable code (fallback check)
|
|
7141
|
+
* const error2 = new KitError({
|
|
7142
|
+
* code: 3002, // NETWORK_TIMEOUT - in DEFAULT_RETRYABLE_ERROR_CODES
|
|
7143
|
+
* name: 'NETWORK_TIMEOUT',
|
|
7144
|
+
* type: 'NETWORK',
|
|
7145
|
+
* recoverability: 'FATAL', // Not RETRYABLE
|
|
7146
|
+
* message: 'Timeout',
|
|
7147
|
+
* })
|
|
7148
|
+
* isRetryableError(error2) // true (code 3002 is in default list)
|
|
7149
|
+
*
|
|
7150
|
+
* // KitError with non-retryable code and FATAL recoverability
|
|
7151
|
+
* const error3 = new KitError({
|
|
7152
|
+
* code: 1001,
|
|
7153
|
+
* name: 'INVALID_INPUT',
|
|
7154
|
+
* type: 'INPUT',
|
|
7155
|
+
* recoverability: 'FATAL',
|
|
7156
|
+
* message: 'Invalid input',
|
|
7157
|
+
* })
|
|
7158
|
+
* isRetryableError(error3) // false
|
|
7159
|
+
*
|
|
7160
|
+
* // Non-KitError
|
|
7161
|
+
* const error4 = new Error('Standard error')
|
|
7162
|
+
* isRetryableError(error4) // false
|
|
7163
|
+
* ```
|
|
4795
7164
|
*/
|
|
4796
7165
|
declare function isRetryableError(error: unknown): boolean;
|
|
4797
7166
|
/**
|
|
@@ -4971,4 +7340,4 @@ declare function getErrorMessage(error: unknown): string;
|
|
|
4971
7340
|
declare function getErrorCode(error: unknown): number | null;
|
|
4972
7341
|
|
|
4973
7342
|
export { BalanceError, Blockchain, BridgeChain, BridgeKit, InputError, KitError, NetworkError, OnchainError, RpcError, TransferSpeed, bridgeParamsWithChainIdentifierSchema, getErrorCode, getErrorMessage, isBalanceError, isFatalError, isInputError, isKitError, isNetworkError, isOnchainError, isRetryableError, isRpcError, resolveChainIdentifier, setExternalPrefix };
|
|
4974
|
-
export type { ActionHandler, AdapterContext, BaseChainDefinition, BridgeChainIdentifier, BridgeConfig, BridgeKitConfig, BridgeParams, BridgeResult, CCTPConfig, CCTPContracts, CCTPMergedConfig, CCTPSplitConfig, ChainDefinition, ChainIdentifier, Currency, CustomFeePolicy, EVMChainDefinition, ErrorDetails, EstimateResult, EstimatedGas, KitContractType, KitContracts, NonEVMChainDefinition, Recoverability, RetryContext, VersionConfig };
|
|
7343
|
+
export type { ActionHandler, AdapterContext, BaseChainDefinition, BridgeChainIdentifier, BridgeConfig, BridgeKitConfig, BridgeParams, BridgeResult, CCTPConfig, CCTPContracts, CCTPMergedConfig, CCTPSplitConfig, CCTPV2SupportedChainType, ChainDefinition, ChainIdentifier, Currency, CustomFeePolicy, EVMChainDefinition, ErrorDetails, EstimateResult, EstimatedGas, GetSupportedChainsOptions, KitContractType, KitContracts, NonEVMChainDefinition, Recoverability, RetryContext, VersionConfig };
|