0.1.0 • Published 3 years ago
hsg v0.1.0
hsg
CLI tool for message encoding/decoding
Installation
npm install -g hsg
Build from source
// Node version: v11.14.0+
// NPM version: v6.7.0
npm run build
npm install -g .
Start up instruction
- Download data protocol binary here
- Follow instructions here to start the data protocol daemon
- Navigate to the directory you wish to use to store guilds data and run
hsg init
to initialize the directory - Run
hsg config --host 127.0.0.1 --port 9098
To create and push a new guild to the network
hsg make guild <name>
to make a new guild subdirectory- Edit
/guilds/<name>/guild.json
and/guilds/<name>/guild.md
- Add your name and private key by running
hsg config --tld <tld> --privateKey <pk>
hsg push <name>
To fetch and read a guild
hsg fetch <name>
to fetch latest content from networkhsg whois <name>
to output guild data
Usage
Usage: hsg [options] [command]
Options:
-v, --version output the current version
-h, --help display help for command
Commands:
init initialize current directory
list list guilds in directory
make make new sub-directory
whois <tld> print details of a guild
export <tld> export guild data serialized in hex
import <tld> <hexdata> import guild hex data
status <tld>
config [options] set configurations
fetch [tld] fetch content from one or all tlds
push [options] <tld> push content from a tld
help [command] display help for command
0.1.0
3 years ago
0.0.38
4 years ago
0.0.20
4 years ago
0.0.21
4 years ago
0.0.22
4 years ago
0.0.23
4 years ago
0.0.24
4 years ago
0.0.25
4 years ago
0.0.37
4 years ago
0.0.15
4 years ago
0.0.16
4 years ago
0.0.17
4 years ago
0.0.18
4 years ago
0.0.19
4 years ago
0.0.30
4 years ago
0.0.31
4 years ago
0.0.32
4 years ago
0.0.10
4 years ago
0.0.33
4 years ago
0.0.11
4 years ago
0.0.34
4 years ago
0.0.12
4 years ago
0.0.35
4 years ago
0.0.13
4 years ago
0.0.36
4 years ago
0.0.14
4 years ago
0.0.1
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.26
4 years ago
0.0.9
4 years ago
0.0.27
4 years ago
0.0.8
4 years ago
0.0.28
4 years ago
0.0.29
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago