1 2 3 4 5 6 > >>   Sort: Date

Instantiate Chaincode on BYFN Channel
How to Instantiate Chaincode on BYFN Channel? You can follow this tutorial to Instantiate Chaincode on BYFN Channel manually. 1. Verify the installed chaincode: $ docker exec -it cli bash bash-4.4# echo $CORE_PEER_ADDRESS peer0.org2.example.com:7051 bash-4.4# peer chaincode list --installed Get inst...
2019-04-14, 3377👍, 0💬

Update Anchor Peer of Each BYFN Organization
How to Update Anchor Peer of Each BYFN Organization? You can follow this tutorial to Update Anchor Peer of Each BYFN Organization. 1. Update the default peer as the anchor peer: bash-4.4# echo $CORE_PEER_ADDRESS peer0.org2.example.com:7051 bash-4.4# peer channel update -o orderer.example.com:7050 -c...
2019-04-13, 986👍, 0💬

Differences of evaluateTransaction() and submitTransaction()
What are the differences of Differences of evaluateTransaction() and submitTransaction() of the fabric-network.Contract class? Here are the Differences of evaluateTransaction() and submitTransaction() of the fabric-network.Contract class: evaluateTransaction() method - Calls the given transaction fu...
2019-04-22, 801👍, 0💬

register-user.js - Register New User
How to write a Node.js script to Register New Users to ca.example.com? If you are an administrator on ca.example.com, you can register other new users to ca.example.com. Here is sample Node.js script, register-user.js, that uses your "admin" identity from the local wallet to register a new user to o...
2019-04-22, 784👍, 0💬

Hyperledger Tutorials
Where to find tutorials on Hyperledger? I want to know how to create Hyperledger applications. Here is a large collection of tutorials to answer many frequently asked questions compiled by FYIcenter.com team about Hyperledger: Introduction to Hyperledger What Is Hyperledger What Is Blockchain What I...
2019-04-19, 696👍, 0💬

BYFN (Build Your First Network)
Where to find tutorials on Hyperledger Fabric BYFN (Build Your First Network)? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Hyperledger Fabric BYFN (Build Your First Network). "first-network" - Building Your First Network "byfn.sh generate" ...
2020-05-15, 690👍, 0💬

What Is basic-network Sample Network
What is basic-network Sample Network? basic-network is a Hyperledger Fabric network example included in the "Samples, Binaries and Docker Images" package. The basic-network Sample Network provides scripts and configuration files to create a simple Hyperledger Fabric network with a single organizatio...
2020-04-25, 674👍, 0💬

Deploy Orderer with Default Configuration
How to Deploy the Orderer Docker Image with the Default Configuration? You can follow this tutorial to deploy the Orderer Docker Image with the Default Configuration. 1. Create a new Docker Compose YAML file, docker-compose-default.yaml: $ cd fabric-orderer $ cp docker-compose-orderer.yaml docker-co...
2019-05-14, 635👍, 0💬

submit-transaction.js - Submit Chaincode Transaction
How to write a Node.js script to submit a transaction defined in the Invoke method of a chaincode? Here is sample Node.js script, submit-transaction.js, that uses a given user identity from the local wallet to submit a transaction on chaincode. /* Copyright (c) FYIcenter.com */ 'use strict'; const {...
2019-04-22, 620👍, 0💬

Deploy Peer with Default Configuration
How to Deploy the Peer Docker Image with the Default Configuration? You can follow this tutorial to deploy the Peer Docker Image with the Default Configuration. 1. Create a new Docker Compose YAML file, docker-compose-peer.yaml: $ cd fabric-peer $ vi docker-compose-peer.yaml # Copyright (c) FYIcente...
2019-05-10, 617👍, 0💬

wallet-import.js - Import Keys to Wallet
How to write a Node.js script to Import Keys to Wallet? After enroll (sign in) to ca.example.com, you will receive your private key and a certificate of your public key. You can save import them into a local wallet. Here is sample Node.js script, wallet-import.js, that enrolls (signs in) to ca.examp...
2019-04-22, 604👍, 0💬

"could not load a valid signer certificate" Error
How to troubleshoot the Orderer peer? The Docker container terminated by itself. You can follow this tutorial to troubleshoot the Orderer peer. 1. Check the log file of the Orderer peer: $ docker logs --tail 10 orderer.example.com [localconfig] completeInitialization -> INFO 001 Kafka.Version...
2019-08-23, 599👍, 0💬

Download Hyperledger Fabric Source Code
How to download Hyplerledger Fabric source code on Ubuntu? You can follow this tutorial to download Hyplerledger Fabric source code on Ubuntu: 1. Set up Go home path. And add the command to your shell initial script, ~/.bashrc, so you don't have to do it again in future logins. $ export GOPATH=$HOME...
2020-05-15, 587👍, 0💬

Node.js SDK and Client Application
What is Node.js SDK and how to use it to write client applications? Hyperledger Fabric Node.js SDK is a set of libraries that allows you to write client applications to interact with chaincode in Node.js language. A Hyperledger Fabric network can be viewed as virtual operating system. Once it is up ...
2020-02-07, 571👍, 0💬

Manage basic-network with cli Container
How to Manage basic-network with cli Container? You can follow this tutorial to Manage basic-network with cli Container. 1. Start all containers, including cli, defined in the docker-compose.yml file: $ cd ~/hyperledger-binaries/fabric- samples/basic-network$ docker-compose -f docker-compose.yml up ...
2020-03-15, 557👍, 0💬

basic-network Sample Network
Where to find tutorials on Hyperledger Fabric basic-network Sample Network? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Hyperledger Fabric basic-network Sample Network. What Is basic-network Sample Network start.sh - Start basic-network sto...
2020-04-25, 551👍, 0💬

enrollAdmin.js - Enroll Admin to ca.example.com
What is the admin enrollment Node.js program enrollAdmin.js? Admin enrollment Node.js program enrollAdmin.js enrolls an user "admin" to ca.example.com. 1. View the enrollAdmin.js source code: $ cp ~/hyperledger-binaries/fabric- samples/fabcar/javascript$ more enrollAdmin.js /* * SPDX-License-Identif...
2020-01-04, 549👍, 0💬

"docker rmi" - Remove Docker Images
How to run Docker images with the "docker rmi" command? If some Hyperledger Fabric scripts failed to remove Docker images, you can remove them manually with the "docker rmi" command. 1. Identify the image with REPOSITORY and TAG with the "docker images" command: $ docker images REPOSITORY TAG CREATE...
2020-04-14, 544👍, 0💬

Connet to basic-network Peer
How to connect to the peer container of the basic-network? I want to see how is the peer doing. You can use the "docker exec" command to connect to the peer container of the basic-network. 1. Run "docker exec" to create an interactive connect with the peer container: $ docker exec -it peer0.org1.exa...
2020-04-14, 543👍, 0💬

Install Chaincode on BYFN Peers
How to install chaincode on BYFN peers? You can follow this tutorial to install chaincode on BYFN peers manually. 1. Verify the chaincode source file on the BYFN CLI container: $ docker exec -it cli bash bash-4.4# bash-4.4# echo $GOPATH /opt/gopath bash-4.4# ls -l $GOPATH/src/github.com/chainco de/ch...
2019-04-13, 541👍, 0💬

"Failed to load gRPC binary module" Error
Why am I getting the "Failed to load gRPC binary module" error when running a Node.js client application? If your Node.js environment is out of sync, you will get the "Failed to load gRPC binary module" error as shown below: $ cp ~/hyperledger-binaries/fabric- samples/fabcar/javascript$ node enrollA...
2020-01-04, 539👍, 0💬

Requirements for Registering New Identities
What are requirements for Registering New Identities? With the Fabric CA Client tool, you can register new identities on the Fabric CA Server, if you meet the following requirements: 1. You, as the registrar, must have an identity in your wallet that has the "hf.Registrar.Roles" attribute with a val...
2019-09-16, 536👍, 0💬

"byfn.sh up" Error - Container Name in Use
Why am I getting the "Cannot create container for service peer0.org1.example.com: b'Conflict." error when running "byfn.sh up" to start up the BYFN Network? You are getting "Cannot create container for service peer0.org1.example.com: b'Conflict." error when running the "byfn.sh up" command, because ...
2020-05-05, 526👍, 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, 524👍, 0💬

1 2 3 4 5 6 > >>   Sort: Date