在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:dmcarrington/hlf-ipfs开源软件地址:https://github.com/dmcarrington/hlf-ipfs开源编程语言:Go 46.7%开源软件介绍:Hyperledger Fabric IPFS file transfer recorderThis rproject demonstrates how Hyperledger Fabric can be used to record transfers of files transferred across the IPFS network. It is based upon the hlf-ldap repository for authenticating user accounts. At a high level, a user, once enrolled in the Fabric CA, can initiate a file transfer using IPFS to another user on the system. The details of the transfer, including originator, recipient, file name and IPFS entry, are recorded in the Fabric chaincode. The intention is that this information could be examined in future by a hypothetical auditor. Basic Network ConfigNote that this basic configuration uses pre-generated certificates and key material, and also has predefined transactions to initialize a channel named "mychannel". To (re)build the webApp docker image, run Usage (CLI)To enrol the initial Admin user in the CA, run Usage (SDK)Add new users to the LDAP server using the WebappIntended to provide a user logon interface which will then allow authenticated interaction with the blockchain. At present, the user can log on using an account that has been created using the After logging in, provided the account has been successfully registered with Fabric, the user should see lists of all transfers that have been initiated by them, and all transfers that have them as them as the recipient. A simple web form allows the user to upload a file to IPFS and specify a recipient. TODOComplete work on getting 'open' buttons to work. Fix updating of lists after committing a new file. Display file name and received status. Encrypt files using PGP or similar before saving to IPFS Notes on building Chaincode with 3rd party dependenciesThe fileTransfer chaincode requires the use of 3rd party go components. This requires the code to be vendored before being instantiated on the Fabric network. I used the following steps, based on https://www.youtube.com/watch?v=-mlUaJbFHcM.
MaintainerDavid Carrington ([email protected]) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论