blockfreight-alpha

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2017 License: MIT

README

Blockfreight

Blockfreight™ the blockchain of global freight

Package: go-blockfreight - Blockfreight™ v0.1.0

Description: go-blockfreight is the reference full node implementation and cli-tool for Blockfreight™ the blockchain of global freight.

A network for the free trade of physical goods so transformative it is part of the most advanced project in global shipping today.

go-blockfreight is a powerful, reliable, efficient and handy Go app for communicating with the Blockfreight™ blockchain.

Requirements:

Golang runtime and build environment

Go version 1.8+ or above.

Quick command line test:

$ go version

Validate you have Go installed and have defined $GOPATH/bin in your $PATH. For full instructions see golang.org site.

Glide

Glide version 0.12.3+ or above.

To manage all dependencies for blockfreight-alpha, it is necessary to have Glide installed.

$ glide -v

Installation

To install blockfreight-alpha, you can do it through:

$ go get github.com/blockfreight/blockfreight-alpha

Then, you need to update all dependencies by Glide. First go to blockfreight-alpha and update them:

$ cd $GOPATH/src/github.com/blockfreight/blockfreight-alpha
$ glide install
$ glide update
BFT-Node

Install BFT-Node through

$ cd $GOPATH/src/github.com/blockfreight/blockfreight-alpha/blockfreight/cmd/bftnode
$ go install

Then, you can execute bftnode. That app will start a server that is going to wait for requests from the bftx.

$ bftnode
BFTX

In other terminal, install BFTX through

$ cd $GOPATH/src/github.com/blockfreight/blockfreight-alpha/blockfreight/cmd/bftx
$ go install

After that step, you can execute bftx. If you need some extra information, just add help after.

$ bftx help

If you’d like to leave feedback, please open an issue on GitHub.

Directories

Path Synopsis
blockfreight
bft
Package bft implements the main functions to work with the Blockfreight™ Network.
Package bft implements the main functions to work with the Blockfreight™ Network.
bft/bf_tx
Package bf_tx is a package that defines the Blockfreight™ Transaction (BF_TX) transaction standard and provides some useful functions to work with the BF_TX.
Package bf_tx is a package that defines the Blockfreight™ Transaction (BF_TX) transaction standard and provides some useful functions to work with the BF_TX.
bft/common
Package common provides some useful functions to work with the Blockfreight project.
Package common provides some useful functions to work with the Blockfreight project.
bft/crypto
Package crypto provides useful functions to sign BF_TX.
Package crypto provides useful functions to sign BF_TX.
bft/leveldb
Package leveldb provides some useful functions to work with LevelDB.
Package leveldb provides some useful functions to work with LevelDB.
bft/validator
Package validator is a package that provides functions to assure the input JSON is correct.
Package validator is a package that provides functions to assure the input JSON is correct.
cmd/bftnode command
Starts the Blockfreight™ Node to listen to all requests in the Blockfreight Network.
Starts the Blockfreight™ Node to listen to all requests in the Blockfreight Network.
cmd/bftx command
Initializes BFTX app to interacts with the Blockfreight™ Network.
Initializes BFTX app to interacts with the Blockfreight™ Network.

Jump to

Keyboard shortcuts

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