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

https://github.com/blockdaemon/hlf-kb-docs

HLF Knowledge base docs
https://github.com/blockdaemon/hlf-kb-docs

Last synced: 4 months ago
JSON representation

HLF Knowledge base docs

Awesome Lists containing this project

README

        

# Hyperledger Fabric Knowledge Base

## Articles

* [Getting the Hyperledger Fabric tools](Tools.md)
* [Bootstrapping the initial PeerOrg admin](Bootstrap.md)
* [Creating a channel](Channel.md)
* [Installing and executing chaincode](Chaincode.md)

## Prerequisites

### MacOS

```shell
brew install python3
pip3 install jinja2
```

### Ubuntu/Debian

```shell
sudo apt install python3-jinja2
```

## QUICKSTART

Instead of following all the documents above, you can use the premade quickstart utilities here. You will still need to [get the Hyperledger Fabric tools](Tools.md) before starting this process.

```shell
cp config.env-example config.env
```

Configure `config.env`

Set `NETWORK_ID` to your ``, and `ANCHOR_PEERS` to a quote enclosed, space separated list of at least two ``s (see [Creating a channel](Channel.md) for details).

```shell
make
CA_USER="ca_admin_user" CA_PASS="ca_admin_pass" ./bootstrap.sh
```

*In this example, `ca_admin_user` and `ca_admin_pass` are the credentials shown on the Network connect page.*

Note given password

```shell
PASSWORD="password-from-above" ./enroll.sh
./channel.sh
```