<< < 1 2 3 4 5 6 7 8 9 10 11 > >>   Sort: Date

"docker start/stop" - Start and Stop Docker Containers
How to run "docker start/stop" - Start and Stop Docker Containers for BYFN (Build Your First Network)? If you have your BYFN Docker containers deployed to the Docker Engine, you can use the "docker start/stop" command to manage them. 1. Look at the status of all deployed Docker containers: $ docker ...
2020-10-10, 1031🔥, 0💬

Remove Log Files of Docker Container
How to remove log files of a Docker container? If you keep a Docker container running for many days, it will generate many log files on your hosting system. You can follow this tutorial to remove old log files of a Docker container. 1. Get the container ID of "peer0.org1.example.com" container: $ do...
2020-05-29, 1031🔥, 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, 1030🔥, 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, 1028🔥, 0💬

Orderer Peer Operation RESTful API
What is Orderer Peer Operation RESTful API? The Orderer Peer Operation RESTful API is RESTful Web service provided by an orderer peer. It is different than and separated from the primary orderer Web service provided by the orderer peer. orderer Peer Operation RESTful API exposes the following functi...
2019-05-14, 1028🔥, 0💬

Remove Older Versions Chaincode Containers
How to Remove Older Versions Chaincode Containers after the chaincode instance is upgraded? After a chaincode instance is upgraded, chaincode containers of the old version are still running on the Docker Engine. You can follow this tutorial to remove them. 1. List all chaincode containers: $ docker ...
2020-08-13, 1027🔥, 0💬

View Logs Files of basic-network
How to view logs files of the example network, basic-network? The example network, basic-network, consists of 4 Docker containers. You can view the log file on each container. 1. View log file of the orderer container: $ docker logs orderer.example.com [orderer.common.server] prettyPrintStruct -&...
2020-04-14, 1027🔥, 0💬

Deploy couchdb Container Manually
How to Deploy couchdb as a Docker container manually? You can follow this tutorial to Deploy couchdb as a Docker container manually. 1. Verify the configuration of the couchdb container defined in the docker-compose.yml file: $ cd ~/hyperledger-binaries/fabric- samples/basic-network$ more docker-com...
2020-07-03, 1025🔥, 1💬

Create Orderer Organization Definition
How to Create Orderer Organization Definition? You can follow this tutorial to Create Orderer Organization Definition. 1. Instead of creating a new MSP entry for the orderer, you can borrow the one created in BYFN tutorials: $ mkdir fabric-orderer $ cd fabric-orderer $ cp -r ~/hyperledger-binaries/f...
2019-09-04, 1025🔥, 0💬

Steps of Setting Up Ledger Peer
What are major steps to Set Up an Ledger Peer on a Hyperledger Fabric network? Here are major steps to Set Up an Ledger Peer (also called Peer Node) on a Hyperledger Fabric network. Pulling the Hyperledger Fabric peer images from docker hub. Creating the organization your peer node belongs to. Confi...
2019-05-14, 1025🔥, 0💬

Hyperledger Composer Runtime
What Is the Hyperledger Composer Runtime? The primary component of the Hyperledger Composer is the Composer Runtime as shown in the following architecture diagram: |----------------------------- || Business | Business | ... | | Network 1 | Network 2 | ... | |----------- API -------------| |---------...
2021-12-28, 1024🔥, 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, 1021🔥, 0💬

Uninstall Chaincode on BYFN Peers
How to uninstall chaincodes on BYFN Peers? Unfortunately, the BYFN CLI "peer chaincode" command does offer any option to uninstall chaincodes from a given peer. You have two options when your chaincodes from different peers are out of sync or incompatible: 1. Destroy chaincode instance and re-instal...
2020-09-15, 1020🔥, 0💬

"byfn.sh generate" - Generate BYFN Configuration
How to run "byfn.sh generate" to Generate BYFN Network Configuration? You can follow this tutorial to run "byfn.sh generate" to Generate BYFN Network Configuration with default values. The "./byfn.sh generate" command automatically calls: "../bin/cryptogen" to generate certificates, and "../bin/conf...
2020-05-05, 1019🔥, 0💬

Start Fabric CA Server Natively
How to Start Fabric CA Server Natively? You can follow this tutorial to Start Fabric CA Server Natively. 1. Shutdown existing Fabric CA Server or any process (or docker container) that is using port 7054. $ docker ps | grep fabric-ca hyperledger/fabric-ca:amd64-1. 4.0Up 9 days 0.0.0.0:7054-&gt;7...
2019-10-18, 1017🔥, 0💬

buy.js - Application to Buy Paper
What is the Application to Buy Paper, buy.js? buy.js is a client application using the Hyperledger Fabric Node.js SDK library to invoke the buy() function of the papercontract running on the PaperNet. 1. View buy.js source code: (balaji)$ cd ~/hyperledger-binaries/fabric- samples(balaji)$ cd commerc...
2019-11-08, 1016🔥, 0💬

Pull Hyperledger Fabric Orderer Image
How to Pull Hyperledger Fabric Orderer Image from docker hub? You can follow this tutorial to Pull Hyperledger Fabric Orderer Image from docker hub. 1. Check the Docker local repository: $ docker image list | grep fabric-orderer hyperledger/fabric-orderer latest ec4ca236d3d4 2 weeks ago 173MB hyperl...
2019-09-04, 1016🔥, 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, 1013🔥, 0💬

"composer archive" to Generate BNA File
How to package my business network source code files into a BNA file for deployment? You can use the "composer archive create" command to package my business network source code files into a BNA file for deployment: $ cd tutorial-network $ composer archive create -t dir -n . $ ls -l tutorial-network...
2021-02-04, 1012🔥, 0💬

Watch Peer Container Log
How to watch the log file of Peer Container Log? You can follow this tutorial to watch the log file of a peer container: 1. Set up a new terminal on the hosting system to follow the log file of the "peer0.org1.example.com" container: $ docker logs --tail 10 -f peer0.org1.example.com [gossip.comm] fu...
2020-07-07, 1011🔥, 0💬

Turn on Orderer Peer Operation RESTful API
How to Turn on Orderer Peer Operation RESTful API? You can follow this tutorial to Turn on Orderer Peer Operation RESTful API. 1. Update Docker Compose YAML file, docker-compose-default.yaml to override the "operations" settings: $ cd fabric-orderer $ vi docker-compose-default.yaml # Copyright (c) F...
2019-05-14, 1010🔥, 0💬

"configtx.yaml" Environment Configuration File
What is the "configtx.yaml" Environment Configuration File? "configtx.yaml" is a Configuration File used to control the Hyplerledger Composer development environment. It is located in the "composer" sub-directory: $ cd fabric-dev-servers/fabric-scri pts/hlfv12/composer$ ls -l -rw-r--r-- 1 fyicenter ...
2020-07-22, 1009🔥, 0💬

docker-compose-orderer.yaml - Docker Configuration
What is the Docker Compose configuration file for an Orderer peer? The Docker Compose configuration file, docker-compose-orderer.yaml, provides settings on how to run the orderer peer on the Docker engine. Here is a sample of docker-compose-orderer.yaml for a single orderer peer: $ cd fabric-orderer...
2019-08-23, 1007🔥, 0💬

Connect to Local Playground Server
How to connect to my local Hyperledger Composer Playground Server? When your local Hyperledger Composer Playground Server is started, it listens to the 8080 port by default. So you can connect to the server with a Web browser on the local system, using the following address: http://localhost:8080 If...
2021-02-17, 1006🔥, 0💬

<< < 1 2 3 4 5 6 7 8 9 10 11 > >>   Sort: Date