@moonbeam-network/xcm-builder 3.1.1 → 3.1.2
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/build/index.mjs +14 -1
- package/build/index.mjs.map +1 -1
- package/package.json +4 -4
package/build/index.mjs
CHANGED
|
@@ -3414,7 +3414,20 @@ var WormholeConfig = class _WormholeConfig {
|
|
|
3414
3414
|
import { Wormhole } from "@wormhole-foundation/sdk-connect";
|
|
3415
3415
|
import { EvmPlatform } from "@wormhole-foundation/sdk-evm";
|
|
3416
3416
|
function wormholeFactory(chain) {
|
|
3417
|
-
return new Wormhole(
|
|
3417
|
+
return new Wormhole(
|
|
3418
|
+
chain.isTestChain ? "Testnet" : "Mainnet",
|
|
3419
|
+
[EvmPlatform],
|
|
3420
|
+
{
|
|
3421
|
+
chains: {
|
|
3422
|
+
Ethereum: {
|
|
3423
|
+
rpc: "https://eth.llamarpc.com"
|
|
3424
|
+
},
|
|
3425
|
+
Moonbeam: {
|
|
3426
|
+
rpc: "https://rpc.api.moonbeam.network"
|
|
3427
|
+
}
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
);
|
|
3418
3431
|
}
|
|
3419
3432
|
|
|
3420
3433
|
// src/mrl/providers/wormhole/wormhole/wormhole.ts
|