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, 4864👍, 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, 2877👍, 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, 2048👍, 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, 1728👍, 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, 1535👍, 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, 1501👍, 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, 1492👍, 0💬

"fabric-ca-client identity list" - List Identities
How to List Identities with the "fabric-ca-client identity list" command? If you want get a list of identities from the Fabric CA Server, you can run the "fabric-ca-client identity list" command: $ export FABRIC_CA_CLIENT_HOME=~/fabric -ca/native-client/admin$ ~/go/bin/fabric-ca-client identity list...
2019-09-27, 1456👍, 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, 1449👍, 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, 1418👍, 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, 1367👍, 0💬

Build Hyperledger Fabric from Source Code
How to Build Hyplerledger Fabric from source code on Ubuntu? You can follow this tutorial to Build Hyplerledger Fabric binary code from source code on Ubuntu. $ export GOPATH=$HOME/go $ cd $GOPATH/src/github.com/hyperle dger/fabric$ make dist-clean all ...You can take a coffee break, because it may ...
2020-11-11, 1362👍, 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, 1341👍, 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, 1339👍, 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, 1317👍, 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, 1313👍, 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, 1298👍, 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, 1237👍, 0💬

"composer network start" Errors
Why am I getting errors when running the "composer network start" command? There are couple of reasons why you are getting errors when running the "composer network start" command to start business network. Error Example 1 - The business network NBA file was not deployed correctly, or has been remov...
2020-12-26, 1227👍, 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, 1209👍, 0💬

Reinstall npm with Node Version Manager
How to reinstall npm with a node version manager? I am getting permission errors with the current version of npm. If you are get directory and file permission error when using the "npm install" command, you should follow this tutorial to reinstall "node" and "npm" with the "nvm" Node Version Manager...
2020-01-04, 1152👍, 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, 1127👍, 0💬

Client Application Gateway
What is Client Application Gateway? Client Application Gateway is mechanism that allows an application to focus on transaction generation, submission and response. It coordinates transaction proposal, ordering and notification processing between the different network components. If Isabella from Mag...
2019-12-02, 1123👍, 0💬

BYFN CLI Container "peer" Command
What is the BYFN (Build Your First Network) CLI Container "peer" Command? If you have the BYFN CLI container running, you can use it to run the "peer" command to manage your BYFN network. 1. Start the CLI container and connect to it: $ docker start cli cli $ docker exec -it cli bash bash-4.4# 2. Run...
2020-10-10, 1120👍, 0💬

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