Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subcommand to upload params #94

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ngundotra
Copy link
Collaborator

@ngundotra ngundotra commented Nov 20, 2024

Example:

$ ./target/debug/solana-verify write --program-id <programid> --git-url <url> --commit-hash <hash> -- --mount-path <path>
$ ./target/debug/solana-verify close --program-id omcpZynsRS1Py8TP28zeTemamQoRPpuqwdqV8WXnL4M

Note: --mount-path as well as feature arguments are only providable through -- --mount-path <x> --features <y>

Additional changes:

  • tx confirmation for write and close now actually set to Confirmed

TODO:

  • add support for -k keypair for write and close commands
  • respect ctrl-c when taking user prompts
  • add support for passing -y to verify-from-repo so it CLI writes transaction for you (also always write to the chain first so it fails early!)

@ngundotra ngundotra marked this pull request as draft November 20, 2024 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants