https://github.com/salmandabbakuti/hyperledgerfabric-dev
Hyperledger-Fabric development pre-requisites and steps
https://github.com/salmandabbakuti/hyperledgerfabric-dev
blockchain-technology chaincode docker first-network golang hyperledger-fabric smartcontracts
Last synced: about 2 months ago
JSON representation
Hyperledger-Fabric development pre-requisites and steps
- Host: GitHub
- URL: https://github.com/salmandabbakuti/hyperledgerfabric-dev
- Owner: Salmandabbakuti
- Created: 2018-08-29T07:40:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-10T07:34:07.000Z (over 6 years ago)
- Last Synced: 2025-02-22T22:41:19.642Z (over 1 year ago)
- Topics: blockchain-technology, chaincode, docker, first-network, golang, hyperledger-fabric, smartcontracts
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hyperledger-Dev
permissioned Blockchain development Environment
## First-network
#### Pre-requisites
```
****Docker***
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo apt install docker-compose
***Go-lang**
wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz
sudo tar -xvf go1.12.6.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
export GOPATH=$HOME/go #choose your prferred work directory path
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
***Node.js and Npm***
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs #node v12.xx
***Fabric-samples Docker images***
curl -sSL http://bit.ly/2ysbOFE | bash -s
```
Build your Network
```
cd fabric-samples/first-network
sudo ./byfn.sh generate #Generates Certificates for network
sudo ./byfn.sh up #Creates Genesis state and starts network
sudo ./byfn.sh down #Stops Network
```
#### Creating Personalized Network
##### Work Flow
1. Configuring Network Organizations
2. Certificates Generation
3. Configuring Gensis-states and Channel Transactions
4. Containerization of Orgs
5. Bringing Up Network