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

FabricCAServices Node.js Class
What is the FabricCAServices Node.js Class? FabricCAServices is a class provided in Node.js SDK 'fabric-ca-client' module. FabricCAServices can be used by client applications to communicate with the Fabric CA server. Key properties and methods provided in FabricCAServices class are: new FabricCAServ...
2019-11-08, 501👍, 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, 501👍, 0💬

"docker container create" - Create Container
How to create a new container from an image with "docker container create" command? You can create a new container from an image with "docker container create" command by giving the image name. 1. Get the image name with the "docker image list" command. $ docker image list | grep hello-world hello-w...
2019-04-06, 501👍, 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, 499👍, 0💬

Azure AD v2 Sign-On Authentication Request
What is the Azure AD v2.0 Sign-On Authentication Request? Before deciding which Azure AD v2.0 authentication flow you want to implement in your Web application, you need to have a good understanding of the Azure AD v2.0 Sign-on authentication request, which is the first call you have to make in any ...
2021-01-09, 498👍, 0💬

Enroll Fabric CA Client Admin Identity
How to Enroll Fabric CA Client Admin Identity? In order to use Fabric CA Client tool, you must enroll the server admin identity first. 1. Make sure Fabric CA Server is running at port 7054. 2. Set up FABRIC_CA_CLIENT_HOME environment variable to avoid using the default of $HOME/.fabric-ca-client $ m...
2019-09-27, 498👍, 0💬

Organization with CA Server
Should I run Fabric CA server in my organization on a multi-organization network? Yes, you should run Fabric CA server in your organization on a multi-organization network. It is your responsibility to manage membership of who can access ledger peers in your organization. Now we have a Hyperledger F...
2019-10-27, 497👍, 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, 496👍, 0💬

Check "couchdb" Database Server
How to Check the "couchdb" Database Server? The "couchdb" database server supports a REST API. We can use it to look at its data. 1. Find out the REST API port number of the "couchdb" server container: $ docker ps | grep couchdb hyperledger/fabric-couchdb 4369/tcp, 9100/tcp, 0.0.0.0:5984-&gt;598...
2020-03-25, 496👍, 0💬

BYFN Root CA Certificates
Where are BYFN root CA (Certificate Authority) certificates are located? Like all Hyperledger Fabric networks, BYFN is a private and permission based hyperledger network. Access to the network are control PKI (Public Key Infrastructur) technology. In BYFN, each organization who manages peer nodes ac...
2020-10-26, 495👍, 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, 495👍, 0💬

"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, 494👍, 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, 493👍, 0💬

Clean Up Docker Engine for WYFA
How to Clean Up Docker Engine to run the WYFA (Writing Your First Application) tutorial? You can follow these steps to setup the Clean Up Docker Engine to run the WYFA (Writing Your First Application) tutorial. 1. Stop existing Hyperledger Fabric Networks on your local host by stopping all Docker co...
2020-02-29, 491👍, 0💬

Organization with CLI Admin Tool
Should I run CLI Admin Tool in my organization on a multi-organization network? Yes, you should run CLI Admin Tool in your organization on a multi-organization network. It provides a nice tool for your administrator to manage ledger peers in your organization. Now we have a Hyperledger Fabric Networ...
2019-10-27, 491👍, 0💬

"docker container create alpine" - Create Alpine Container
How to Create Alpine Container with the "docker container create alpine" command? With the Alpine Docker Image downloaded to the local repository, you can use the "docker container create alpine" command to create a new container from the Alpine image. 1. Run "docker container create" command to cre...
2018-12-25, 490👍, 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, 489👍, 0💬

papercontract.js - PaperNet Chaincode (Smart Contract)
What is the PaperNet Chaincode (Smart Contract), papercontract.js? papercontract.js is the chaincode (or smart contract) for the PaperNet written in Node.js language. 1. View papercontract.js source code: (magnetocorp admin)$ cd ~/hyperledger-binaries/fabric- samples(magnetocorp admin)$ cd commercia...
2019-12-02, 489👍, 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, 489👍, 0💬

Interfaces to Communicate with Ledger Peer
Where to find tutorials on Interfaces to Communicate with Ledger Peer? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Interfaces to Communicate with Ledger Peer. Main Interfaces to Communicate with Ledger Peer Download and Install Golang SDK D...
2020-01-29, 488👍, 0💬

Build "hello" Image from Alpine
How to Build my "hello" Docker image from the Alpine image? I want the container to print "Hello!" in the console. If you want to build a new Docker image, you can try to build it with the Alpine image as its base as shown in this tutorial. 1. Create a "Dockerfile" file with 2 instructions: $ mkdir ...
2019-02-19, 488👍, 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, 487👍, 0💬

Member Peers of a Channel
How to find out which Peers are members of the "mychannel" channel? One way to find out which Peers are members of the "mychannel" channel is to visit each peers and check their joined channel list: 1. Connect to the CLI container: $ docker exec -it cli bash bash-4.4# 2. Check joined channel list on...
2020-05-29, 487👍, 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, 486👍, 0💬

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