< 1 2 3 4 5 6 7 > >>   Sort: Date

What Is Fabric CA (Certificate Authority)
What is Fabric CA (Certificate Authority)? Fabric CA (Certificate Authority) is a component of Hyperledger Fabric platform that manages certificates for Hyperledger Fabric Network as a MSP (Membership Service Provider). Similar to a standard PKI CA server, Fabric CA provides features such as: Regist...
2019-10-27, 1542🔥, 0💬

Install Fabric CA Server and Client
How to install Fabric CA Server and Client binaries? You can follow this tutorial to install Fabric CA Server and Client binaries. 1. Install both the fabric-ca-server and fabric-ca-client binaries in $GOPATH/bin. $ go get -u github.com/hyperledger/fabric- ca/cmd/...$ cd $GOPATH $ ls -l ./bin -rwxrw...
2019-10-18, 1499🔥, 0💬

BYFN CLI Container "peer" Command
What is the BYFN (Build Your First Network) CLI Container "peer" Command? If you have the BYFN CLI container running, you can use it to run the "peer" command to manage your BYFN network. 1. Start the CLI container and connect to it: $ docker start cli cli $ docker exec -it cli bash bash-4.4# 2. Run...
2020-10-10, 1488🔥, 0💬

"fabric-nodeenv:latest not found" Error
How to resolve the "hyperledger/fabric-nodeenv:la testnot found" error? Based on discussions on the Internet, there is a something wrong in the Docker image repository for "hyperledger/fabric-nodeenv:la test"image. When you try to instantiate chaincode a Hyperledger Fabric network channel, a docker ...
2020-02-29, 1479🔥, 0💬

Client Application Gateway
What is Client Application Gateway? Client Application Gateway is mechanism that allows an application to focus on transaction generation, submission and response. It coordinates transaction proposal, ordering and notification processing between the different network components. If Isabella from Mag...
2019-12-02, 1460🔥, 0💬

wallet-import.js - Import Keys to Wallet
How to write a Node.js script to Import Keys to Wallet? After enroll (sign in) to ca.example.com, you will receive your private key and a certificate of your public key. You can save import them into a local wallet. Here is sample Node.js script, wallet-import.js, that enrolls (signs in) to ca.examp...
2019-04-22, 1454🔥, 0💬

CouchDB Container Used in Hyperledger Fabric
What is the CouchDB container used in Hyperledger Fabric network? If you are using CouchDB instead of Go LevelDB, your Hyperledger Fabric network will have another type of containers: 5. CouchDB container - There is one CouchDB container connected to a peer. Each CouchDB stores the World State for t...
2020-07-03, 1451🔥, 1💬

"docker-compose up" Command - Start the Network
How to run "docker-compose up" command to deploy and start containers to run BYFN (Build Your First Network)? You can follow this tutorial to run "docker-compose up" command to deploy and start containers to run BYFN. $ cd hyperledger-binaries/fabric-sa mples/first-network$ docker-compose -f docker-...
2020-10-20, 1447🔥, 0💬

Install Hyperledger Fabric Binary Package
How to Install Hyperledger Fabric Binary Package on Ubuntu? I don't want to download the source code and build the binary. You can follow this tutorial to Install Hyperledger Fabric Binary Package on Ubuntu. 1. Create the download local directory: $ mkdir -p hyperledger-binaries/fabric-sa mples$ cd ...
2020-05-15, 1423🔥, 0💬

Fabric CA User’s Guide
Where is the Fabric CA User’s Guide? The Fabric CA User’s Guide is provided at: hyperledger-fabric-ca.readthed ocs.io/en/release-1.4/users-gu ide.html. The Fabric CA User’s Guide provides information on the following topics: Overview Getting Started Prerequisites Install Explore the Fabric CA CLI Co...
2019-10-18, 1420🔥, 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, 1401🔥, 0💬

Watch "orderer" Container Log
How to watch the log file of the "orderer" Container? The "orderer" Container plays an important role in a Hyperledger Fabric network. You can follow this tutorial to watch its log file: 1. Set up a new terminal on the hosting system to follow the log file of the "orderer" container: $ docker logs -...
2020-07-07, 1389🔥, 0💬

Business Network Archive (BNA) File
What is Business Network Archive (BNA) file? A Business Network Archive (BNA) file is ZIP file that contains all source code files for a Hyperledger Composer application called Business Network. For example, if you downloaded the Basic Sample Business Network as a BNA file as shown in the previous t...
2020-11-22, 1365🔥, 0💬

"composer network install" Errors
Why am I getting errors when running the "composer network install" command? There are couple of reasons why you are getting errors when running the "composer network install" command to deploy business network BNA files. Error Example 1 - $ cd tutorial-network $ composer network install --card Peer...
2020-12-26, 1360🔥, 0💬

"byfn.sh down" - Shut Down BYFN Network
How to run "byfn.sh down" to shut down the BYFN Network? You can follow this tutorial to run "byfn.sh down" to shut down the BYFN Network. The "./byfn.sh down" command automatically generates the configuration again, deploys/starts all containers to the Docker Engine, and runs a set of chaincode tes...
2020-05-05, 1351🔥, 0💬

What Is Smart Contract
What Is Smart Contract? Smart Contract was originally introduced by Nick Szabo to digitally facilitate, verify, or enforce the negotiation or performance of a contract between parties. Today, smart contract is used to represent any executable code deployed in a distributed ledger application. The di...
2022-02-19, 1338🔥, 0💬

"docker rmi" - Remove Docker Images
How to run Docker images with the "docker rmi" command? If some Hyperledger Fabric scripts failed to remove Docker images, you can remove them manually with the "docker rmi" command. 1. Identify the image with REPOSITORY and TAG with the "docker images" command: $ docker images REPOSITORY TAG CREATE...
2020-04-14, 1327🔥, 0💬

Download Hyperledger Fabric Source Code
How to download Hyperledger Fabric source code on Ubuntu? You can follow this tutorial to download Hyperledger Fabric source code on Ubuntu: 1. Set up Go home path. And add the command to your shell initial script, ~/.bashrc, so you don't have to do it again in future logins. $ export GOPATH=$HOME/g...
2020-05-15, 1314🔥, 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, 1288🔥, 0💬

submit-transaction.js - Submit Chaincode Transaction
How to write a Node.js script to submit a transaction defined in the Invoke method of a chaincode? Here is sample Node.js script, submit-transaction.js, that uses a given user identity from the local wallet to submit a transaction on chaincode. /* Copyright (c) FYIcenter.com */ 'use strict'; const {...
2019-04-22, 1285🔥, 0💬

registerUser.js - Register User to ca.example.com
What is the user registration Node.js program registerUser.js? User registration Node.js program registerUser.js registers an user "user1" to ca.example.com. 1. View the registerUser.js source code: $ cp ~/hyperledger-binaries/fabric- samples/fabcar/javascript$ more registerUser.js /* * SPDX-License...
2020-01-04, 1282🔥, 0💬

Install Chaincode on BYFN Peers
How to install chaincode on BYFN peers? You can follow this tutorial to install chaincode on BYFN peers manually. 1. Verify the chaincode source file on the BYFN CLI container: $ docker exec -it cli bash bash-4.4# bash-4.4# echo $GOPATH /opt/gopath bash-4.4# ls -l $GOPATH/src/github.com/chainco de/ch...
2019-04-13, 1281🔥, 0💬

Fabric CA Integration with Fabric Peers
How Fabric CA (Certificate Authority) Server is integrated with Hyperledger Fabric peers? The diagram below illustrates how the Hyperledger Fabric CA server fits into the overall Hyperledger Fabric architecture. As you can see: You can run a single Fabric CA server to serve one organization. You can...
2019-10-27, 1280🔥, 0💬

"cryptogen" Command - Generate Keys and Certificates
How to run "cryptogen" command to generate private keys and public certificates to support organizations and users needed for BYFN (Build Your First Network)? You can follow this tutorial to run "cryptogen" command to generate private keys and public certificates to support organizations and users n...
2020-10-26, 1243🔥, 0💬

< 1 2 3 4 5 6 7 > >>   Sort: Date