An open API service indexing awesome lists of open source software.

https://github.com/salmandabbakuti/hlf-testnet

Three-org two-channel single-host fabric network for testing
https://github.com/salmandabbakuti/hlf-testnet

fabric-network fabric-network-setup hyperledger hyperledger-fabric hyperledger-fabric-network hyperledger-fabric-poc hyperledger-fabric-sdk hyperledger-fabric-sdk-commons

Last synced: 3 months ago
JSON representation

Three-org two-channel single-host fabric network for testing

Awesome Lists containing this project

README

        

# hlf-testnet
3 org single channel network for testing

### Steps

1. Download latest fabric tools and docker images

```

curl -sSL http://bit.ly/2ysbOFE | bash -s

```

>Note: Tested under 1.4.2

2. Generate Crypto certificates and channel artifacts

```
./generate.sh
```

3.Create Channel and join all peers to it

```
./start.sh
```

4.Install and Instantiating Chaincode

```
./installSacc.sh
```

5.Invoke and query Chaincode on all 3 peers

```
./iq.sh
```

6. Shutdown Network and clear Containers

```
./teardown.sh
```
### Wanted to Run Ecommerce Client Application??

```
cd client
./startEcom.sh
node server1.js //Operating from Org1 and Runs at port 8080
node server2.js // Operations from Org2 and Runs at port 8081
```