Font Size: a A A

Fabric Blockchain Is Based On The Design And Implementation Of RESTful Interfaces

Posted on:2022-08-18Degree:MasterType:Thesis
Country:ChinaCandidate:T S NiuFull Text:PDF
GTID:2518306755951359Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The Hyper Ledger Fabric blockchain currently lacks a common and convenient interface,making it difficult for embedded remote mobile devices that only support HTTP programming to access the blockchain.In this paper,we analyze the requirements of the above problem,design and implement a set of Fabric blockchain interface based on RESTful style: Fabric RESTful Interface(FRI for short),and give a client programming reference for calling the interface.FRI is developed based on Express framework of Node.js,calling FNC middleware developed based on Fabric-Node.js SDK.FRI includes four modules: user management,department management,certificate management,blockchain operation,and blockchain operation supports block reading and writing using different data forms.The FRI server side uses JWT(JSON Web Token)for user authentication to ensure interface security.Finally,we tested the functionality,security,and performance of the FRI interface using Postman,HTTPBot,and Java programming.The test results show that FRI can realize cross-platform and cross-language Fabric blockchain calls;security meets the design requirements;and performance loss is within 20%compared to using FNC middleware.With the features of reliability,simplicity and versatility,FRI can enable embedded devices that do not support SDK programming to interact with the blockchain,broadening the breadth of applications of Fabric blockchain.
Keywords/Search Tags:Hyperledger Fabric, blockchain, RESTful, Interfacing
PDF Full Text Request
Related items