First, the Fabric SDK
The latest official document for Hyperledger fabric (V1.1.0-preview), the description of the Fabric SDK is still poor, just a few simple descriptions, plus two GitHub links: Fabric-sdk-node Fabric-sdk-java
I
Super Ledger Hyperledger-fabric local compilation and installation
From Yang Paohua and other "blockchain-principles, design and Application" Local compilation installation deployment Super Ledger fabric network.
The super ledger fabric is based on the Go language implementation, and local compilation is recommended t
00 Introduction
The open source Blockchain distributed ledger--hyperledger Fabric, launched by the Linux Foundation, has ushered in the 1.2.0 version. The project focuses on performance and reliability, as well as cross-industry collaboration to drive blockchain and distributed ledger technology. Hyperledger Fabric can
: $PATH
Exit Edit and enter the following command to make the changes effective:
Source/etc/profile
Enter the following command to see if the installation was successful:
Go version
If it appears: Go version go1.9.2 LINUX/AMD64 indicates a successful configuration.
As for Gopath, this is the directory where the Go program runs, that is, all the go programs you write are placed in this directory. Based on the above configuration, we create a new Gopath folder in the ~ directory and then create
Password. Password: # Number of retries for CouchDB errors maxretries:3# Number of retries for CouchDB errors during peer startup Maxretriesonstartup:10# CouchDB Request Timeout (unit:duration, e.g. 20s) requesttimeout:35s # Limit on the number of Reco RDS to return per query Querylimit:10000 COUCHDB is hosted in a Docker container by using a Docker compose script that uses Hyperledger fabric to set C
Take a look at the samples two department network three automation scripts have done what to boot block chain network execution Scriptsscriptsh scripts four themselves perform Channelchaincode related operations start the network into the CLI container create channel add to channel install C Haincode initialization chaincode Chaincode Query method Chaincode Invoke method Chaincode other methods
A. Download Samples
Note: build the basic environment first, then follow the steps below.
git clone ht
Today's article is from Wen Aviva, who is a face-to-face programmer of Jerry.
Jerry has introduced Aviva in his previous article titled "displaying the 3D model view of product master data with pure Javascript in sap ui, other colleagues in the SAP Chengdu c4c development team commented that:"Beauty and wisdom embodiment","Queen of the cloud age","Is the Guide to cutting-edge technologies". Because Jerry and Aviva are in a group, my opinion is that these reviews are all named.
For example, Jerry
1. Way One
Direct download to the Docker hub:
https://hub.docker.com/r/hyperledger/
Docker Pull hyperledger/fabric-peer:x86_64-1.0.1Docker Pull hyperledger/fabric-orderer:x86_64-1.0.1Docker Pull hyperledger/
If you have installed tools such as Go, git and checkout related and download related images, you can only get up to 5 steps below. e2e_cli~/go/src/github.com/hyperledger/fabric$sudo chmod 777 release~/go/src/github.com/hyperledger/fabric$sudo chmod 777examples/e2e_cli~/go/src/github.com/
as a standalone database process with peer, so there are additional considerations for setup, management, and operation. We can consider starting with the default embedded Leveldb, which can be transferred to COUCHDB if additional complex rich queries are required. Modeling Chaincode Asset data as JSON is a good practice so that we can execute the complex rich queries we need in the future. Two. Enable Couchdb This article uses the relevant components and resources in the
This is a creation in
Article, where the information may have evolved or changed.
Hyperledger Fabric Client SDK for Go
Go get-u github.com/hyperledger/fabric-sdk-go
Document Https://godoc.org/github.com/hyperledger/fabric-sdk
Images required to recompile the Docker development environment after Hyperledger/fabric new user
Author: Chen Zhao Lin email:chenlin2@ms9.hinet.net
Hyperledger does not belong to the public Chain, such as Bitcoin, he is a private chain that requires user review and authentication to join a blockchain transaction, which uses a CA (Certificate authority) for pub
Copyright Notice: Blog Article copyright owners all, without authorization, prohibit reprint, reprint please specify the source installation Environment installation JDK
Download URL: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Download jdk-8u151-macosx-x64.dmg install to PC install maven
Download URL: https://maven.apache.org/download.cgi
Extract to/users/fujinliang/documents/environment
Open terminal , modify. BASHRC
VI ~/.BASHRC
Add the following code
variable:
Enter the. BASHRC Configuration environment variable:
$ sudo vim ~/. BASHRC or: $ sudo vim/etc/profile
Add the following code to the last side:
Export gopath=/usr/local/goexport path= $GOPATH/bin: $PATH
Save, exit.
To make an environment variable effective:
$ source ~/. BASHRC or: $ source/etc/profile
After viewing the version number no problem, the configuration is successful.1.3.2 node. js
Download node. js
$ CURL-SL https://
Install node. js
sudo Install -y Nodejs
Check
This is the Chaincode for developers chapter in the official document of Hyperledger Fabric V1.0.The first translation, the wrong place also asked netizens to point out that we learn together progress.Original address (http://hyperledger-fabric.readthedocs.io/en/latest/chaincode4ade.html) chain code is what
Chaincode is a program written with go, which eventually
Operating Environment CENTOS7 64-bit
1. CentOS Docker Installation
Yum-y Install Docker-io
2. Start Docker Service
Start: Service Docker start
Boot from: Chkconfig Docker on
View Docker versions: Docker version
3. Installation container compose:
Curl-l https://github.com/docker/compose/releases/download/1.11.2/docker-compose-' uname-s '-' uname-m ' >/usr/ Local/bin/docker-compose
chmod +x/usr/local/bin/docker-compose
View the version number and display version information if the installati
Blockchain is a popular technology nowadays, where IBM Hyperledger (open source) is the leader in the alliance chain. IBM has the relevant courses.
The following is the entire process of building hyperledger fabric in your own Ubuntu development environment for reference.
First, the previous step diagram
(the original is not carefully encrypted by the DSM, can no
The environment required to build the fabric under the ubantu environment.Configure Ubantu virtual machine under Mac, tutorial can refer to above.When the Ubantu system is ready, start the environment setup.
Environment construction
Quick Start: http://hyperledger-fabric.readthedocs.io/en/release-1.1/getting_started.html
Premise
Install Git
$ sudo apt update$ sudo apt install git
Installing Curl
$ sudo apt
Output:go version go1.10.1 linux/amd64
If you have an older version of Golang in your system, uninstall the old version of Golang using the following command, and then reinstall
$ su -# apt-get remove golang-go --purge apt-get autoremove --purge apt-get clean
Installing node and NPM
Install NVM
Install node
$ nvm install v8.11.1
Check node version
$ node -v
Output:v8.11.1
Check NPM version
$ npm -v
Output:5.6.0
Hyperledger
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.