https://github.com/chainbound/cbctl
CLI tool for interacting with the Chainbound backend
https://github.com/chainbound/cbctl
Last synced: about 1 year ago
JSON representation
CLI tool for interacting with the Chainbound backend
- Host: GitHub
- URL: https://github.com/chainbound/cbctl
- Owner: chainbound
- Created: 2023-05-05T12:50:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-20T17:04:00.000Z (about 2 years ago)
- Last Synced: 2025-01-24T06:29:49.540Z (over 1 year ago)
- Language: Go
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `cbctl`
`cbctl` is a CLI tool for interacting with the Chainbound backend.
## Installation
With Go:
```bash
go install github.com/chainbound/cbctl@latest
```
## Usage
First, initialize `cbctl` with your API key. This will write a config file to `~/.config/cbctl/config.toml`:
```bash
cbctl init --key
```
### Fiber Commands
The `fiber` subcommand let's you interact with the Fiber backend.
- `cbctl fiber quota`
Gets your quota for the current billing period.
- `cbctl fiber trace tx --hash `
Gets the trace for a transaction. Run `cbctl fiber trace tx --help` for more info.
- `cbctl fiber trace block --hash ` or `cbctl fiber trace block --number `
Gets a block trace. Run `cbctl fiber trace block --help` for more info.
- `cbctl fiber trace blob --commitment `
Gets a blob trace. Run `cbctl fiber trace blob --help` for more info.