<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Rank

"configtxgen" Command - Build *MSPanchors.tx
How to run "configtxgen" command to build a transaction message to define the anchor peer in each organization in BYFN (Build Your First Network)? You can follow this tutorial to run "configtxgen" command to build a transaction message to define the anchor peer in each organization in BYFN. The "con...
2020-10-20, 578👍, 0💬

BYFN docker-compose-cli.yaml Configuration File
What is the docker-compose-cli.yaml Configuration File used in BYFN (Build Your First Network)? The docker-compose-cli.yaml Configuration File provides settings on Docker containers to run the BYFN network. Here is the default copy of docker-compose-cli.yaml provided in BYFN: # SPDX-License-Identifi...
2020-10-20, 559👍, 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, 749👍, 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, 699👍, 0💬

"docker exec -it cli bash" - BYFN CLI Shell
How to run "docker exec -it cli bash" command to run a shell script window in the BYFN (Build Your First Network) CLI Docker Container? The BYFN (Build Your First Network) CLI Docker Container is a command line service door to manage your BYFN network. You can run it and connect to it as shell scrip...
2020-10-10, 669👍, 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, 644👍, 0💬

BYFN CLI Container Missing Admin Certificates
How to fix the ".../org1.example.com/users/Ad min@org1.example.com/mspdoes not exist" when running the BYFN CLI "peer" command? When you build your BYFN network manually, you may end up missing admin user certificate on the CLI Docker container. 1. Check the certificate directory for the org1.exampl...
2020-10-10, 554👍, 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, 645👍, 0💬

Invoke Chaincode Transaction on BYFN Channel
How to Invoke Chaincode Transaction on BYFN Channel? An instance of a chaincode can be viewed as an object of a class in an execution environment. It can hold transaction operations to manage its properties. You can run the "peer chaincode invoke" command to invoke the "Invoke" operation of a given ...
2020-09-30, 624👍, 0💬

CORE_PEER_* Environment Variables on BYFN CLI
What is the default peer and how to change it on the BYFN CLI container? On the BYFN CLI container, you can manage other peer nodes with the "peer" command. When you run a "peer" command, it will connect to the default peer node define by these environment variables: CORE_PEER_ADDRESS=peer0.org1.e xa...
2020-09-30, 623👍, 0💬

Switch Default Peer on BYFN CLI Container
How to switch the default peer on BYFN CLI Container? I want to join peer0.org2.example.com to the channel. You can follow this tutorial to switch the default peer to peer0.org2.example.com and join it to BYFN "mychannel" channel. 1. Switch the default peer by channing envrionment variables: bash-4....
2020-09-30, 586👍, 0💬

Join Peer to BYFN Network Channel
How to join the default peer to a BYFN network Channel? You can follow this tutorial to join the default peer to a BYFN network Channel. In last tutorial, we have created a transaction file, channel.tx, that contains a transaction message to create a channel called "mychannel" on the BYFN network. N...
2020-09-30, 570👍, 0💬

BYFN Chaincode Docker Container
What is the BYFN chaincode Docker container? The BYFN chaincode Docker container represents the running instance of the "mycc" chaincode. When "mycc" chaincode is instantiated from peer0.org1, a chaincode Docker container (shim) is deployed and started on the Docker engine. You can find chaincode co...
2020-09-15, 596👍, 0💬

BYFN CLI "peer" Command Prefix
How to use BYFN CLI "peer" Command Prefix? By default, when you run the "peer" command on the BYFN CLI container, it will be executed again the default peer node specified by 4 environment variables: CORE_PEER_MSPCONFIGPATH=/opt/g opath/.../org1.example.com/use rs/Admin@org1.example.com/mspCORE_PEER_...
2020-09-15, 593👍, 0💬

Uninstall Chaincode on BYFN Peers
How to uninstall chaincodes on BYFN Peers? Unfortunately, the BYFN CLI "peer chaincode" command does offer any option to uninstall chaincodes from a given peer. You have two options when your chaincodes from different peers are out of sync or incompatible: 1. Destroy chaincode instance and re-instal...
2020-09-15, 589👍, 0💬

Incompatible Chaincode on BYFN Peers
How to list installed and instantiated chaincodes on BYFN Peers? You can follow this tutorial to list and review installed and instantiated chaincodes on peer nodes of your BYFN network. 1. Connect to the BYFN CLI container and check the default peer: $ docker exec -it cli bash bash-4.4# echo $CORE_...
2020-09-15, 583👍, 0💬

Upgrade Chaincode Instance on BYFN
How to upgrade chaincode instance on BYFN? You can follow this tutorial to upgrade the chaincode instance on BYFN. You can use this process to fix any issues with chaincode instance without destroy its data. 1. Install new version, 2.0, of the chaincode on the default peer, peer0.org1. bash-4.4# ech...
2020-09-12, 666👍, 1💬

"peer chaincode invoke" on BYFN
How to run "peer chaincode invoke" to invoke the transaction on the chaincode instance? After a chaincode in properly installed on all peers and instantiated on the channel, you can run the "peer chaincode invoke" to invoke the transaction on the chaincode instance. 1. Verify instantiated chaincode:...
2020-08-13, 598👍, 0💬

Remove Older Versions Chaincode Containers
How to Remove Older Versions Chaincode Containers after the chaincode instance is upgraded? After a chaincode instance is upgraded, chaincode containers of the old version are still running on the Docker Engine. You can follow this tutorial to remove them. 1. List all chaincode containers: $ docker ...
2020-08-13, 575👍, 0💬

View Channel Blockchain and Download Blocks
How to View Blockchain and Download Blocks of a Hyperledger Fabric Channel? You can follow this tutorial to View Blockchain and Download Blocks of a Hyperledger Fabric Channel. 1. Connect to the CLI container of the Hyperledger Fabric network: $ docker exec -it cli bash bash-4.4# 2. List channels jo...
2020-08-13, 575👍, 0💬

Inspect Transaction Blocks of Channel Blockchain
How to Inspect Transaction Blocks of Channel Blockchain? You can follow this tutorial to Inspect Transaction Blocks of Channel Blockchain. 1. Connect to the CLI container of the Hyperledger Fabric network: $ docker exec -it cli bash bash-4.4# 2. Download (fetch) the newest block from "mychannel" cha...
2020-08-13, 567👍, 0💬

"composer card" Commands
What can I do with "composer card" command? "composer card" commands are part of the Composer CLI command set. It allows you to manage access cards stored in the Composer Wallet, which is located at "~/.composer/cards" directory. Here is the syntax of the "composer card" commands: $ composer card he...
2020-07-22, 658👍, 0💬

"crypto-config.yaml" Environment Configuration File
What is the "crypto-config.yaml" Environment Configuration File? "crypto-config.yaml" is a Configuration File used to control the Hyplerledger Composer development environment. It is located in the "composer" sub-directory: $ cd fabric-dev-servers/fabric-scri pts/hlfv12/composer$ ls -l -rw-r--r-- 1 ...
2020-07-22, 533👍, 0💬

"configtx.yaml" Environment Configuration File
What is the "configtx.yaml" Environment Configuration File? "configtx.yaml" is a Configuration File used to control the Hyplerledger Composer development environment. It is located in the "composer" sub-directory: $ cd fabric-dev-servers/fabric-scri pts/hlfv12/composer$ ls -l -rw-r--r-- 1 fyicenter ...
2020-07-22, 522👍, 0💬

<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Rank