handshake-org / handshake-org/hs-client

Missing CLI commands for new HTTP endpoints

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
88
Forks
38
PR merge metrics
No merged PRs in 30d

Description

### Node (hsd-cli)

https://github.com/handshake-org/hsd/pull/189
- Mempool Rejection Filter: `GET /mempool/invalid`
- Mempool Rejection Test: `GET /mempool/invalid/:hash`

https://github.com/bcoin-org/bcoin/pull/889
- Estimate fee: `GET /fee`

Other

- `broadcastclaim` is implemented in the node client, but has no CLI command:
https://github.com/handshake-org/hs-client/blob/d82611cead27d7f9586d878438a23ad2005ff8af/lib/node.js#L177-L180

- a list of rpc commands for `help` is missing: https://github.com/bcoin-org/bcoin/pull/705

### Wallet (hsw-cli)

Implemented in wallet client but no CLI command:

- Get last N transactions: `getLast(id, account, limit)`
- Get range (of TXs by timestamp): `getRange(id, account, options)`

https://github.com/handshake-org/hs-client/pull/16 and https://github.com/handshake-org/hsd/pull/163
Implemented in wallet client but no CLI command:

- getName
- getNames
- getAuctionByName
- getAuctions
- getBidsByName
- getBids
- getRevealsByName
- getReveals
- getResource
- getNonce
- createOpen
- createBid
- createReveal
- createRedeem
- createUpdate
- createRenewal
- createTransfer
- createCancel
- createFinalize
- createRevoke

https://github.com/handshake-org/hsd/pull/511

- deep clean

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the listed hsd-cli and hsw-cli gaps with the corresponding node and wallet client methods, including lib/node.js lines 177-180 and the referenced pull requests. Done means the listed HTTP, wallet, transaction, auction, and help operations have CLI commands, with the requested deep-clean work clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.