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

feat: local-ic native cli interaction #1007

Merged
merged 4 commits into from
Mar 7, 2024
Merged

Conversation

Reecepbcups
Copy link
Member

@Reecepbcups Reecepbcups commented Mar 6, 2024

bash / CURL interaction is a pain, CLI it - requirement for spawn

Before

curl -X POST -H "Content-Type: application/json" -d '{
  "chain_id": "localcosmos-1",
  "action": "query",
  "cmd": "bank balances cosmos1hj5fveer5cjtn4wd6wstzugjfdxzl0xpxvjjvr"
}' http://127.0.0.1:8080/

After

local-ic interact localcosmos-1 query bank balances cosmos1hj5fveer5cjtn4wd6wstzugjfdxzl0xpxvjjvr

Copy link

vercel bot commented Mar 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
interchaintest-docs ⬜️ Ignored (Inspect) Visit Preview Mar 7, 2024 4:06pm

@Reecepbcups Reecepbcups marked this pull request as ready for review March 7, 2024 00:54
@Reecepbcups Reecepbcups requested a review from a team as a code owner March 7, 2024 00:54
Comment on lines +26 to +29
Example: `local-ic interact localcosmos-1 bin 'status --node=%RPC%' --api-endpoint=http://127.0.0.1:8080
local-ic interact localcosmos-1 query bank balances cosmos1hj5fveer5cjtn4wd6wstzugjfdxzl0xpxvjjvr
local-ic interact localcosmos-1 get_channels
local-ic interact localcosmos-1 relayer-exec rly q channels localcosmos-1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@Reecepbcups Reecepbcups merged commit 3b7f1ce into main Mar 7, 2024
16 checks passed
@Reecepbcups Reecepbcups deleted the reece/localic-interaction branch March 7, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants