0.0.5 • Published 7 months ago

hp-rpc-cli v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

hp-rpc-cli

A basic command-line client for hyperswarm/rpc

hp-rpc-cli --help

Usage:
hp-rpc-cli ?-i identity.json ?-s peer_key -m method -d data (| -f data_file) ?-t timeout_ms ?--dp dht_port ?--bn dht_bootstrap_nodes ?--ds dht_keypair_seed

Options:

-s SERVER_PEER_KEY : server peer key (command-line)
-i keypair.json : keypair file
-m method
-d data as a string
-f data as a file
-t timeout in milliseconds
-bn dht boostrap nodes (comma separated ip:port entries)
-dp dht node port
-ds dht node keypair seed (32 byte hex)

Read more about using identities here: https://github.com/prdn/hyper-cmd-docs/blob/main/identity.md

Host resolution: https://github.com/prdn/hyper-cmd-docs/blob/main/resolve.md

0.0.3

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.2

9 months ago

0.0.1

9 months ago