@humanode-hyperlane/cli 30.0.0 → 1045.2.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/README.md +1 -1
- package/bundle/154.index.js +462 -0
- package/bundle/230.index.js +572 -0
- package/bundle/25.index.js +9569 -0
- package/bundle/{214.index.js → 308.index.js} +192 -88
- package/bundle/367.index.js +4 -0
- package/bundle/461.index.js +49 -0
- package/bundle/505.index.js +126369 -0
- package/bundle/529.index.js +3603 -0
- package/bundle/576.index.js +36 -0
- package/bundle/610.index.js +86 -0
- package/bundle/628.index.js +152 -0
- package/bundle/633.index.js +86 -0
- package/bundle/697.index.js +410 -0
- package/bundle/{30fb121a258f7502fa97.js → 7183ea1c1bf0a5da980d.js} +1 -1
- package/bundle/748.index.js +674 -0
- package/bundle/78.index.js +372 -0
- package/bundle/787.index.js +175 -0
- package/bundle/841.index.js +2093 -0
- package/bundle/{172.index.js → 848.index.js} +779 -915
- package/bundle/868.index.js +460 -0
- package/bundle/902.index.js +173 -0
- package/bundle/956.index.js +9901 -0
- package/bundle/aleo_wasm.wasm +0 -0
- package/bundle/aleo_wasm1.wasm +0 -0
- package/bundle/build/Release/bigint_buffer.node +0 -0
- package/bundle/index.js +2 -2
- package/bundle/worker2.js +9123 -3469
- package/bundle/worker3.js +9109 -3455
- package/examples/layerzero/layerzero-warp-route.yaml +91 -0
- package/examples/sealevel/core-config-composite-ism.yaml +21 -0
- package/examples/sealevel/igp-hook-config.yaml +13 -0
- package/examples/sealevel/warp-config-routing-message-id-multisig-ism.yaml +21 -0
- package/examples/warp-base.yaml +24 -0
- package/examples/warp-config-predicate-mainnet.yaml +14 -0
- package/examples/warp-deployed-predicate-mainnet.yaml +19 -0
- package/examples/warp-ethereum.yaml +19 -0
- package/examples/wormhole/wormhole-warp-route.yaml +46 -0
- package/package.json +35 -28
- package/bundle/100.index.js +0 -1453
- package/bundle/12.index.js +0 -91
- package/bundle/213.index.js +0 -901
- package/bundle/306.index.js +0 -1037
- package/bundle/467.index.js +0 -222
- package/bundle/485.index.js +0 -85430
- package/bundle/515.index.js +0 -5191
- package/bundle/544.index.js +0 -792
- package/bundle/617.index.js +0 -1612
- package/bundle/660.index.js +0 -223
- package/bundle/688.index.js +0 -232
- package/bundle/756.index.js +0 -8595
- package/bundle/824.index.js +0 -385
- package/bundle/95.index.js +0 -264
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export const id = 461;
|
|
2
|
+
export const ids = [461];
|
|
3
|
+
export const modules = {
|
|
4
|
+
|
|
5
|
+
/***/ 90461:
|
|
6
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
7
|
+
|
|
8
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
+
/* harmony export */ RadixMultiProtocolSignerAdapter: () => (/* binding */ RadixMultiProtocolSignerAdapter)
|
|
10
|
+
/* harmony export */ });
|
|
11
|
+
/* harmony import */ var _humanode_hyperlane_radix_sdk_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80544);
|
|
12
|
+
|
|
13
|
+
class RadixMultiProtocolSignerAdapter {
|
|
14
|
+
chainName;
|
|
15
|
+
signer;
|
|
16
|
+
constructor(chainName, signer) {
|
|
17
|
+
this.chainName = chainName;
|
|
18
|
+
this.signer = signer;
|
|
19
|
+
}
|
|
20
|
+
static async init(chainName, privateKey, multiProtocolProvider) {
|
|
21
|
+
const metadata = multiProtocolProvider.getChainMetadata(chainName);
|
|
22
|
+
const signer = await _humanode_hyperlane_radix_sdk_runtime__WEBPACK_IMPORTED_MODULE_0__/* .RadixSigner */ .JZ.connectWithSigner(metadata, privateKey);
|
|
23
|
+
return new RadixMultiProtocolSignerAdapter(chainName, signer);
|
|
24
|
+
}
|
|
25
|
+
async address() {
|
|
26
|
+
return this.signer.getSignerAddress();
|
|
27
|
+
}
|
|
28
|
+
async sendAndConfirmTransaction(tx, _options) {
|
|
29
|
+
try {
|
|
30
|
+
await this.signer.estimateTransactionFee({
|
|
31
|
+
transaction: tx.transaction,
|
|
32
|
+
estimatedGasPrice: '',
|
|
33
|
+
senderAddress: '',
|
|
34
|
+
});
|
|
35
|
+
const { transactionHash } = await this.signer.sendAndConfirmTransaction(tx.transaction);
|
|
36
|
+
return transactionHash;
|
|
37
|
+
}
|
|
38
|
+
catch (err) {
|
|
39
|
+
throw new Error(`Transaction failed on chain ${this.chainName}`, {
|
|
40
|
+
cause: err,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=radix-toolkit.js.map
|
|
46
|
+
|
|
47
|
+
/***/ })
|
|
48
|
+
|
|
49
|
+
};
|