<< < 20 21 22 23 24 25 26 27 28 29 30 > >>   Sort: Rank

Launch the WYFA Network
How to Launch the Hyperledger Fabric Network to run the WYFA (Writing Your First Application) tutorial? You can follow these steps to Launch the Hyperledger Fabric Network to run the WYFA (Writing Your First Application) tutorial. 1. Run the startFabric.sh script to spin up a blockchain network, cre...
2020-02-29, 1123🔥, 0💬

Verify the WYFA Network
How to Verify the Hyperledger Fabric Network to run the WYFA (Writing Your First Application) tutorial? You can follow these steps to verify the Hyperledger Fabric Network to run the WYFA (Writing Your First Application) tutorial. 1. Connect to the CLI container: $ docker exec -it cli bash bash-4.4#...
2020-02-29, 994🔥, 0💬

Reinstall Chaincode on WYFA Network
How to Reinstall Chaincode on the WYFA (Writing Your First Application) network? You can follow these steps to Reinstall Chaincode on the WYFA (Writing Your First Application) network. 1. Try to install "fabcar" chaincode again. You may see an error, if the chaincode is already installed. $ docker e...
2020-02-29, 954🔥, 0💬

Clean Up Docker Engine for WYFA
How to Clean Up Docker Engine to run the WYFA (Writing Your First Application) tutorial? You can follow these steps to setup the Clean Up Docker Engine to run the WYFA (Writing Your First Application) tutorial. 1. Stop existing Hyperledger Fabric Networks on your local host by stopping all Docker co...
2020-02-29, 941🔥, 0💬

Read Block Data in Blockchain
How to Read Block Data from a Blockchain? The block data from a blockchain uses a binary format. You need to use the "configtxgen -inspectBlock" command parse it to JSON format. 1. Get the newest block from the blockchain: $ docker exec -it cli bash root@262918fdcbc0:/opt/gopath/ src/github.com/hyper...
2020-02-20, 1767🔥, 0💬

Interact with "fabcar" Chaincode on CLI
How to Interact "fabcar" Chaincode on CLI? After you started the WYFA network properly, you will have the "fabcar" chaincode running on "mychannel" on the peer0.org1.example.com peer container. You can now interact with the "fabcar" chaincode from the CLI container as shown below. 1. Connect to CLI ...
2020-02-20, 1685🔥, 0💬

fabcar.go - The "fabcar" Chaincode
What is the fabcar.go source code file? File fabcar.go contains the source code the "fabcar" chaincode (or Smart Contract). A copy of fabcar.go file is available is the /opt/gopath/src directory on the "cli" container. You can open and read it. 1. Copy fabcar.go from cli container: $ docker cp cli:/...
2020-02-20, 1400🔥, 0💬

Verify Blockchain on the Channel
How to Verify Blockchain on the Channel? Since all transactions (changes of assets managed by chaincodes) are stored in the blockchain shared by all peers of the channel, you can use the "peer channel" CLI command to look at them. 1. Connect to CLI container: $ docker exec -it cli bash root@262918fd...
2020-02-20, 1024🔥, 0💬

Verify World State in CouchDB
How to Verify World State in CouchDB container? Since peer0.org1.example.com uses the couchdb container to store the world state, you can check the current states of all assets managed by the chaincode. 1. Get database name for the chaincode "fabcar": $ curl http://localhost:5984/_all_dbs ["_replica...
2020-02-20, 985🔥, 0💬

blockfile_000000 - Blockfiles of Blockchain
What is blockfile_000000 Blockfiles of Blockchain? Blocks of a blockchain are stored in physical files. Since they are very static once created, there is no need to store them in database. Hyperledger Fabric combines multiple blocks into a single blockfile, and stores it in the /var/hyperledger/prod...
2020-02-07, 1965🔥, 0💬

Simplest Hyperledger Fabric Network
What is the simplest Hyperledger Fabric Network? The simplest Hyperledger Fabric Network consists of 2 systems, an orderer and a peer, running 1 channel with 1 chaincode. But ledger (Blockchain and World State) is not distributed. To improve reliability, we can add a second ledger peer to the networ...
2020-02-07, 1237🔥, 0💬

Node.js SDK and Client Application
What is Node.js SDK and how to use it to write client applications? Hyperledger Fabric Node.js SDK is a set of libraries that allows you to write client applications to interact with chaincode in Node.js language. A Hyperledger Fabric network can be viewed as virtual operating system. Once it is up ...
2020-02-07, 1183🔥, 0💬

Setup Node.js for WYFA Tests
How to Setup Node.js for WYFA (Write Your First Application) Tests? Before performing any Node.js SDK tests on the WYFA network, you need to setup the Node.js on your local host. 1. Make sure Node.js is installed: $ node --version v8.10.0 2. Install required packages: $ cd hyperledger-binaries/fabri...
2020-02-07, 1086🔥, 0💬

Hyperledger Fabric Network
Where to find tutorials on Hyperledger Fabric Network? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Hyperledger Fabric Network. Simplest Hyperledger Fabric Network Two-Organization Hyperledger Fabric Network Multiple Ledger Peers within Orga...
2020-02-07, 967🔥, 0💬

Two-Organization Hyperledger Fabric Network
What is the simplest Hyperledger Fabric Network for two organizations? The simplest Hyperledger Fabric Network for two organizations consists of 3 systems: an orderer and a peer managed by first organization, and another peer managed by the second organization. If the second organization does not fu...
2020-01-29, 1565🔥, 0💬

Multiple Ledger Peers within Organization
Can I run multiple ledger peers in my organization on a multi-organization network? Yes, you can run multiple ledger peers in your organization on a multi-organization network. This will make the network more reliable to serve client applications of your organization. You can also replace the third ...
2020-01-29, 1222🔥, 0💬

What Is Hyperledger Fabric Query
What Is Hyperledger Fabric Query? A Hyperledger Fabric Query is a GET operation provided by a chaincode on a channel on a Hyperledger Fabric network to return the current state of a given asset. In order to perform a query operation, you need to prepare the following: Asset ID - Identifies the Asset...
2020-01-29, 1023🔥, 0💬

Interfaces to Communicate with Ledger Peer
Where to find tutorials on Interfaces to Communicate with Ledger Peer? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Interfaces to Communicate with Ledger Peer. Main Interfaces to Communicate with Ledger Peer Download and Install Golang SDK D...
2020-01-29, 981🔥, 0💬

Hyperledger Fabric Process Flow
Where to find tutorials on Hyperledger Fabric Process Flow? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Hyperledger Fabric Process Flow. What Is Hyperledger Fabric Query   ⇒ What Is Hyperledger Fabric Query ⇐ Organization with CLI Admin To...
2020-01-29, 876🔥, 0💬

Download and Install Golang SDK
How to download and install Golang SDK for Hyperledger Fabric? You can follow this tutorial to download and install Golang SDK for Hyperledger Fabric. 1. Download Golang SDK: $ export GOPATH=~/go $ echo $GOPATH /home/fyicenter/go $ go get github.com/hyperledger/fabric- sdk-go2. Verify Golang SDK pac...
2020-01-21, 1287🔥, 0💬

Contents of Hyperledger Fabric Binary Package
What contents are included in the Hyperledger Fabric Binary Package? Here is the directory list of the Hyperledger Fabric Binary Package: $ cd ~/hyperledger-binaries/fabric- samples$ ls -l -rw-rw-r-- 1 fyicenter 597 Apr 1 23:01 CODE_OF_CONDUCT.md -rw-rw-r-- 1 fyicenter 961 Apr 1 23:01 CONTRIBUTING.m...
2020-01-21, 1017🔥, 0💬

Download and Install Java SDK
How to download and install Java SDK for Hyperledger Fabric? You can follow this tutorial to download and install Java SDK for Hyperledger Fabric. 1. Install JDK 11: $ sudo add-apt-repository ppa:linuxuprising/java $ sudo apt-get update $ sudo apt-get install oracle-java11-installer $ java -version ...
2020-01-21, 996🔥, 0💬

Hyperledger Related Terminology
Hyperledger Related Terminology: Asset - An Asset is a data object with a unique identifier. The content of an asset can be anything from a simple numeric value to a complex data object. For example, an asset can represent a financial asset, like a bank account in a bank system. Blockchain - A Block...
2020-01-21, 971🔥, 0💬

Main Interfaces to Communicate with Ledger Peer
What are Main Interfaces to Communicate with a ledger peer on a hyperledger fabric network? There are 3 Main Interfaces to Communicate with a ledger peer on a hyperledger fabric network. 1. Peer CLI - The Peer CLI is a Command Line Interface (CLI) provided as part of the Hyperledger Fabric distribut...
2020-01-21, 963🔥, 0💬

<< < 20 21 22 23 24 25 26 27 28 29 30 > >>   Sort: Rank