블록체인/하이퍼레저

[패브릭] 체인코드 API & 패브릭 애플리케이션 SDK

Hi_ZZ 2021. 7. 14. 17:18

 

 

1. 전체 구성도 및 흐름

 

2. 체인코드 API

- GO, Node, JAVA 제공

 

3. 패브릭 SDK

- Node, JAVA(오피셜), Go, Python 제공

[NodeJS SDK]

- 모듈로 구성되어 있음

   > fabric-network : 체인코드와 통신하는 high-level API(추천)

     ㆍSubmit/Query transaction

     ㆍListening chaincode/block event

   > fabric-ca-client : 패브릭 CA 및 MSP 등과 통신하는 API

     ㆍregister/enroll/revoke user

   > fabric-common : 하이퍼레저 패브릭 코어와 통신할 수 있는 Low-level API

   

 

 

 

* 참고

https://hyperledger-fabric.readthedocs.io/en/release-2.2/getting_started.html

 

Getting Started — hyperledger-fabricdocs master documentation

Docs » Getting Started Edit on GitHub Getting Started Before we begin, if you haven’t already done so, you may wish to check that you have all the Prerequisites installed on the platform(s) on which you’ll be developing blockchain applications and/or

hyperledger-fabric.readthedocs.io

- https://hyperledger.github.io/fabric-sdk-node/release-2.2/index.html#toc0__anchor

 

Hyperledger Fabric SDK for Node.js Index

 

hyperledger.github.io