@circle-fin/bridge-kit 1.0.0 → 1.1.1
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 +109 -0
- package/QUICKSTART.md +175 -11
- package/README.md +79 -3
- package/{chains.cjs.js → chains.cjs} +71 -17
- package/chains.cjs.map +1 -0
- package/chains.d.ts +444 -7
- package/chains.mjs +60 -17
- package/{index.cjs.js → index.cjs} +3592 -3254
- package/index.cjs.map +1 -0
- package/index.d.ts +299 -23
- package/index.mjs +3580 -3249
- package/package.json +10 -7
- package/chains.cjs.js.map +0 -1
- package/index.cjs.js.map +0 -1
package/chains.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ declare enum Blockchain {
|
|
|
27
27
|
Algorand_Testnet = "Algorand_Testnet",
|
|
28
28
|
Aptos = "Aptos",
|
|
29
29
|
Aptos_Testnet = "Aptos_Testnet",
|
|
30
|
+
Arc_Testnet = "Arc_Testnet",
|
|
30
31
|
Arbitrum = "Arbitrum",
|
|
31
32
|
Arbitrum_Sepolia = "Arbitrum_Sepolia",
|
|
32
33
|
Avalanche = "Avalanche",
|
|
@@ -79,6 +80,48 @@ declare enum Blockchain {
|
|
|
79
80
|
ZKSync_Sepolia = "ZKSync_Sepolia"
|
|
80
81
|
}
|
|
81
82
|
|
|
83
|
+
/**
|
|
84
|
+
* Arc Testnet chain definition
|
|
85
|
+
* @remarks
|
|
86
|
+
* This represents the test network for the Arc blockchain,
|
|
87
|
+
* Circle's EVM-compatible Layer-1 designed for stablecoin finance
|
|
88
|
+
* and asset tokenization. Arc uses USDC as the native gas token and
|
|
89
|
+
* features the Malachite Byzantine Fault Tolerant (BFT) consensus
|
|
90
|
+
* engine for sub-second finality.
|
|
91
|
+
*/
|
|
92
|
+
declare const ArcTestnet: {
|
|
93
|
+
readonly type: "evm";
|
|
94
|
+
readonly chain: Blockchain.Arc_Testnet;
|
|
95
|
+
readonly name: "Arc Testnet";
|
|
96
|
+
readonly title: "ArcTestnet";
|
|
97
|
+
readonly nativeCurrency: {
|
|
98
|
+
readonly name: "Arc";
|
|
99
|
+
readonly symbol: "Arc";
|
|
100
|
+
readonly decimals: 18;
|
|
101
|
+
};
|
|
102
|
+
readonly chainId: 5042002;
|
|
103
|
+
readonly isTestnet: true;
|
|
104
|
+
readonly explorerUrl: "https://testnet.arcscan.app/tx/{hash}";
|
|
105
|
+
readonly rpcEndpoints: readonly ["https://rpc.testnet.arc.network/"];
|
|
106
|
+
readonly eurcAddress: "0x89B50855Aa3bE2F677cD6303Cec089B5F319D72a";
|
|
107
|
+
readonly usdcAddress: "0x3600000000000000000000000000000000000000";
|
|
108
|
+
readonly cctp: {
|
|
109
|
+
readonly domain: 26;
|
|
110
|
+
readonly contracts: {
|
|
111
|
+
readonly v2: {
|
|
112
|
+
readonly type: "split";
|
|
113
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
114
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
115
|
+
readonly confirmations: 1;
|
|
116
|
+
readonly fastConfirmations: 1;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
readonly kitContracts: {
|
|
121
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
|
|
82
125
|
/**
|
|
83
126
|
* Arbitrum Mainnet chain definition
|
|
84
127
|
* @remarks
|
|
@@ -507,6 +550,164 @@ declare const EthereumSepolia: {
|
|
|
507
550
|
};
|
|
508
551
|
};
|
|
509
552
|
|
|
553
|
+
/**
|
|
554
|
+
* HyperEVM Mainnet chain definition
|
|
555
|
+
* @remarks
|
|
556
|
+
* This represents the official production network for the HyperEVM blockchain.
|
|
557
|
+
* HyperEVM is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
558
|
+
* with native orderbook and matching engine.
|
|
559
|
+
*/
|
|
560
|
+
declare const HyperEVM: {
|
|
561
|
+
readonly type: "evm";
|
|
562
|
+
readonly chain: Blockchain.HyperEVM;
|
|
563
|
+
readonly name: "HyperEVM";
|
|
564
|
+
readonly title: "HyperEVM Mainnet";
|
|
565
|
+
readonly nativeCurrency: {
|
|
566
|
+
readonly name: "Hype";
|
|
567
|
+
readonly symbol: "HYPE";
|
|
568
|
+
readonly decimals: 18;
|
|
569
|
+
};
|
|
570
|
+
readonly chainId: 999;
|
|
571
|
+
readonly isTestnet: false;
|
|
572
|
+
readonly explorerUrl: "https://hyperevmscan.io/tx/{hash}";
|
|
573
|
+
readonly rpcEndpoints: readonly ["https://rpc.hyperliquid.xyz/evm"];
|
|
574
|
+
readonly eurcAddress: null;
|
|
575
|
+
readonly usdcAddress: "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
|
|
576
|
+
readonly cctp: {
|
|
577
|
+
readonly domain: 19;
|
|
578
|
+
readonly contracts: {
|
|
579
|
+
readonly v2: {
|
|
580
|
+
readonly type: "split";
|
|
581
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
582
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
583
|
+
readonly confirmations: 1;
|
|
584
|
+
readonly fastConfirmations: 1;
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
readonly kitContracts: {
|
|
589
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* HyperEVM Testnet chain definition
|
|
595
|
+
* @remarks
|
|
596
|
+
* This represents the official testnet for the HyperEVM blockchain.
|
|
597
|
+
* Used for development and testing purposes before deploying to mainnet.
|
|
598
|
+
*/
|
|
599
|
+
declare const HyperEVMTestnet: {
|
|
600
|
+
readonly type: "evm";
|
|
601
|
+
readonly chain: Blockchain.HyperEVM_Testnet;
|
|
602
|
+
readonly name: "HyperEVM Testnet";
|
|
603
|
+
readonly title: "HyperEVM Test Network";
|
|
604
|
+
readonly nativeCurrency: {
|
|
605
|
+
readonly name: "Hype";
|
|
606
|
+
readonly symbol: "HYPE";
|
|
607
|
+
readonly decimals: 18;
|
|
608
|
+
};
|
|
609
|
+
readonly chainId: 998;
|
|
610
|
+
readonly isTestnet: true;
|
|
611
|
+
readonly explorerUrl: "https://testnet.hyperliquid.xyz/explorer/tx/{hash}";
|
|
612
|
+
readonly rpcEndpoints: readonly ["https://rpc.hyperliquid-testnet.xyz/evm"];
|
|
613
|
+
readonly eurcAddress: null;
|
|
614
|
+
readonly usdcAddress: "0x2B3370eE501B4a559b57D449569354196457D8Ab";
|
|
615
|
+
readonly cctp: {
|
|
616
|
+
readonly domain: 19;
|
|
617
|
+
readonly contracts: {
|
|
618
|
+
readonly v2: {
|
|
619
|
+
readonly type: "split";
|
|
620
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
621
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
622
|
+
readonly confirmations: 1;
|
|
623
|
+
readonly fastConfirmations: 1;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
readonly kitContracts: {
|
|
628
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Ink Mainnet chain definition
|
|
634
|
+
* @remarks
|
|
635
|
+
* This represents the official production network for the Ink blockchain.
|
|
636
|
+
* Ink is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
637
|
+
* with native orderbook and matching engine.
|
|
638
|
+
*/
|
|
639
|
+
declare const Ink: {
|
|
640
|
+
readonly type: "evm";
|
|
641
|
+
readonly chain: Blockchain.Ink;
|
|
642
|
+
readonly name: "Ink";
|
|
643
|
+
readonly title: "Ink Mainnet";
|
|
644
|
+
readonly nativeCurrency: {
|
|
645
|
+
readonly name: "Ether";
|
|
646
|
+
readonly symbol: "ETH";
|
|
647
|
+
readonly decimals: 18;
|
|
648
|
+
};
|
|
649
|
+
readonly chainId: 57073;
|
|
650
|
+
readonly isTestnet: false;
|
|
651
|
+
readonly explorerUrl: "https://explorer.inkonchain.com/tx/{hash}";
|
|
652
|
+
readonly rpcEndpoints: readonly ["https://rpc-gel.inkonchain.com", "https://rpc-qnd.inkonchain.com"];
|
|
653
|
+
readonly eurcAddress: null;
|
|
654
|
+
readonly usdcAddress: "0x2D270e6886d130D724215A266106e6832161EAEd";
|
|
655
|
+
readonly cctp: {
|
|
656
|
+
readonly domain: 21;
|
|
657
|
+
readonly contracts: {
|
|
658
|
+
readonly v2: {
|
|
659
|
+
readonly type: "split";
|
|
660
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
661
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
662
|
+
readonly confirmations: 65;
|
|
663
|
+
readonly fastConfirmations: 1;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
readonly kitContracts: {
|
|
668
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Ink Testnet chain definition
|
|
674
|
+
* @remarks
|
|
675
|
+
* This represents the official testnet for the Ink blockchain.
|
|
676
|
+
* Used for development and testing purposes before deploying to mainnet.
|
|
677
|
+
*/
|
|
678
|
+
declare const InkTestnet: {
|
|
679
|
+
readonly type: "evm";
|
|
680
|
+
readonly chain: Blockchain.Ink_Testnet;
|
|
681
|
+
readonly name: "Ink Sepolia";
|
|
682
|
+
readonly title: "Ink Sepolia Testnet";
|
|
683
|
+
readonly nativeCurrency: {
|
|
684
|
+
readonly name: "Sepolia Ether";
|
|
685
|
+
readonly symbol: "ETH";
|
|
686
|
+
readonly decimals: 18;
|
|
687
|
+
};
|
|
688
|
+
readonly chainId: 763373;
|
|
689
|
+
readonly isTestnet: true;
|
|
690
|
+
readonly explorerUrl: "https://explorer-sepolia.inkonchain.com/tx/{hash}";
|
|
691
|
+
readonly rpcEndpoints: readonly ["https://rpc-gel-sepolia.inkonchain.com", "https://rpc-qnd-sepolia.inkonchain.com"];
|
|
692
|
+
readonly eurcAddress: null;
|
|
693
|
+
readonly usdcAddress: "0xFabab97dCE620294D2B0b0e46C68964e326300Ac";
|
|
694
|
+
readonly cctp: {
|
|
695
|
+
readonly domain: 21;
|
|
696
|
+
readonly contracts: {
|
|
697
|
+
readonly v2: {
|
|
698
|
+
readonly type: "split";
|
|
699
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
700
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
701
|
+
readonly confirmations: 65;
|
|
702
|
+
readonly fastConfirmations: 1;
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
readonly kitContracts: {
|
|
707
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
|
|
510
711
|
/**
|
|
511
712
|
* Linea Mainnet chain definition
|
|
512
713
|
* @remarks
|
|
@@ -671,6 +872,85 @@ declare const OptimismSepolia: {
|
|
|
671
872
|
};
|
|
672
873
|
};
|
|
673
874
|
|
|
875
|
+
/**
|
|
876
|
+
* Plume Mainnet chain definition
|
|
877
|
+
* @remarks
|
|
878
|
+
* This represents the official production network for the Plume blockchain.
|
|
879
|
+
* Plume is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
880
|
+
* with native orderbook and matching engine.
|
|
881
|
+
*/
|
|
882
|
+
declare const Plume: {
|
|
883
|
+
readonly type: "evm";
|
|
884
|
+
readonly chain: Blockchain.Plume;
|
|
885
|
+
readonly name: "Plume";
|
|
886
|
+
readonly title: "Plume Mainnet";
|
|
887
|
+
readonly nativeCurrency: {
|
|
888
|
+
readonly name: "Plume";
|
|
889
|
+
readonly symbol: "PLUME";
|
|
890
|
+
readonly decimals: 18;
|
|
891
|
+
};
|
|
892
|
+
readonly chainId: 98866;
|
|
893
|
+
readonly isTestnet: false;
|
|
894
|
+
readonly explorerUrl: "https://explorer.plume.org/tx/{hash}";
|
|
895
|
+
readonly rpcEndpoints: readonly ["https://rpc.plume.org"];
|
|
896
|
+
readonly eurcAddress: null;
|
|
897
|
+
readonly usdcAddress: "0x222365EF19F7947e5484218551B56bb3965Aa7aF";
|
|
898
|
+
readonly cctp: {
|
|
899
|
+
readonly domain: 22;
|
|
900
|
+
readonly contracts: {
|
|
901
|
+
readonly v2: {
|
|
902
|
+
readonly type: "split";
|
|
903
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
904
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
905
|
+
readonly confirmations: 65;
|
|
906
|
+
readonly fastConfirmations: 1;
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
readonly kitContracts: {
|
|
911
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Plume Testnet chain definition
|
|
917
|
+
* @remarks
|
|
918
|
+
* This represents the official testnet for the Plume blockchain.
|
|
919
|
+
* Used for development and testing purposes before deploying to mainnet.
|
|
920
|
+
*/
|
|
921
|
+
declare const PlumeTestnet: {
|
|
922
|
+
readonly type: "evm";
|
|
923
|
+
readonly chain: Blockchain.Plume_Testnet;
|
|
924
|
+
readonly name: "Plume Testnet";
|
|
925
|
+
readonly title: "Plume Test Network";
|
|
926
|
+
readonly nativeCurrency: {
|
|
927
|
+
readonly name: "Plume";
|
|
928
|
+
readonly symbol: "PLUME";
|
|
929
|
+
readonly decimals: 18;
|
|
930
|
+
};
|
|
931
|
+
readonly chainId: 98867;
|
|
932
|
+
readonly isTestnet: true;
|
|
933
|
+
readonly explorerUrl: "https://testnet-explorer.plume.org/tx/{hash}";
|
|
934
|
+
readonly rpcEndpoints: readonly ["https://testnet-rpc.plume.org"];
|
|
935
|
+
readonly eurcAddress: null;
|
|
936
|
+
readonly usdcAddress: "0xcB5f30e335672893c7eb944B374c196392C19D18";
|
|
937
|
+
readonly cctp: {
|
|
938
|
+
readonly domain: 22;
|
|
939
|
+
readonly contracts: {
|
|
940
|
+
readonly v2: {
|
|
941
|
+
readonly type: "split";
|
|
942
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
943
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
944
|
+
readonly confirmations: 65;
|
|
945
|
+
readonly fastConfirmations: 1;
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
};
|
|
949
|
+
readonly kitContracts: {
|
|
950
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
|
|
674
954
|
/**
|
|
675
955
|
* Polygon Mainnet chain definition
|
|
676
956
|
* @remarks
|
|
@@ -759,6 +1039,85 @@ declare const PolygonAmoy: {
|
|
|
759
1039
|
};
|
|
760
1040
|
};
|
|
761
1041
|
|
|
1042
|
+
/**
|
|
1043
|
+
* Sei Mainnet chain definition
|
|
1044
|
+
* @remarks
|
|
1045
|
+
* This represents the official production network for the Sei blockchain.
|
|
1046
|
+
* Sei is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
1047
|
+
* with native orderbook and matching engine.
|
|
1048
|
+
*/
|
|
1049
|
+
declare const Sei: {
|
|
1050
|
+
readonly type: "evm";
|
|
1051
|
+
readonly chain: Blockchain.Sei;
|
|
1052
|
+
readonly name: "Sei";
|
|
1053
|
+
readonly title: "Sei Mainnet";
|
|
1054
|
+
readonly nativeCurrency: {
|
|
1055
|
+
readonly name: "Sei";
|
|
1056
|
+
readonly symbol: "SEI";
|
|
1057
|
+
readonly decimals: 18;
|
|
1058
|
+
};
|
|
1059
|
+
readonly chainId: 1329;
|
|
1060
|
+
readonly isTestnet: false;
|
|
1061
|
+
readonly explorerUrl: "https://seitrace.com/tx/{hash}?chain=pacific-1";
|
|
1062
|
+
readonly rpcEndpoints: readonly ["https://evm-rpc.sei-apis.com"];
|
|
1063
|
+
readonly eurcAddress: null;
|
|
1064
|
+
readonly usdcAddress: "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392";
|
|
1065
|
+
readonly cctp: {
|
|
1066
|
+
readonly domain: 16;
|
|
1067
|
+
readonly contracts: {
|
|
1068
|
+
readonly v2: {
|
|
1069
|
+
readonly type: "split";
|
|
1070
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1071
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1072
|
+
readonly confirmations: 1;
|
|
1073
|
+
readonly fastConfirmations: 1;
|
|
1074
|
+
};
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
readonly kitContracts: {
|
|
1078
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Sei Testnet chain definition
|
|
1084
|
+
* @remarks
|
|
1085
|
+
* This represents the official testnet for the Sei blockchain.
|
|
1086
|
+
* Used for development and testing purposes before deploying to mainnet.
|
|
1087
|
+
*/
|
|
1088
|
+
declare const SeiTestnet: {
|
|
1089
|
+
readonly type: "evm";
|
|
1090
|
+
readonly chain: Blockchain.Sei_Testnet;
|
|
1091
|
+
readonly name: "Sei Testnet";
|
|
1092
|
+
readonly title: "Sei Test Network";
|
|
1093
|
+
readonly nativeCurrency: {
|
|
1094
|
+
readonly name: "Sei";
|
|
1095
|
+
readonly symbol: "SEI";
|
|
1096
|
+
readonly decimals: 18;
|
|
1097
|
+
};
|
|
1098
|
+
readonly chainId: 1328;
|
|
1099
|
+
readonly isTestnet: true;
|
|
1100
|
+
readonly explorerUrl: "https://seitrace.com/tx/{hash}?chain=atlantic-2";
|
|
1101
|
+
readonly rpcEndpoints: readonly ["https://evm-rpc-testnet.sei-apis.com"];
|
|
1102
|
+
readonly eurcAddress: null;
|
|
1103
|
+
readonly usdcAddress: "0x4fCF1784B31630811181f670Aea7A7bEF803eaED";
|
|
1104
|
+
readonly cctp: {
|
|
1105
|
+
readonly domain: 16;
|
|
1106
|
+
readonly contracts: {
|
|
1107
|
+
readonly v2: {
|
|
1108
|
+
readonly type: "split";
|
|
1109
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
1110
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
1111
|
+
readonly confirmations: 1;
|
|
1112
|
+
readonly fastConfirmations: 1;
|
|
1113
|
+
};
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
readonly kitContracts: {
|
|
1117
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
|
|
762
1121
|
/**
|
|
763
1122
|
* Sonic Mainnet chain definition
|
|
764
1123
|
* @remarks
|
|
@@ -798,26 +1157,26 @@ declare const Sonic: {
|
|
|
798
1157
|
};
|
|
799
1158
|
|
|
800
1159
|
/**
|
|
801
|
-
* Sonic
|
|
1160
|
+
* Sonic Testnet chain definition
|
|
802
1161
|
* @remarks
|
|
803
1162
|
* This represents the official test network for the Sonic blockchain.
|
|
804
1163
|
*/
|
|
805
1164
|
declare const SonicTestnet: {
|
|
806
1165
|
readonly type: "evm";
|
|
807
1166
|
readonly chain: Blockchain.Sonic_Testnet;
|
|
808
|
-
readonly name: "Sonic
|
|
809
|
-
readonly title: "Sonic
|
|
1167
|
+
readonly name: "Sonic Testnet";
|
|
1168
|
+
readonly title: "Sonic Testnet";
|
|
810
1169
|
readonly nativeCurrency: {
|
|
811
1170
|
readonly name: "Sonic";
|
|
812
1171
|
readonly symbol: "S";
|
|
813
1172
|
readonly decimals: 18;
|
|
814
1173
|
};
|
|
815
|
-
readonly chainId:
|
|
1174
|
+
readonly chainId: 14601;
|
|
816
1175
|
readonly isTestnet: true;
|
|
817
1176
|
readonly explorerUrl: "https://testnet.sonicscan.org/tx/{hash}";
|
|
818
|
-
readonly rpcEndpoints: readonly ["https://rpc.
|
|
1177
|
+
readonly rpcEndpoints: readonly ["https://rpc.testnet.soniclabs.com"];
|
|
819
1178
|
readonly eurcAddress: null;
|
|
820
|
-
readonly usdcAddress: "
|
|
1179
|
+
readonly usdcAddress: "0x0BA304580ee7c9a980CF72e55f5Ed2E9fd30Bc51";
|
|
821
1180
|
readonly cctp: {
|
|
822
1181
|
readonly domain: 13;
|
|
823
1182
|
readonly contracts: {
|
|
@@ -1085,4 +1444,82 @@ declare const WorldChainSepolia: {
|
|
|
1085
1444
|
};
|
|
1086
1445
|
};
|
|
1087
1446
|
|
|
1088
|
-
|
|
1447
|
+
/**
|
|
1448
|
+
* XDC Mainnet chain definition
|
|
1449
|
+
* @remarks
|
|
1450
|
+
* This represents the official production network for the XDC blockchain.
|
|
1451
|
+
* XDC is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
1452
|
+
* with native orderbook and matching engine.
|
|
1453
|
+
*/
|
|
1454
|
+
declare const XDC: {
|
|
1455
|
+
readonly type: "evm";
|
|
1456
|
+
readonly chain: Blockchain.XDC;
|
|
1457
|
+
readonly name: "XDC";
|
|
1458
|
+
readonly title: "XDC Mainnet";
|
|
1459
|
+
readonly nativeCurrency: {
|
|
1460
|
+
readonly name: "XDC";
|
|
1461
|
+
readonly symbol: "XDC";
|
|
1462
|
+
readonly decimals: 18;
|
|
1463
|
+
};
|
|
1464
|
+
readonly chainId: 50;
|
|
1465
|
+
readonly isTestnet: false;
|
|
1466
|
+
readonly explorerUrl: "https://xdcscan.io/tx/{hash}";
|
|
1467
|
+
readonly rpcEndpoints: readonly ["https://erpc.xinfin.network"];
|
|
1468
|
+
readonly eurcAddress: null;
|
|
1469
|
+
readonly usdcAddress: "0xfA2958CB79b0491CC627c1557F441eF849Ca8eb1";
|
|
1470
|
+
readonly cctp: {
|
|
1471
|
+
readonly domain: 18;
|
|
1472
|
+
readonly contracts: {
|
|
1473
|
+
readonly v2: {
|
|
1474
|
+
readonly type: "split";
|
|
1475
|
+
readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
|
|
1476
|
+
readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
|
|
1477
|
+
readonly confirmations: 3;
|
|
1478
|
+
readonly fastConfirmations: 3;
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1481
|
+
};
|
|
1482
|
+
readonly kitContracts: {
|
|
1483
|
+
readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
|
|
1484
|
+
};
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* XDC Apothem Testnet chain definition
|
|
1489
|
+
* @remarks
|
|
1490
|
+
* This represents the official test network for the XDC Network, known as Apothem.
|
|
1491
|
+
*/
|
|
1492
|
+
declare const XDCApothem: {
|
|
1493
|
+
readonly type: "evm";
|
|
1494
|
+
readonly chain: Blockchain.XDC_Apothem;
|
|
1495
|
+
readonly name: "Apothem Network";
|
|
1496
|
+
readonly title: "Apothem Network";
|
|
1497
|
+
readonly nativeCurrency: {
|
|
1498
|
+
readonly name: "TXDC";
|
|
1499
|
+
readonly symbol: "TXDC";
|
|
1500
|
+
readonly decimals: 18;
|
|
1501
|
+
};
|
|
1502
|
+
readonly chainId: 51;
|
|
1503
|
+
readonly isTestnet: true;
|
|
1504
|
+
readonly explorerUrl: "https://testnet.xdcscan.com/tx/{hash}";
|
|
1505
|
+
readonly rpcEndpoints: readonly ["https://erpc.apothem.network"];
|
|
1506
|
+
readonly eurcAddress: null;
|
|
1507
|
+
readonly usdcAddress: "0xb5AB69F7bBada22B28e79C8FFAECe55eF1c771D4";
|
|
1508
|
+
readonly cctp: {
|
|
1509
|
+
readonly domain: 18;
|
|
1510
|
+
readonly contracts: {
|
|
1511
|
+
readonly v2: {
|
|
1512
|
+
readonly type: "split";
|
|
1513
|
+
readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
|
|
1514
|
+
readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
|
|
1515
|
+
readonly confirmations: 3;
|
|
1516
|
+
readonly fastConfirmations: 1;
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
readonly kitContracts: {
|
|
1521
|
+
readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
|
|
1525
|
+
export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem };
|
package/chains.mjs
CHANGED
|
@@ -33,6 +33,7 @@ var Blockchain;
|
|
|
33
33
|
Blockchain["Algorand_Testnet"] = "Algorand_Testnet";
|
|
34
34
|
Blockchain["Aptos"] = "Aptos";
|
|
35
35
|
Blockchain["Aptos_Testnet"] = "Aptos_Testnet";
|
|
36
|
+
Blockchain["Arc_Testnet"] = "Arc_Testnet";
|
|
36
37
|
Blockchain["Arbitrum"] = "Arbitrum";
|
|
37
38
|
Blockchain["Arbitrum_Sepolia"] = "Arbitrum_Sepolia";
|
|
38
39
|
Blockchain["Avalanche"] = "Avalanche";
|
|
@@ -253,6 +254,48 @@ const BRIDGE_CONTRACT_EVM_TESTNET = '0xC5567a5E3370d4DBfB0540025078e283e36A363d'
|
|
|
253
254
|
*/
|
|
254
255
|
const BRIDGE_CONTRACT_EVM_MAINNET = '0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0';
|
|
255
256
|
|
|
257
|
+
/**
|
|
258
|
+
* Arc Testnet chain definition
|
|
259
|
+
* @remarks
|
|
260
|
+
* This represents the test network for the Arc blockchain,
|
|
261
|
+
* Circle's EVM-compatible Layer-1 designed for stablecoin finance
|
|
262
|
+
* and asset tokenization. Arc uses USDC as the native gas token and
|
|
263
|
+
* features the Malachite Byzantine Fault Tolerant (BFT) consensus
|
|
264
|
+
* engine for sub-second finality.
|
|
265
|
+
*/
|
|
266
|
+
const ArcTestnet = defineChain({
|
|
267
|
+
type: 'evm',
|
|
268
|
+
chain: Blockchain.Arc_Testnet,
|
|
269
|
+
name: 'Arc Testnet',
|
|
270
|
+
title: 'ArcTestnet',
|
|
271
|
+
nativeCurrency: {
|
|
272
|
+
name: 'Arc',
|
|
273
|
+
symbol: 'Arc',
|
|
274
|
+
decimals: 18,
|
|
275
|
+
},
|
|
276
|
+
chainId: 5042002,
|
|
277
|
+
isTestnet: true,
|
|
278
|
+
explorerUrl: 'https://testnet.arcscan.app/tx/{hash}',
|
|
279
|
+
rpcEndpoints: ['https://rpc.testnet.arc.network/'],
|
|
280
|
+
eurcAddress: '0x89B50855Aa3bE2F677cD6303Cec089B5F319D72a',
|
|
281
|
+
usdcAddress: '0x3600000000000000000000000000000000000000',
|
|
282
|
+
cctp: {
|
|
283
|
+
domain: 26,
|
|
284
|
+
contracts: {
|
|
285
|
+
v2: {
|
|
286
|
+
type: 'split',
|
|
287
|
+
tokenMessenger: '0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA',
|
|
288
|
+
messageTransmitter: '0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275',
|
|
289
|
+
confirmations: 1,
|
|
290
|
+
fastConfirmations: 1,
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
kitContracts: {
|
|
295
|
+
bridge: BRIDGE_CONTRACT_EVM_TESTNET,
|
|
296
|
+
},
|
|
297
|
+
});
|
|
298
|
+
|
|
256
299
|
/**
|
|
257
300
|
* Arbitrum Mainnet chain definition
|
|
258
301
|
* @remarks
|
|
@@ -782,7 +825,7 @@ defineChain({
|
|
|
782
825
|
* HyperEVM is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
783
826
|
* with native orderbook and matching engine.
|
|
784
827
|
*/
|
|
785
|
-
defineChain({
|
|
828
|
+
const HyperEVM = defineChain({
|
|
786
829
|
type: 'evm',
|
|
787
830
|
chain: Blockchain.HyperEVM,
|
|
788
831
|
name: 'HyperEVM',
|
|
@@ -821,7 +864,7 @@ defineChain({
|
|
|
821
864
|
* This represents the official testnet for the HyperEVM blockchain.
|
|
822
865
|
* Used for development and testing purposes before deploying to mainnet.
|
|
823
866
|
*/
|
|
824
|
-
defineChain({
|
|
867
|
+
const HyperEVMTestnet = defineChain({
|
|
825
868
|
type: 'evm',
|
|
826
869
|
chain: Blockchain.HyperEVM_Testnet,
|
|
827
870
|
name: 'HyperEVM Testnet',
|
|
@@ -861,7 +904,7 @@ defineChain({
|
|
|
861
904
|
* Ink is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
862
905
|
* with native orderbook and matching engine.
|
|
863
906
|
*/
|
|
864
|
-
defineChain({
|
|
907
|
+
const Ink = defineChain({
|
|
865
908
|
type: 'evm',
|
|
866
909
|
chain: Blockchain.Ink,
|
|
867
910
|
name: 'Ink',
|
|
@@ -903,7 +946,7 @@ defineChain({
|
|
|
903
946
|
* This represents the official testnet for the Ink blockchain.
|
|
904
947
|
* Used for development and testing purposes before deploying to mainnet.
|
|
905
948
|
*/
|
|
906
|
-
defineChain({
|
|
949
|
+
const InkTestnet = defineChain({
|
|
907
950
|
type: 'evm',
|
|
908
951
|
chain: Blockchain.Ink_Testnet,
|
|
909
952
|
name: 'Ink Sepolia',
|
|
@@ -1220,7 +1263,7 @@ const OptimismSepolia = defineChain({
|
|
|
1220
1263
|
* Plume is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
1221
1264
|
* with native orderbook and matching engine.
|
|
1222
1265
|
*/
|
|
1223
|
-
defineChain({
|
|
1266
|
+
const Plume = defineChain({
|
|
1224
1267
|
type: 'evm',
|
|
1225
1268
|
chain: Blockchain.Plume,
|
|
1226
1269
|
name: 'Plume',
|
|
@@ -1259,7 +1302,7 @@ defineChain({
|
|
|
1259
1302
|
* This represents the official testnet for the Plume blockchain.
|
|
1260
1303
|
* Used for development and testing purposes before deploying to mainnet.
|
|
1261
1304
|
*/
|
|
1262
|
-
defineChain({
|
|
1305
|
+
const PlumeTestnet = defineChain({
|
|
1263
1306
|
type: 'evm',
|
|
1264
1307
|
chain: Blockchain.Plume_Testnet,
|
|
1265
1308
|
name: 'Plume Testnet',
|
|
@@ -1433,7 +1476,7 @@ const PolygonAmoy = defineChain({
|
|
|
1433
1476
|
* Sei is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
1434
1477
|
* with native orderbook and matching engine.
|
|
1435
1478
|
*/
|
|
1436
|
-
defineChain({
|
|
1479
|
+
const Sei = defineChain({
|
|
1437
1480
|
type: 'evm',
|
|
1438
1481
|
chain: Blockchain.Sei,
|
|
1439
1482
|
name: 'Sei',
|
|
@@ -1472,7 +1515,7 @@ defineChain({
|
|
|
1472
1515
|
* This represents the official testnet for the Sei blockchain.
|
|
1473
1516
|
* Used for development and testing purposes before deploying to mainnet.
|
|
1474
1517
|
*/
|
|
1475
|
-
defineChain({
|
|
1518
|
+
const SeiTestnet = defineChain({
|
|
1476
1519
|
type: 'evm',
|
|
1477
1520
|
chain: Blockchain.Sei_Testnet,
|
|
1478
1521
|
name: 'Sei Testnet',
|
|
@@ -1544,26 +1587,26 @@ const Sonic = defineChain({
|
|
|
1544
1587
|
});
|
|
1545
1588
|
|
|
1546
1589
|
/**
|
|
1547
|
-
* Sonic
|
|
1590
|
+
* Sonic Testnet chain definition
|
|
1548
1591
|
* @remarks
|
|
1549
1592
|
* This represents the official test network for the Sonic blockchain.
|
|
1550
1593
|
*/
|
|
1551
1594
|
const SonicTestnet = defineChain({
|
|
1552
1595
|
type: 'evm',
|
|
1553
1596
|
chain: Blockchain.Sonic_Testnet,
|
|
1554
|
-
name: 'Sonic
|
|
1555
|
-
title: 'Sonic
|
|
1597
|
+
name: 'Sonic Testnet',
|
|
1598
|
+
title: 'Sonic Testnet',
|
|
1556
1599
|
nativeCurrency: {
|
|
1557
1600
|
name: 'Sonic',
|
|
1558
1601
|
symbol: 'S',
|
|
1559
1602
|
decimals: 18,
|
|
1560
1603
|
},
|
|
1561
|
-
chainId:
|
|
1604
|
+
chainId: 14601,
|
|
1562
1605
|
isTestnet: true,
|
|
1563
1606
|
explorerUrl: 'https://testnet.sonicscan.org/tx/{hash}',
|
|
1564
|
-
rpcEndpoints: ['https://rpc.
|
|
1607
|
+
rpcEndpoints: ['https://rpc.testnet.soniclabs.com'],
|
|
1565
1608
|
eurcAddress: null,
|
|
1566
|
-
usdcAddress: '
|
|
1609
|
+
usdcAddress: '0x0BA304580ee7c9a980CF72e55f5Ed2E9fd30Bc51',
|
|
1567
1610
|
cctp: {
|
|
1568
1611
|
domain: 13,
|
|
1569
1612
|
contracts: {
|
|
@@ -1953,7 +1996,7 @@ const WorldChainSepolia = defineChain({
|
|
|
1953
1996
|
* XDC is a Layer 1 blockchain specialized for DeFi and trading applications
|
|
1954
1997
|
* with native orderbook and matching engine.
|
|
1955
1998
|
*/
|
|
1956
|
-
defineChain({
|
|
1999
|
+
const XDC = defineChain({
|
|
1957
2000
|
type: 'evm',
|
|
1958
2001
|
chain: Blockchain.XDC,
|
|
1959
2002
|
name: 'XDC',
|
|
@@ -1991,7 +2034,7 @@ defineChain({
|
|
|
1991
2034
|
* @remarks
|
|
1992
2035
|
* This represents the official test network for the XDC Network, known as Apothem.
|
|
1993
2036
|
*/
|
|
1994
|
-
defineChain({
|
|
2037
|
+
const XDCApothem = defineChain({
|
|
1995
2038
|
type: 'evm',
|
|
1996
2039
|
chain: Blockchain.XDC_Apothem,
|
|
1997
2040
|
name: 'Apothem Network',
|
|
@@ -2221,5 +2264,5 @@ z.union([
|
|
|
2221
2264
|
chainDefinitionSchema,
|
|
2222
2265
|
]);
|
|
2223
2266
|
|
|
2224
|
-
export { Arbitrum, ArbitrumSepolia, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, Linea, LineaSepolia, Optimism, OptimismSepolia, Polygon, PolygonAmoy, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia };
|
|
2267
|
+
export { Arbitrum, ArbitrumSepolia, ArcTestnet, Avalanche, AvalancheFuji, Base, BaseSepolia, Codex, CodexTestnet, Ethereum, EthereumSepolia, HyperEVM, HyperEVMTestnet, Ink, InkTestnet, Linea, LineaSepolia, Optimism, OptimismSepolia, Plume, PlumeTestnet, Polygon, PolygonAmoy, Sei, SeiTestnet, Solana, SolanaDevnet, Sonic, SonicTestnet, Unichain, UnichainSepolia, WorldChain, WorldChainSepolia, XDC, XDCApothem };
|
|
2225
2268
|
//# sourceMappingURL=chains.mjs.map
|