All Projects → blockfreight → Go Bftx

blockfreight / Go Bftx

Licence: mit
Blockfreight™ Node (MIT) Global Logistics Network in Go https://blockfreight.com/

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Go Bftx

Awesome Decentralized Finance
A curated list of awesome decentralized finance projects
Stars: ✭ 793 (+3504.55%)
Mutual labels:  blockchain
Blockchain Reading List
Blockchain Manchester Meetups, Talks and Reading List
Stars: ✭ 17 (-22.73%)
Mutual labels:  blockchain
Ripple Lib
A JavaScript API for interacting with the XRP Ledger in Node.js and the browser
Stars: ✭ 899 (+3986.36%)
Mutual labels:  blockchain
Filenation
The simplest way to send your files around the world using IPFS. ✏️ 🗃
Stars: ✭ 805 (+3559.09%)
Mutual labels:  blockchain
Graph Node
Graph Node indexes data from blockchains such as Ethereum and serves it over GraphQL
Stars: ✭ 884 (+3918.18%)
Mutual labels:  blockchain
Abci Host
Clojure host/server for Tendermint's ABCI protocol.
Stars: ✭ 18 (-18.18%)
Mutual labels:  blockchain
Nanocoin
A toy currency
Stars: ✭ 787 (+3477.27%)
Mutual labels:  blockchain
Blockchain
블록체인 공부 중입니다.
Stars: ✭ 22 (+0%)
Mutual labels:  blockchain
Docuhash
Simple PoC that shows you how to use IPFS and Ethereum blockchain to store files and their information.
Stars: ✭ 17 (-22.73%)
Mutual labels:  blockchain
Emerald Vault Archive
ARCHIVE. CODE MOVED TO:
Stars: ✭ 18 (-18.18%)
Mutual labels:  blockchain
Oyente
An Analysis Tool for Smart Contracts
Stars: ✭ 820 (+3627.27%)
Mutual labels:  blockchain
Fabric Multi Network
Stars: ✭ 16 (-27.27%)
Mutual labels:  blockchain
Snax
Decentralized Social Media Overlay
Stars: ✭ 18 (-18.18%)
Mutual labels:  blockchain
Holochain Proto
Holographic storage for distributed applications -- a validating monotonic DHT "backed" by authoritative hashchains for data provenance (a Ceptr sub-project)
Stars: ✭ 795 (+3513.64%)
Mutual labels:  blockchain
Crypto Coin Kit
lodash for crypto coins
Stars: ✭ 19 (-13.64%)
Mutual labels:  blockchain
Ebookcoin
Ebookcoin has been updated to DDN Blockchain,please get it from https://github.com/ddnlink/ddn
Stars: ✭ 789 (+3486.36%)
Mutual labels:  blockchain
Eclair
A scala implementation of the Lightning Network.
Stars: ✭ 892 (+3954.55%)
Mutual labels:  blockchain
Wavevote
Voting system based on Ethereum
Stars: ✭ 22 (+0%)
Mutual labels:  blockchain
Balance Transfer Go
A sample go app to demonstrate fabric-client & fabric-ca-client go SDK APIs
Stars: ✭ 19 (-13.64%)
Mutual labels:  blockchain
Neb.android
An Android SDK of Nebulas payment
Stars: ✭ 18 (-18.18%)
Mutual labels:  blockchain

Blockfreight

Blockfreight™ the blockchain of global freight

StackShare Build Status

Go Report Card Go Doc Release

Package: go-blockfreight - Blockfreight™ v0.3.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.

Dependencie Manager

Golang/dep version 0.1.0+ or above. Golang/dep - https://github.com/golang/dep

To manage all dependencies for go-bftx, it is necessary to have Golang/dep.

$ dep version

Installation

To install go-bftx, (experimental) one-line install, may not work yet!:

wget https://raw.githubusercontent.com/blockfreight/go-bftx/master/cmd/bftx/install_bftx.sh -v -O install_bftx.sh; chmod +x install_bftx.sh; ./install_bftx.sh;

Step-by-step Installation

To install go-bftx, you can do it through:

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

Then, you need to update all dependencies by Golang/dep. First go to go-bftx and update them:

$ cd $GOPATH/src/github.com/blockfreight/go-bftx
$ dep ensure

BFT-Node

Install BFT-Node through

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

Then, you can execute bftx to check the options or extra information.

$ bftx

Use

To start using go-bftx, you will have to start a node:

$ bftx node start

Then the Blockfreight API will start listening to transaction on localhost:8080/bftx-api. You can create, sign, broadcast and query transactions from the API.

After that step, you can read the menu of bftx.

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

Blockfreight™ Project Layout

Blockfreight™ application code follows this convention:

  ├──.gitignore
  ├──.travis.yml
  ├──glide.lock
  ├──glide.yaml
  ├──LICENSE
  ├──Makefile
  ├──README.md
  ├──api
  ├──assets
  ├──bin
  ├──build
  │  ├──ci
  │  └──package
  │     └──version
  ├──cmd
  │  ├──bftnode
  │  └──bftx
  ├──config
  ├──deploy
  ├──docs
  ├──examples
  ├──githooks
  ├──init
  ├──lib
  │  ├──app
  │  │  ├──bf_tx
  │  │  ├──bft
  │  │  └──validator
  │  └──pkg
  │     ├──common
  │     ├──crytpo
  │     └──leveldb
  ├──pkg
  │  └──blockfreight
  ├──plugins
  ├──scripts
  ├──test
  ├──third_party
  ├──tools
  ├──vendor
  │  ├──github.com
  │  ├──golang.org
  │  └──google.golang.org
  └──web
     ├──app
     ├──static
     └──template

Blockfreight™ Application Code

/api

OpenAPI/Swagger specs, JSON schema files, protocol definition files.

/assets

Other assets to go along with our repository.

/build

Packaging and Continous Integration.

Put our cloud (AMI), container (Docker), OS (deb, rpm, pkg) package configurations and scripts in the /build/package directory.

Put our CI (travis, circle, drone) configurations and scripts in the /build/ci directory.

/bin

Application and binary files required.

/cmd

Main application code.

The directory name for each application matches the name of the executable we want to have (e.g., /cmd/bftx).

Don't put a lot of code in the application directory unless we think that code can be imported and used in other projects. If this is the case then the code should live in the /pkg directory.

It's common to have a small main function that imports and invokes the code from the /lib and /pkg directories.

/config

Configuration file templates or default configs.

Put our confd or consule-template template files here.

/deploy

IaaS, PaaS, system and container orchestration deployment configurations and templates (docker-compose, kubernetes/helm, mesos, terraform, bosh).

/docs

Design and user documents (in addition to our godoc generated documentation).

/examples

Examples for our applications and/or public libraries.

/githooks

Git hooks.

/init

System init (systemd, upstart, sysv) and process manager/supervisor (runit, supervisord) configs.

/lib

Private application and library code.

Put our actual application code in the /lib/app directory (e.g., /lib/app/bftx) and the code shared by those apps in the /lib/pkg directory (e.g., /lib/pkg/bftxnode).

/pkg

Library code that's safe to use by third party applications (e.g., /pkg/bftpubliclib).

Other projects will import these libraries expecting them to work, so think twice before we put something here :-)

/plugins

Blockfreight™ pluggable architechture support for third-party plugins.

/scripts

Scripts to perform various build, install, analysis, etc operations.

These scripts keep the root level Makefile small and simple.

/test

Additional external test apps and test data.

/third_party

External helper tools, forked code and other 3rd party utilities (e.g., Swagger UI).

/tools

Supporting tools for this project. Note that these tools can import code from the /pkg and /lib directories.

/vendor

Application dependencies (managed manually or by our favorite dependency management tool).

Don't commit our application dependencies if we are building a library.

Web Application Directories

/web

Web application specific components: static web assets, server side templates and SPAs.

Notes

Feedback to this project via Github Issues or email [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].