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, 4037👍, 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, 1220👍, 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, 1220👍, 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, 1176👍, 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, 1160👍, 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, 1158👍, 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, 1048👍, 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, 1023👍, 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, 944👍, 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, 920👍, 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, 878👍, 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, 874👍, 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, 871👍, 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, 868👍, 0💬

blockfile_000000 - Blockfiles of Blockchain
What is blockfile_000000 Blockfiles of Blockchain? Blocks of a blockchain are stored in physical files. Since they are very static once created, there is no need to store them in database. Hyperledger Fabric combines multiple blocks into a single blockfile, and stores it in the /var/hyperledger/prod...
2020-02-07, 842👍, 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, 837👍, 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, 831👍, 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, 826👍, 0💬

registerUser.js - Register User to ca.example.com
What is the user registration Node.js program registerUser.js? User registration Node.js program registerUser.js registers an user "user1" to ca.example.com. 1. View the registerUser.js source code: $ cp ~/hyperledger-binaries/fabric- samples/fabcar/javascript$ more registerUser.js /* * SPDX-License...
2020-01-04, 817👍, 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, 808👍, 0💬

"fabric-nodeenv:latest not found" Error
How to resolve the "hyperledger/fabric-nodeenv:la testnot found" error? Based on discussions on the Internet, there is a something wrong in the Docker image repository for "hyperledger/fabric-nodeenv:la test"image. When you try to instantiate chaincode a Hyplerledger Fabric network channel, a docker...
2020-02-29, 806👍, 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, 795👍, 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, 784👍, 0💬

Watch "orderer" Container Log
How to watch the log file of the "orderer" Container? The "orderer" Container plays an important role in a Hyperledger Fabric network. You can follow this tutorial to watch its log file: 1. Set up a new terminal on the hosting system to follow the log file of the "orderer" container: $ docker logs -...
2020-07-07, 765👍, 0💬

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