KFS LogoChainLaunch - KFS

Deploy Hyperledger Fabric channels and chaincodes on Mac: A Step-by-Step ChainLaunch Guide

Deploy Hyperledger Fabric channels and chaincodes on Mac: A Step-by-Step ChainLaunch Guide

Introduction

ChainLaunch is a powerful tool that simplifies the deployment and management of Hyperledger Fabric networks. This tutorial will guide you through the process of setting up ChainLaunch on macOS and using it to deploy Hyperledger Fabric channels and chaincodes.

Installation

macOS

Choose the appropriate installation method based on your Mac's processor:

For Apple Silicon (M1/M2)

curl -O https://pub-0dca39cd4682416dbce4fb88086d4a85.r2.dev/chainlunch/latest/chainlaunch-darwin-arm64
chmod +x chainlaunch-darwin-arm64
mv chainlaunch-darwin-arm64 chainlaunch

For Intel Processors

curl -O https://pub-0dca39cd4682416dbce4fb88086d4a85.r2.dev/chainlunch/latest/chainlaunch-darwin-amd64
chmod +x chainlaunch-darwin-amd64
mv chainlaunch-darwin-amd64 chainlaunch

After installation, verify that ChainLaunch is properly installed by running:

./chainlaunch version

Starting the ChainLaunch Server

Set up your initial credentials and start the ChainLaunch server:

export CHAINLAUNCH_USER=admin
export CHAINLAUNCH_PASSWORD=admin
./chainlaunch serve --port=8100 --db=./chainlaunch.db

Accessing the ChainLaunch Dashboard

  1. Open your web browser and navigate to http://localhost:8100
  2. Enter your credentials (username: admin, password: admin)

You should now see the ChainLaunch dashboard, which provides a user-friendly interface for managing your Hyperledger Fabric networks.

Creating Your First Hyperledger Fabric Network

To deploy your Fabric Network, you can follow the next video tutorial:

Ready to get started?

Start your decentralization journey with ChainLaunch.