Skip to main content

Posts

Showing posts with the label hyperledger fabric

Hyperldeger Fabric Composer : Essential ACLs

hyperledger composer essential acls  If you don't know how to setup hyperledger composer read this post . I almost gave 5 days 😅  to add an asset via participants other than Admin. As I get an error about some permission for that kind of participant I was adding that resource permission to that participants ACL. .. .. And I have almost given 8 system permissions including network and asset registry resources. Actually, I don't find a solution on any blog or documentation, but  (guess what? 😳) I found a solution on someone's GitHub sample project. That I am sharing here. Essentials ACL's that has to be applied [ at least in case you are going to use composer-rest-server ] // Give NetworkAdmin User Full Access To Every Resouces // rule NetworkAdminUser {     description: "network administrators full access to user resources"     participant: "org.hyperledger.composer.system.NetworkAdmin"     operation: ALL...

Setup development environment for Hyperledger composer on windows

There is no direct best ( or at least I don’t know ) way to create a good development environment for the hyper ledger composer on windows. I have installed hyper ledger on windows and it’s also not working satisfactorily. I want to develop in windows while want to run it smoothly like in Ubuntu. So the way I found is virtual box and ssh. Vagrant is kind of the thing that gives this readymade. But .box file we need to download is very slow in speed [ 150 kbps] and for me, it was disconnecting continuously. So I left the vagrant and find another way to get the facility provided by the vagrant. I am going to show the way I created my development environment. You Need  Virtual Box ISO of ubuntu server 16.04 LTS OR Ubuntu Virtual Box  Machine That's it. If you have this two things you are ready to go. Prepare Ubuntu Server Virtual Box Machine Either install ubuntu 16.04 on the virtual box or import the ub...