blockstackd-cli

command
v0.0.0-...-1f897c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2018 License: GPL-3.0, GPL-3.0 Imports: 1 Imported by: 0

README

blockstackd-cli

This is a cli tool to interact with the RPC interface on blockstack-core. It implements the following RPC methods:

TODO: Add a -debug or -verbose mode that outputs server info with each call

  • get_all_names
  • get_all_namespaces
  • get_atlas_peers
  • get_block_from_consensus
  • get_consensus_at
  • get_consensus_hashes
  • getinfo
  • get_name_at
  • get_name_blockchain_record
  • get_name_cost
  • get_name_history_blocks
  • get_nameops_hash_at
  • get_nameops_affected_at
  • get_names_in_namespace
  • get_names_owned_by_address
  • get_namespace_cost
  • get_num_nameops_affected_at
  • get_num_names
  • get_num_names_in_namespace
  • get_num_op_history_rows
  • get_op_history_rows
  • get_zonefiles
  • get_zonefiles_by_block
  • ping
Config

This CLI is a Cobra application. It is configurable via file (default $HOME/.blockstack.yaml) or flags. A sample config file is below:

# $HOME/.blockstackd-cli.yaml
node: https://node.blockstack.org:6263
Build

To build the binary you must have Glide (a dependency manager for go) installed. Then go to the project root and run:

$ glide i
$ go install cmd/blockstackd-cli/main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL