<< < 49 50 51 52 53 54 55 56 57 58 59 > >>   Sort: Date

Peer Node Log File Location
Where are Peer Node Log Files located? Log files of the Hyperledger Composer peer node in the Docker container that runs the peer node. You can use these commands find peer node log files: 1. Find the container id of the peer node: $ docker ps | grep peer 6bc4e52f82d0 hyperledger/fabric-peer:x86_64 -...
2020-12-02, 1046🔥, 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, 1046🔥, 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, 1045🔥, 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, 1045🔥, 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, 1042🔥, 0💬

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, 1040🔥, 0💬

"docker container rm ..." - Remove All Containers
How to remove all containers from the Docker Engine with "docker container rm ..." command? If you have created many containers on the Docker Engine and you want to remove them all, you can use the "docker container rm ..." command with a sub-command to specify the list of all container IDs. 1. Run ...
2019-09-12, 1039🔥, 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, 1039🔥, 0💬

"docker container start/stop" - Start/Stop Container
How to start a stopped container on the Docker Engine with "docker container start/stop" command? In order to use the "docker container start" or "docker start" command, we need to know the container ID or name. 1. Get the ID or name of a stopped container from the output of the "docker container li...
2019-06-04, 1038🔥, 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, 1037🔥, 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, 1036🔥, 0💬

Install Docker CE on Ubuntu Manually
How to install Docker CE (Community Edition) on Ubuntu Manually? You can follow this tutorial to install Docker CE (Community Edition) on Ubuntu manually. 1. Get your Ubuntu codename with "lsb_release" command. fyicenter$ lsb_release -cs bionic 2. Get your system architecture name with "arch" or "un...
2019-04-21, 1036🔥, 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, 1034🔥, 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, 1034🔥, 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, 1033🔥, 0💬

Build and Run "Hello" Go Program
How to Build and Run "Hello" Go Program on Ubuntu? Hyperledger Fabric framework is written in Go language. So it is important to learn how build and run Go programs on Ubuntu. Here are the steps to build and run the "Hello" Go program. 1. Make sure that Go is installed. $ go version go version go1.1...
2020-05-15, 1032🔥, 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, 1032🔥, 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, 1031🔥, 0💬

"docker image inspect" - Inspect Image
How to Inspect an Image in the local repository with "docker image inspect" command? You can get more information from an image using the "docker image inspect" command with a given image name or ID: fyicenter$ docker image inspect hello-world [ { "Id": "sha256:fce289e99eb9bca977dae1 36fbe2a82b6b7d4c...
2019-03-31, 1030🔥, 0💬

BYFN Chaincode Docker Container
What is the BYFN chaincode Docker container? The BYFN chaincode Docker container represents the running instance of the "mycc" chaincode. When "mycc" chaincode is instantiated from peer0.org1, a chaincode Docker container (shim) is deployed and started on the Docker engine. You can find chaincode co...
2020-09-15, 1028🔥, 0💬

"PeerAdmin@hlfv1" - Peer Admin Access Card
What is Peer Admin Access Card "PeerAdmin@hlfv1"? "PeerAdmin@hlfv1" is a special Business Network Card that has special permission to deploy new Business Network to the peer node, "peer0.org1.example.com" in your Hyperledger Composer Developer Environment? "PeerAdmin@hlfv1" card can be created with ...
2020-07-14, 1025🔥, 0💬

Switch Default Peer with Scripts
How to Switch Default Peer on the CLI container with Scripts? I am tired of typing those 4 CORE_PEER_* export commands. From previous tutorial, we know that we need to type in export commands to set 4 CORE_PEER_* environment variables. But you can also put them into shell scripts and run them whenev...
2020-05-29, 1024🔥, 0💬

Install WSL 2 on Windows 10
How to Install WSL (Windows Subsystem Linux) 2 on Windows 10? There are two options to support Docker Desktop on Windows: Using WSL (Windows Subsystem Linux) 2 - WSL 2 is a Windows tool that allows you to install a Linux distribution as an app from the Windows store. WSL 2 actually uses the Linux ke...
2023-01-30, 1023🔥, 0💬

Query Chaincode Property on BYFN Channel
How to Query Chaincode Property on BYFN Channel? An instance of a chaincode can be viewed as an object of a class in an execution environment. It can hold properties. You can run the "peer chaincode query" command to query the current value of a given property of a given chaincode instance. 1. Verif...
2020-09-30, 1023🔥, 0💬

<< < 49 50 51 52 53 54 55 56 57 58 59 > >>   Sort: Date