Ashna P S

BiniBFT - An Optimized BFT on Fabric


Evaluation 1 - Report

Submitted By: Ashna P S

Collaborative Learning Program

Engagement Details


Name of Mentee

Ashna P S

Evaluation Period

06-07-2023 to 11-08-2023

Task

RAFT familiarization & an application implementation using it

Date Submitted

11-08-23

Mentor

Dr. Anasuya Threse Innocent

Tasks, Objectives, and Results

 

This Evaluation report consolidates the candidate’s work for Hyperledger CLP - BiniBFT project by BiniWorld Innovations Pvt Ltd during the internship (Weeks 1-6). The report has been categorized into two sections: outline the key task assigned to the candidate and day-to-day activities undertaken by the candidate.

 

1.    Key Outline of the Task assigned to the candidate (This includes Project name, Problem statement, expected Output and other relevant details)

 

Hyperledger-Implementation-Go => https://github.com/ashnaps/Hyperledger-Implementation-Go

Further, I have highligted certain important steps & solutions to the probable errors.

Running the network

export MICROFAB_CONFIG='{
"port": 8080,
"endorsing_organizations":[
{
"name": "ProducersOrg"
},
{
"name": "SellersOrg"
}
],
"channels":[
{
"name": "mango-channel",
"endorsing_organizations":[
"ProducersOrg",
"SellersOrg"
]
}
]
}'
docker run -e MICROFAB_CONFIG -p 8080:8080 ibmcom/ibp-microfab

Or

sudo docker run --name microfab --rm -ti -p 8080:8080 -e MICROFAB_CONFIG="${MICROFAB_CONFIG}" ibmcom/ibp-microfab

Output:

  1. Create wallet & Gateways:
curl -s http://console.127-0-0-1.nip.io:8080/ak/api/v1/components | weft microfab -w ./_wallets -p ./_gateways -m ./_msp -f

  1. Installing Binaries:
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/install-fabric.sh | bash -s -- binary

Incase of errors like:

    1. Try a different ISP, if it is Jio India.
    2. Use a different DNS:
      1. Run: sudo nano /etc/hosts
      2. In the text editor (nano), scroll to the bottom of the file and add the following line:
      3. 185.199.108.133 raw.githubusercontent.com
      4. This tells your system that when it tries to access raw.githubusercontent.com, it should use the IP address 185.199.108.133.
      5. After adding the line, save the changes by pressing Ctrl + O (to write out) and then press Enter. To exit the text editor, press Ctrl + X.
      6. You've now added the entry to the /etc/hosts file. Try the installation again to see if it resolves the issue.
  1. Output - CRUD Operations 

  2. Ctrl+C - Network tear down.