<< < 52 53 54 55 56 57 58 59 60 61 62 > >>   Sort: Date

Blockchain Data Files on Peer Container
Where is the location of Blockchain Data Files on a Peer Container? We known that each peer container needs to maintain a copy of the ledger data for each channel it joined. Ledger data is divided into 2 parts: World State and Blockchain. The World State data is stored in a database, like Go LevelDB...
2020-05-29, 957🔥, 0💬

BYFN docker-compose-cli.yaml Configuration File
What is the docker-compose-cli.yaml Configuration File used in BYFN (Build Your First Network)? The docker-compose-cli.yaml Configuration File provides settings on Docker containers to run the BYFN network. Here is the default copy of docker-compose-cli.yaml provided in BYFN: # SPDX-License-Identifi...
2020-10-20, 955🔥, 0💬

Prepare User Identity for Isabella
How to Prepare User Identity for Isabella? If Isabella wants to run any application to use the chaincode running the PaperNet, you to prepare a user identity for her. An identity of an application user consists of a private key and a public key certificate issue by the CA node of the PaperNet. Norma...
2019-11-21, 955🔥, 0💬

Not All Member Peers Run Chaincode
How to find out which member peers are running a given chaincode? When a chaincode is instantiated on a channel, you don't need all member peers to install the chaincode and run it. But we have to have some member peers to install and run it. Otherwise, no transactions can be performed on this chain...
2019-04-17, 955🔥, 0💬

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

View Channel Blockchain and Download Blocks
How to View Blockchain and Download Blocks of a Hyperledger Fabric Channel? You can follow this tutorial to View Blockchain and Download Blocks of a Hyperledger Fabric Channel. 1. Connect to the CLI container of the Hyperledger Fabric network: $ docker exec -it cli bash bash-4.4# 2. List channels jo...
2020-08-13, 952🔥, 0💬

"composer network" Commands
What can I do with "composer network" command? "composer network" commands are part of the Composer CLI command set. It allows you to manage business networks running in the Hyperledger Composer developer environment. Here is the syntax of the "composer network" commands: $ composer network help Com...
2020-12-26, 951🔥, 0💬

"crypto-config.yaml" Environment Configuration File
What is the "crypto-config.yaml" Environment Configuration File? "crypto-config.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 ...
2020-07-22, 951🔥, 0💬

"docker-compose" - Deploy Orderer to Docker
How to deploy Orderer peer to Docker using the "docker-compose" command? You can follow this tutorial to deploy Orderer peer to Docker using the "docker-compose" command. 1. Verify required files for the Orderer peer: $ cd fabric-orderer $ ls -l -rw-rw-r-- 1 fyicenter 935 Apr 1 02:23 docker-compose-...
2019-08-23, 950🔥, 0💬

"openjdk" Docker Image for Windows
What is the "openjdk" Docker Image for Windows? "openjdk" Docker Image for Windows provides a Docker container of as a Java development environment. 1. Create a container from the "openjdk" image. C:\fyicenter&gt; docker container create --name java --tty --interactive openjdk 2. Start the conta...
2022-01-24, 948🔥, 0💬

Start/Stop Hyperledger Fabric Dev Environment
How to start and stop Hyplerledger Fabric Dev Environment? You can follow this tutorial to start and stop Hyplerledger Fabric on Ubuntu. 1. Make sure the Docker Engine is running: $ ps -e | grep dockerd 17939 ? 00:39:58 dockerd $ docker info Containers: 6 Running: 4 Paused: 0 Stopped: 2 Images: 88 S...
2021-04-04, 946🔥, 0💬

Join Peer to BYFN Network Channel
How to join the default peer to a BYFN network Channel? You can follow this tutorial to join the default peer to a BYFN network Channel. In last tutorial, we have created a transaction file, channel.tx, that contains a transaction message to create a channel called "mychannel" on the BYFN network. N...
2020-09-30, 945🔥, 0💬

What Is Blockchain
What Is Blockchain? A blockchain is a growing list of data blocks that are cryptographically chained together. A blockchain has the following main features: A data block has a header and a list of data transactions. Merkle hash tree is used to store a fingerprint of all transactions in the block hea...
2022-03-29, 944🔥, 0💬

Peer and CouchDB Container Dependency
Which Peer container depends which CouchDB container in BYFN network? If you are running BYFN (Build Your First Network) with the CouchDB option, the Peer and CouchDB Container Dependency is defined in the "docker-compose-couch.yaml" file. $ cd ~/hyperledger-binaries/fabric- samples/first-network$ m...
2020-07-03, 942🔥, 1💬

Install Docker CE on Ubuntu with "apt"
How to install Docker CE (Community Edition) on Ubuntu with "apt"? You can follow this tutorial to install Docker CE (Community Edition) on Ubuntu with the "apt" tool. 1. Get your Ubuntu codename with "lsb_release" command. fyicenter$ lsb_release -cs bionic 2. Get your system architecture name with ...
2019-04-18, 942🔥, 0💬

Hyperledger Composer Script File
What Is Hyperledger Composer Script File (*.js)? A Hyperledger Composer script file is a source code file that define business logics on how each transaction is processed. A script file uses the JavaScript language and the .js file extension. Here is an example of a script file from the Basic Sample...
2020-11-22, 941🔥, 0💬

Container Network - "net_basic"
What is the Container Network - "net_basic"? "net_basic" is a Docker container network consists of all containers related to Hyperledger Fabric network, basic-network. A container network groups containers together to help network communications among those containers. You can verify the "net_basic"...
2020-04-14, 939🔥, 0💬

Build the BYFN Network Manually
How to build the BYFN (Build Your First Network) manually? You build the BYFN network automatically with the "./byfn.sh up" script command. But if you want to learn how to build it manually, you need to complete the following steps: 1. Review and revise crypto-config.yaml configuration file, which c...
2020-10-26, 938🔥, 0💬

PyMySQL Package by pypi.org
How to use "pymysql" module from PyMySQL Package produced by pypi.org? "pymysql" is a Python module in the PyMySQL package provided by pypi.org for MySQL database connection. "pymysql" implements "PEP 249 -- Python Database API Specification v2.0" at https://www.python.org/dev/pep s/pep-0249/. You c...
2021-09-09, 937🔥, 0💬

CTO Language Statements
What are Business Network Model CTO Language Statements? Business Network Model CTO language supports 8 types of statements. namespace - The "namespace" statement declares a namespace as the prefix for all data types defined in this CTO file. The "namespace" statement has the same syntax as the "nam...
2021-08-04, 937🔥, 1💬

Turn on Ledger Peer Operation RESTful API
How to Turn on Ledger Peer Operation RESTful API? You can follow this tutorial to Turn on Ledger Peer Operation RESTful API. 1. Update Docker Compose YAML file, docker-compose-peer.yaml to override the "operations" settings: $ cd fabric-peer $ vi docker-compose-peer.yaml # Copyright (c) FYIcenter.co...
2019-02-09, 937🔥, 0💬

Download Blocks from Blockchain
How to download blocks from the blockchain on the peer? You can follow this tutorial to download blocks from the blockchain on the peer. 1. Connect to the peer container and setup membership variables: $ docker exec -it peer0.org1.example.com bash root@aedfd08717a5:/opt/gopath/ src/github.com/hyperle...
2020-03-25, 935🔥, 0💬

BYFN configtx.yaml Configuration File
What is the configtx.yaml Configuration File used in BYFN (Build Your First Network)? The configtx.yaml Configuration File provides settings on how the BYFN network should be created. Here is the default copy of crypto-config.yaml provided in BYFN: # Copyright IBM Corp. All Rights Reserved. --- ####...
2020-10-26, 934🔥, 0💬

BYFN CLI Container Missing Admin Certificates
How to fix the ".../org1.example.com/users/Ad min@org1.example.com/mspdoes not exist" when running the BYFN CLI "peer" command? When you build your BYFN network manually, you may end up missing admin user certificate on the CLI Docker container. 1. Check the certificate directory for the org1.exampl...
2020-10-10, 934🔥, 0💬

<< < 52 53 54 55 56 57 58 59 60 61 62 > >>   Sort: Date