benduran ab0cf6f7d8 chore: updated gitignore to excluse the built dist/ folder пре 3 недеља
..
src 40aadd6983 feat(lazer): add utils for adding and checking ed25519 signers to solana contract (#2788) пре 5 месеци
README.md e08052c2c4 feat: set up turborepo пре 1 година
package.json ab0cf6f7d8 chore: updated gitignore to excluse the built dist/ folder пре 3 недеља
tsconfig.build.json ab0cf6f7d8 chore: updated gitignore to excluse the built dist/ folder пре 3 недеља
tsconfig.json fe92275443 chore: migrated all package.json and tsconfig files to a single, modern standard пре 3 недеља

README.md

Pyth Cross-chain Governance Admin CLI Program

The goal of this CLI is interacting with the Pyth Squads multisig. It allows to :

  • Make proposals :
    • accept-authority
    • upgrade-program
    • init-price
    • propose-token-transfer
  • Interact with proposals :
    • approve
    • activate
  • Inspect proposals :
    • parse-transaction

Usage

Note:

  • When using with Ledger, please enable blind signing in the Solana app settings. TLDR: When you enable blind signing, you enable your device to approve a smart contract transaction, even though it hasn’t been able to display full contract data to you. In other words, you’re agreeing to trust, instead of verify, the transaction. You still have to manually approve each transactions.
  • Information about ledger derivation can be found here.

Example

To activate a transaction:

pnpm i
pnpm turbo build --filter @pythnetwork/xc-admin-common
pnpm exec ts-node src/index.ts activate -t <TRANSACTION_HASH> -c <CLUSTER: [mainnet|devnet|testnet] -v <VAULT_ADDRESS> -w <WALLET_SECRET_KEY_FILEPATH: [filepath|"ledger"]> -lda <LEDGER_DERIVATION_ACCOUNT> -ldc <LEDGER_DERIVATION_CHANGE>