-
Notifications
You must be signed in to change notification settings - Fork 18
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
[Feature] Command Line Interface (CLI) #177
Conversation
Deploying cw-orchestrator with Cloudflare Pages
|
Helps to read daemon state inside cw_parse
Is there a way to provide a custom network / grpc url? |
Not yet, didn't want to add too complicated customization during CLI usage or implement parser from a file into |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's include that inside the cw-orch repo !
I got this error, is that documented ?
Your console command: cw-orch-cli key add local from-seed Caused by: Location: |
Yep: cw-orchestrator/cw-orch-cli/README.md Line 11 in f7549cd
|
cw-orch-cli
is a chain-agnostic interactive cli for cosmos chains, with main focus on wasm operationsCurrently supported features:
Key management
CLI allows managing keys, using platform-specific secure store. Saved keys are used to perform signing transactions of other CLI commands
Add key
Add key command saves provided(or generated) key to cw-orch keyring
cw-orch-cli key add [NAME] new
cw-orch-cli key add [NAME] from-seed
Show seed of saved key
Show seed command loads saved seed phrase from cw-orch keyring and outputs it
cw-orch-cli key show [NAME]
Remove key
Remove key command deletes entry of provided key-id from the cw-orch keyring
cw-orch-cli key remove [NAME]
Cosmwasm
Queries
cw-orch-cli action [CHAIN-ID] cw query smart [CONTRACT_ADDR] [MSG-TYPE] [MSG]
Transactions
cw-orch-cli action [CHAIN-ID] cw tx store [WASM_PATH] [SIGNER]
cw-orch-cli [CHAIN-ID] action cw tx instantiate [CODE_ID] [MSG_TYPE] [MSG] [ADMIN] [LABEL] [COINS] [SIGNER]
cw-orch-cli [CHAIN-ID] action cw tx execute [CONTRACT_ADDR] [MSG_TYPE] [MSG] [COINS] [SIGNER]
Arguments details:
json-msg: Valid JSON string (e.g. {"foo": "bar"})
,base64-msg: Base64-encoded string (e.g. eyJmb28iOiJiYXIifQ==)
Demo of interactivity:
Instantiate
Execute and queries
[New] Selecting chain