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

"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, 484👍, 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, 472👍, 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, 463👍, 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, 391👍, 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, 479👍, 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, 471👍, 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, 453👍, 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, 429👍, 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, 401👍, 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, 436👍, 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, 425👍, 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, 419👍, 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, 404👍, 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, 509👍, 1💬

Build and Run Python Hello Website Image
How to build a Hello Website Docker image using the Python base image? I have the Dockerfile ready. If you have the Dockerfile ready as shown in the last tutorial, you continue to build a new Docker image and run it. 1. Build the new image. $ docker image build --tag python-web . Step 1/7 : FROM pyt...
2020-08-25, 590👍, 0💬

Test Python Hello Website Container
How to test the Python Hello Website Container? I have it running now. If you have the Python Hello Website Container running as shown in the last tutorial, you continue to test it. 1. Check the conainer status: $ docker container list CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS 7da8f1fa7fcc pyt...
2020-08-25, 579👍, 0💬

Requirements to Python Hello Website Image
What are the requirements to build a Hello Website Docker image using the Python base image? If you want to build simple Hello Website Docker image using a Python script, you need to prepare the following required files. 1. Create the Hello Website Python script. $ mkdir python $ cd python $ vi hell...
2020-08-25, 577👍, 0💬

HTML resources?
Hi there, I know you're busy, so I'll keep it short and sweet :) I've just built a nice little tool called 'HTML5 Periodic Table'. It's incredibly useful for any developer using HTML and the great thing is that anyone in your audience can use it anytime they want for absolutely zero cost! Naturally,...
2020-08-25, 444👍, 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, 425👍, 0💬

"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, 420👍, 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, 416👍, 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, 415👍, 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, 459👍, 0💬

Control Hyplerledger Composer Environment
What are the command scripts to control my Hyplerledger Composer development environment? If you have installed your Hyplerledger Composer development environment, with the fabric-dev-servers.tar.gz package, you have the following shell command scripts to control the envrionment: 1. ~/fabric-dev-ser...
2020-07-22, 342👍, 0💬

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