|
|
1 tahun lalu | |
|---|---|---|
| .. | ||
| src | f12df1528b Update wormhole endpoint (#1171) | 1 tahun lalu |
| .eslintrc.js | 481c61bc2c [refactor] Improve typescript codebase (#553) | 2 tahun lalu |
| .gitignore | 084acdb57e [refactor] Convert hyphen to underscore in the directory tree (#524) | 2 tahun lalu |
| LICENSE | 084acdb57e [refactor] Convert hyphen to underscore in the directory tree (#524) | 2 tahun lalu |
| README.md | 084acdb57e [refactor] Convert hyphen to underscore in the directory tree (#524) | 2 tahun lalu |
| jest.config.js | 084acdb57e [refactor] Convert hyphen to underscore in the directory tree (#524) | 2 tahun lalu |
| package-lock.json | 084acdb57e [refactor] Convert hyphen to underscore in the directory tree (#524) | 2 tahun lalu |
| package.json | e995a2b89e Add CI workflow to publish javascript packages (#707) | 2 tahun lalu |
| tsconfig.json | 183081cc20 Expose pythnet message buffer idls (#865) | 2 tahun lalu |
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