docker
docker Compose
cURL
jq
golang
git
For installing jq
, run sudo apt install jq
, if you face some issues, eg: Unable to fetch some archives
, run:
sudo apt-get install jq --fix-missing
$ mkdir hyperlegder-samples
$ cd hyperledger-samples
$ curl -sSLO https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/install-fabric.sh && chmod +x install-fabric.sh #to give executable permissions to the shell script.
$ ./install-fabric.sh
After successful installation, you'll see the following docker images:
And such a directory structure:
In your parent hyperledger-test
directory, run the following:
$ cd fabric-samples/test-network
$ sudo ./network.sh up
$ sudo ./network.sh createChannel -c channel1