pyth-crosschain/governance/xc_admin/packages/crank_executor
guibescos 926aa55f75
fix: Make room for compute ixs (#1349)
* Make room for compute ixs

* Continue

* Fix syntax

* Fix contract manager

* Go

* Refacotr import
2024-03-11 18:58:11 +00:00
..
src fix: Make room for compute ixs (#1349) 2024-03-11 18:58:11 +00:00
README.md [docs] More documentation on different packages (#992) 2023-07-28 17:11:29 +01:00
package.json feat(xc-admin): add support for setMaxLatency instruction (#1328) 2024-03-04 16:12:36 +09:00
tsconfig.json Expose pythnet message buffer idls (#865) 2023-06-09 14:10:28 +02:00

README.md

Crank Executor

This package checks for ready-to-execute proposals on a specified multisig address and executes them with the provided keypair.

Since some of the proposal instructions on multisig need other specific instructions which are not included in the proposal (like paying the wormhole fee or initializing an account), it is not always possible to execute the proposal directly from the multisig ui. This tool helps with crafting the correct execution transaction and runs them automatically.

How to run:

For a single run you can execute:

CLUSTER=<devnet or mainnet-beta> VAULT=<vault-address> WALLET=<path-to-ops-wallet> ts-node index.ts

Otherwise you can configure a cron job to run this script periodically.