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, 3536👍, 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, 1056👍, 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, 869👍, 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, 854👍, 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, 815👍, 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, 790👍, 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, 765👍, 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, 710👍, 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, 684👍, 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, 662👍, 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, 661👍, 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, 660👍, 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, 642👍, 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, 642👍, 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, 628👍, 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, 621👍, 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, 618👍, 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, 604👍, 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, 602👍, 0💬

sign-in.js - Sign in to CA Server
How to write a Node.js script to sign in to the CA Server? Hyperledger Fabric network is permission based server application. All client applications must use an authenticated user identity to access the network. User authentication is controlled by the CA (Certificate Authority) server using PKI te...
2019-11-08, 596👍, 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, 591👍, 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, 589👍, 0💬

"fabric-ca-client enroll" Error - "Failed to insert"
Why am I getting the "Certificate signing failure: Failed to insert record into database: attempt to write a readonly database" error, when running the "fabric-ca-client enroll" command? If the Fabric CA Server is not able to update its database, you will get the "Certificate signing failure: Failed...
2019-09-27, 589👍, 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, 575👍, 0💬

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