<< < 34 35 36 37 38 39 40 41 42 43 44 > >>   Sort: Date

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, 464👍, 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, 463👍, 0💬

What Is Ledger Peer Operation RESTful API
What is Ledger Peer Operation RESTful API? Ledger Peer Operation RESTful API is RESTful Web service provided by a ledger peer. It is different than and separated from the primary ledger Web service provided by the ledger peer. Ledger Peer Operation RESTful API exposes the following functionalities: ...
2019-04-11, 462👍, 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, 461👍, 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, 461👍, 0💬

"docker container run" - Create and Run Container
How to create a new container and run the default command from an image with "docker container run" command? If you want to create a new container from an image, and start the container with the default command in one step, you can use the "docker container run" command. 1. Get the image name with t...
2019-03-25, 461👍, 0💬

Objectives of WYFA tutorials
What are the objectives of WYFA (Writing Your First Application) tutorials? Objectives of WYFA (Writing Your First Application) tutorials provided at hyperledger-fabric.readthedocs .ioWebsite are: 1. Setting up a development environment. Our application needs a network to interact with, so we’ll get...
2020-03-15, 460👍, 0💬

Building Docker Image with "docker build"
Where to find tutorials on Building new Docker Images with "docker build" command? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team Building new Docker Images with "docker build" command. What Is "docker build" Command Build "hello" Image from Alpi...
2019-02-11, 460👍, 0💬

ENTRYPOINT [...] - Specify Entrypoint Executable
How to specify the executable program to the ENTRYPOINT instruction in DockerFile? The ENTRYPOINT instruction has two different syntax formats. 1. Executable Program Format - Executable Program Format allows you to specify the path name of an executable program file and its parameters in a JSON arra...
2019-02-09, 460👍, 0💬

Start CLI Container for DigiBank Admin
How to Start CLI Container for the DigiBank Administrator? If you are the administrator from DigiBank and want to manage the PaperNet Hyperledger Fabric network, you can follow this tutorial. 1. Create a new terminal window and run the docker-compose command to start the CLI container: (digibank adm...
2019-11-21, 459👍, 0💬

Create "PeerAdmin@hlfv1" Card Manually
How to create the "PeerAdmin@hlfv1" card manually? If you don't want to use the "createPeerAdminCard.sh" script to create the "PeerAdmin@hlfv1" card automatically, you can follow this tutorial to create it manually. 1. Create connection profile "connection.json": $ mkdir ~/card $ cd ~/card $ vi conn...
2020-07-14, 458👍, 0💬

What Is Hyperledger
What Is Hyperledger? Hyperledger is an open source project for developing blockchain-based application frameworks and tools. Currently, Hyperledger is working on the following frameworks: Hyperledger Burrow v.0.21.0, 2019 - Hyperledger Burrow is a blockchain client including a built-to-specification...
2019-04-19, 458👍, 0💬

"docker container create --name" - Name Container
How to create a new container with a name from an image with "docker container create --name" command? If you create a new container with default options, it will be given a random name. You should use the "--name" to provide your own name. 1. Create a new container with random name. $ docker contai...
2019-03-25, 458👍, 0💬

Azure AD Integration Versions 1 and 2
What are differences of v1.0 and v2.0 of Azure AD Integration? The main difference between v1.0 and v2.0 of Azure AD Integration is who can sign in to your application: Azure AD v1.0 allows only work and school accounts to sign in to your application. Azure AD v2.0 allows work and school accounts fr...
2021-01-09, 457👍, 0💬

BYFN Error - "unable to bootstrap orderer"
Why am I getting the "panic: unable to bootstrap orderer. Error reading genesis block file: read /var/hyperledger/orderer/order er.genesis.block:is a directory" error? When you build and deploy your BYFN network manually, you may end up missing the genesis.block file. Try to run the "docker-compose ...
2020-10-10, 457👍, 0💬

"docker container run --detached" - Run Container in Background
How to Create a new Container and run it in the background using the "docker container run --detach" command? If you want to create an Alpine container and start a command that runs for a long time, you can use the --detach option to let it run in the background. 1. Create a new container with "alpi...
2018-12-01, 457👍, 0💬

orderer.yaml - Orderer Peer Configuration File
What is the Orderer Peer Configuration File, orderer.yaml? The Orderer Peer Configuration File, orderer.yaml, provides settings to control the behavior of the Orderer peer. You can take a copy of the orderer.yaml provided in Fabric binary and sample package: $ cd fabric-orderer $ cp ~/hyperledger-bi...
2019-09-04, 456👍, 0💬

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, 456👍, 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, 455👍, 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, 454👍, 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 runing 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 c...
2020-02-20, 454👍, 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, 453👍, 0💬

CORE_PEER_* Environment Variables on BYFN CLI
What is the default peer and how to change it on the BYFN CLI container? On the BYFN CLI container, you can manage other peer nodes with the "peer" command. When you run a "peer" command, it will connect to the default peer node define by these environment variables: CORE_PEER_ADDRESS=peer0.org1.e xa...
2020-09-30, 451👍, 0💬

"composer card" Commands
What can I do with "composer card" command? "composer card" commands are part of the Composer CLI command set. It allows you to manage access cards stored in the Composer Wallet, which is located at "~/.composer/cards" directory. Here is the syntax of the "composer card" commands: $ composer card he...
2020-07-22, 451👍, 0💬

<< < 34 35 36 37 38 39 40 41 42 43 44 > >>   Sort: Date