Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Chain Middleware

A robust Node.js/Express API acting as the secure bridge between Client Applications (Web/Mobile) and the Service Blockchain Network. This middleware abstracts the complexity of Hyperledger Fabric's gRPC protocols, exposing simple REST endpoints for asset management.

Status Tech


📖 Table of Contents


🏛 Architecture

This middleware implements the Fabric Gateway Pattern:

  1. Client: Sends JSON HTTP requests (e.g., POST /create).
  2. Middleware:
    • Validates the request.
    • Loads the Wallet Identity (X.509 Certificate).
    • Connects to the Fabric Gateway via gRPC.
  3. Blockchain: Submits the transaction to the Peer nodes for endorsement and committing.
[Mobile App] <--> [HTTP/JSON] <--> [Middleware (This Repo)] <--> [gRPC] <--> [Fabric Network]

About

middleware for the fabric blockchain system. forward api requests using fabric gateway via grpc.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages