# README
netcloth-chain
An efficient blockchain network.
QuickStart
Install
Install nch from here
Run
init
# Initialize configuration files and genesis file
nchd init local-nch --chain-id nch-chain
# Copy the `Address` output here and save it for later use
nchcli keys add jack
# Copy the `Address` output here and save it for later use
nchcli keys add alice
# Add both accounts, with coins to the genesis file
nchd add-genesis-account $(nchcli keys show jack -a) 10000000000000000000pnch
nchd add-genesis-account $(nchcli keys show alice -a) 10000000000000000000pnch
# create validator
nchd gentx \
--amount 1000000000000pnch \
--commission-rate "0.10" \
--commission-max-rate "0.20" \
--commission-max-change-rate "0.10" \
--pubkey $(nchd tendermint show-validator) \
--name alice
# collect gentx
nchd collect-gentxs
# Configure your CLI to eliminate need for chain-id flag
nchcli config chain-id nch-chain
nchcli config output json
nchcli config indent true
nchcli config trust-node true
run nchd
nchd start --log_level "*:debug" --trace
transfer asset
# transfer asset
nchcli send --from $(nchcli keys show jack -a) --to $(nchcli keys show alice -a) --amount 1000000000000pnch
nchcli send --from $(nchcli keys show jack -a) --to $(nchcli keys show alice -a) --amount 1000000000000pnch
query account
nchcli query account $(nchcli keys show jack -a)
nchcli query account $(nchcli keys show alice -a)
# Packages
No description provided by the author
nolint: golint.
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/netcloth/netcloth-chain/client/context ALIASGEN: github.com/netcloth/netcloth-chain/client/flags ALIASGEN: github.com/netcloth/netcloth-chain/client/keys ALIASGEN: github.com/netcloth/netcloth-chain/client/lcd ALIASGEN: github.com/netcloth/netcloth-chain/client/rest ALIASGEN: github.com/netcloth/netcloth-chain/client/rpc ALIASGEN: github.com/netcloth/netcloth-chain/client/tx ALIASGEN: github.com/netcloth/netcloth-chain/client/utils ALIASGEN: github.com/netcloth/netcloth-chain/client/input.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package version is a convenience utility that provides SDK consumers with a ready-to-use version command that produces apps versioning information based on flags passed at compile time.