DL Fabric Gateway™ User Guide— Section 3

This post is part of the ‘DL Fabric Gateway™ User Guide’ originally published as

This post continues our ongoing discussion regarding creating channels on DL Fabric Gateway™.

Creating Channels on DL Fabric Gateway™

Creating a channel is required to protect your Chaincode from other users.


Create a channel on DL Fabric Gateway™ using the fab_createChannel API:


Step 1

Open a Command Line Interface (CLI) of your choice (Terminal, cmd, etc.)

Step 2

Install curl (if not already installed): Download links — Linux/Windows

Step 3

Copy and paste the following API Call into your CLI of choice, and tap “enter” on your keyboard

curl -X POST \
‘https://dlfabricnetwork.dltlabs.com/api/1.0/fab_createChannel' \
-H ‘Content-Type: application/json’ \
-H ‘Authorization: AUTH_TOKEN_HERE’ \
-d ‘{
“userName” : “your@email.com”,
“channelName” : “yourchannel”


Where AUTH_TOKEN_HERE should be replaced with the Authentication Token received at your email address, your@email.com should be replaced with the email address used to register for DL Fabric Gateway™, and yourchannel should be replaced with a valid channel name.


Image for post
Image for post

You should receive a success response on the command line indicating that you have successfully created and joined a channel:

“status”: “success”,
“message”: “Channel successfully created.”
Image for post
Image for post

DLT Labs is a global leader in Distributed Ledger Technology and Enterprise Products. To know more, head over to: https://www.dltlabs.com/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store