Skip to main content

Posts

Showing posts with the label blockchain

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...

setup hyperledger fabric on windows 10

What is the Hyperledger fabric? Hyperledger Fabric  is a business blockchain framework hosted by the Linux Foundation intended as a foundation for developing blockchain applications or solutions with a modular architecture.  Hyperledger Fabric  allows components such as consensus and membership services to be plug-and-play. ( From Google Search Result ) Though documents say that hyper ledger fabric works on the windows, I can't find it running in well. I tried hard to run it but failed. But I found another way to run the hyper ledger on windows with Linux subsystem which has been officially available in windows 10. (Video Guide ) Requirement windows 10 Pro Docker CE PowerShell Nodejs Go 1.9 Basic Setup ( Step - 1 ) The first step to set up the hyperedge fabric on windows is to enable the Linux subsystem 1. Enable the Linux subsystem on your windows Enable Linux SubSystem 2. Install your favourite Linux subs...