coffee-tools / coffee-tools/barq
Add `barqinspect` Command for Payment Inspection
- Dominant language
- Rust
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Currently, we have a `barqrouteinfo` command that simulates a payment and returns the potential route that `barq` could take if `barqpay` is executed.
We propose adding a new command, `barqinspect`. This command will allow users to inspect a specific payment from the history using its ID. It should provide details about whether the payment completed successfully or failed, along with the associated logs.
This feature is dependent on implementing a storage solution (#7).
Contributor guide
Research direction
Review the existing `barqrouteinfo` command and the storage solution tracked in issue #7 before starting. Define how `barqinspect` looks up a payment by ID, reports success or failure, and presents its associated logs; done means the command can inspect stored payment history reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, payments
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100