> For the complete documentation index, see [llms.txt](https://dibyajyotibehera.gitbook.io/learn-hyperledger-fabric-2-with-golang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dibyajyotibehera.gitbook.io/learn-hyperledger-fabric-2-with-golang/master.md).

# Learn programming smart contracts in Hyperledger Fabric v2

Read the tutorial [here](https://dibyajyotibehera.gitbook.io/learn-hyperledger-fabric-2-with-golang/)

![](/files/-MbourTczvsE7ncN-1Cr)

* Learn the basics of fabric architecture by setting up a fabric business network
* Write a smart contract and deploy it onto business network
* Write a fabric client app to invoke smart client&#x20;

## Who is this for

* You have spent some time reading hyperledger fabric [docs](https://hyperledger-fabric.readthedocs.io/)
* You want to get a hands on experience on setting up a fabric network and write smart contract

## Prerequisites

* Familiarity with fabric [key concepts](https://hyperledger-fabric.readthedocs.io/en/release-2.0/key_concepts.html) and [transaction flow](https://hyperledger-fabric.readthedocs.io/en/release-2.0/txflow.html?highlight=transaction%20flow)
* Golang
* Docker
* Bash

## Git Repo

Clone the project repo [here](https://github.com/dibyajyotibehera/voternet)

## Background

I have a fair amount of experience in writing software and leading software development teams. One of the joys of being a software developer is getting to learn new ways of working with different tech. [Hyperledger Fabric](https://www.hyperledger.org/use/fabric) is one such very exciting project in the subject of enterprise distributed ledger technology.

This gitbook is an attempt to make an easy entry into this field by creating a project from scratch with the minimum amount of concepts and setup involved (atleast this approach worked for me). After creating this simple project the reader will have enough confidence to go into in depth study of the subcomponents of Fabric.

Please feel free to reach out to me for any questions/suggestions - **dibyajyotibehera(at)gmail.com**

{% hint style="info" %}
I must appreciate the comprehensive documentation provided by Fabric team at -<https://hyperledger-fabric.readthedocs.io/> . It's an absolute joy to read.This gitbook is a simplified and hands-on view of the essential materials in the fabric documentation and the [Fabric Samples](https://github.com/hyperledger/fabric-samples) repo
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dibyajyotibehera.gitbook.io/learn-hyperledger-fabric-2-with-golang/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
