|
|
2 年之前 | |
|---|---|---|
| .. | ||
| src | bddcb69351 [multisig-cli] Refactor check that multisig vault already exists (#437) | 2 年之前 |
| .eslintrc.js | d6e25d9209 Add pre-commit globally (#393) | 3 年之前 |
| .gitignore | d6e25d9209 Add pre-commit globally (#393) | 3 年之前 |
| LICENSE | 1c6977ec96 add pyth multisig cli program (#276) | 3 年之前 |
| README.md | 3da1e86d56 Update README.md (#435) | 2 年之前 |
| jest.config.js | d6e25d9209 Add pre-commit globally (#393) | 3 年之前 |
| package-lock.json | f69a91d97c Add the Squads Mesh program to Tilt and initialize a Vault for it (#421) | 2 年之前 |
| package.json | f69a91d97c Add the Squads Mesh program to Tilt and initialize a Vault for it (#421) | 2 年之前 |
| tsconfig.json | 1c6977ec96 add pyth multisig cli program (#276) | 3 年之前 |
This program allows you to create/execute a multisig transaction that includes an instruction from wormhole for cross-chain governance.
npm install
Note:
npm start -- create -c <CLUSTER: [mainnet|devnet]> -l -lda <LEDGER_DERIVATION_ACCOUNT> -ldc <LEDGER_DERIVATION_CHANGE> -w <WALLET_SECRET_KEY_FILEPATH> -p <PAYLOAD>
To use ledger with default derivation account and change:
npm start -- create -c devnet -l -p hello
To use ledger with custom derivation account and/or change:
npm start -- create -c devnet -l -lda 0 -p hello
npm start -- create -c devnet -l -lda 0 -ldc 1 -p hello
To use hot wallet :
npm start -- create -c devnet -w keys/key.json -p hello
npm start -- execute -c <CLUSTER: [mainnet|devnet]> -w <WALLET_SECRET_KEY_FILEPATH> -t <TX_ID>
To use ledger with default derivation account and change:
npm start -- execute -c devnet -l -m keys/message.json -t GSC8r7Qsi9pc698fckaQgzHufG6LqVq3vZijyu5KsXLh
To use ledger with custom derivation account and/or change:
npm start -- execute -c devnet -l -lda 0 -m keys/message.json -t GSC8r7Qsi9pc698fckaQgzHufG6LqVq3vZijyu5KsXLh
npm start -- execute -c devnet -l -lda 0 -ldc 1 -m keys/message.json -t GSC8r7Qsi9pc698fckaQgzHufG6LqVq3vZijyu5KsXLh
Example:
npm start -- execute -c devnet -w keys/key.json -m keys/message.json -t GSC8r7Qsi9pc698fckaQgzHufG6LqVq3vZijyu5KsXLh