# Hyperledger Fabric Generator

> Ferramenta web que gera boilerplate completo Hyperledger Fabric: CA, peers, orderers, canais, chaincode, Explorer, Caliper, API Node.js. Baseado no vídeo do Pavan Adhav "Custom Hyperledger Fabric Network Code Generator".

- Skill: `majinmagros/hyperledger-fabric-generator` (Agent Skill, multi-file: 17 files)
- Install (CLI): `npx get-skill add majinmagros/hyperledger-fabric-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majinmagros/hyperledger-fabric-generator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: majinmagros (https://skillmd.com/u/majinmagros)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/majinmagros/hyperledger-fabric-generator

---


# Skill: hyperledger-fabric-generator — Scaffolding Hyperledger Fabric Networks

Ferramenta web que gera boilerplate completo Hyperledger Fabric: CA, peers, orderers, canais, chaincode, Explorer, Caliper, API Node.js. Baseado no vídeo do Pavan Adhav "Custom Hyperledger Fabric Network Code Generator".

## Validação Oficial

| Claim | Status | Fonte |
|---|---|---|
| Hyperledger Fabric platform | ✅ | Context7 `/hyperledger/fabric` |
| Fabric CA (certificate authority) | ✅ | Context7 `/hyperledger/fabric` |
| Fabric chaincode (Go/Node.js) | ✅ | Context7 `/hyperledger-caliper/caliper` |
| Fabric Explorer (dashboard) | ✅ | GitHub `hyperledger/blockchain-explorer` |
| Fabric Caliper (benchmark) | ✅ | Context7 `/hyperledger-caliper/caliper` |
| Fabric Gateway SDK (Node.js) | ✅ | Context7 `/hyperledger/fabric` |

---

## Quando usar

- "Quero gerar rede Hyperledger Fabric completa"
- "Scaffolding: CA, peers, orderers, canais, chaincode"
- "Gerar boilerplate: artifacts, crypto-config, docker-compose"
- "Configurar Fabric Explorer + Caliper + API Node.js"
- "Deploy rede Fabric em VPS/Kubernetes"

## Quando NÃO usar

- Outras blockchains (Ethereum, Solana → skills especificas)
- Chaincode Go puro sem rede (use docs oficiais + `golang-patterns`)

---

## Pipeline (8 etapas)

```
┌─────────────┐    ┌─────────────┐    ┌─────────────┐    ┌─────────────┐    ┌─────────────┐    ┌─────────────┐    ┌─────────────┐    ┌─────────────┐
│ 1. CA       │───▶│ 2. PEERS    │───▶│ 3. ORDERERS │───▶│ 4. CHANNELS │───▶│ 5. CHAINCODE│───▶│ 6. EXPLORER │───▶│ 7. CALIPER  │───▶│ 8. API NODE │
│ Certificate │    │ Peer orgs   │    │ Raft/Etcd   │    │ Configtx    │    │ Lifecycle   │    │ Dashboard   │    │ Benchmark   │    │ Gateway SDK │
│ Authority   │    │ MSP/Anchor  │    │ Consensus   │    │ Profiles    │    │ Install/    │    │ Monitoring  │    │ Performance │    │ REST API    │
└─────────────┘    └─────────────┘    └─────────────┘    └─────────────┘    └─────────────┘    └─────────────┘    └─────────────┘    └─────────────┘
```

---

## Etapas (resumo — detalhe em references/)

| Etapa | Reference |
|---|---|
| 1. CA — Certificate Authority | `references/fabric-ca.md` |
| 2. Peers — orgs, MSP, anchor | `references/fabric-peers.md` |
| 3. Orderers — Raft/Etcd | `references/fabric-orderers.md` |
| 4. Channels — configtx, artifacts | `references/fabric-channels.md` |
| 5. Chaincode — package/install/approve/commit | `references/fabric-chaincode.md` |
| 6. Explorer — dashboard | `references/fabric-explorer.md` |
