Skip to content

SirajChaudhary/api-create-newchannel-into-blockchain-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The API (spring boot microservice) creates a new channel into our hyperlegder fabric blockchain network

HowTo Steps

Step1 : Clone and Import the code into your Eclipse IDE
Step2 : Run ApiCreateNewchannelIntoBlockchainNetworkApplication.java
Step3 : Call the service from postman client (or any other rest client or GUI) \

Example
URL : YOUR_IP_ADDRESS:2020/my-blockchain-network/create-new-channel
Method : POST
Query Params :
channelName = E.g. businesschannel
networkPath = E.g. /home/ubuntu/fabric-samples/test-network

note : In my case I have created a channel for test-network and my network path is /home/ubuntu/fabric-samples/test-network. Please modify this input param as per your network path.

image

 

 

Crosscheck the channel "businesschannel" is created in the blockchain network  

image

About

The API creates a new channel into your hyperlegder fabric blockchain network.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages