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
- Host: GitHub
- URL: https://github.com/salmandabbakuti/hlf-testnet
- Owner: Salmandabbakuti
- License: apache-2.0
- Created: 2019-08-22T10:35:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T14:34:14.000Z (about 2 years ago)
- Last Synced: 2025-01-03T21:39:21.352Z (5 months ago)
- Topics: fabric-network, fabric-network-setup, hyperledger, hyperledger-fabric, hyperledger-fabric-network, hyperledger-fabric-poc, hyperledger-fabric-sdk, hyperledger-fabric-sdk-commons
- Language: JavaScript
- Homepage:
- Size: 106 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```