How to integration daml to a running hyperledger-fabric network - hyperledger-fabric

can anyone tell me how to integration daml on running hyperledger-fabric with 1 orderer, 2ORG with 1 peer each them. i read this tutorial https://github.com/digital-asset/daml-on-fabric and this https://kctheservant.medium.com/add-a-peer-to-an-organization-in-test-network-hyperledger-fabric-v2-2-4a08cb901c98.
which this tutorial let the network up and have container peer same as my fabric running.
what diferrent between daml-on-fabric_peer0.org1.example.com_1 with peer0.org1.example.com on my fabric network?

Related

Deploy chaincode to Hyperledger Fabric Consortium on Azure

I've a single node Hyperledger Fabric network running on MS Azure, deployed using the Hyperledger Fabric consortium network template from Azure. How do I deploy chaincodes to the network? After sshing to the VM, I can connect to the peers but when I try installing a chaincode I get Error: error getting chaincode code car.go: <go, [env]>: failed with error: "exec: not started"
I sense I'm doing something wrong. How do I deploy chaincodes to a fabric network deployed using the Azure Hyperledger Fabric template?
I found this and this , not sure these are what I'm looking for. I just need to simply install and instantiate a chaincode using the peer cli.
Please help. Thank you.

How to add peer nodes to an existing running Hyperledger fabric blockchain using Hyperledger composer?

My Hyperledger fabric blockchain is already up and running using Hyperledger composer. Now I want to add one more peer node that should be running on physically different machine. What will be the steps for extending blockchain and I already issued PeerAdmin card and few others user cards with all peer nodes IP entries. Do I also need to add IP address of newly added node in the cards?

What is the difference between Composer business network and Hyperledger Fabric network

I understand that we can deploy multiple Hyperledger Composer Business networks on a fabric network with single Org (or multi org). Is it similar to deploying multiple chaincodes on a fabric network (on one or more channels)? That means, composer network install and composer network start are similar to peer chaincode install and peer chaincode instantiate on fabric?
You are correct, composer network install is similar to peer chaincode install as it installs your business network onto the peer (your business network is the chaincode here) and under the covers performs a request similar to the peer install command. composer network start is similar to peer chaincode instantiate as it makes a request to instantiate the business network chaincode but also performs some extra required activities specific to hyperledger composer.

Hyperledger composer on hyperledger fabric deployed on Docker swarm

I have deployed a one org hyperledger fabric network over docker swarm. Where one node has an orderer, peer , ca and couchdb and other node has one couchdb and node. I was able to invoke basic chaincode over it. Now I want to deploy composer over it. But I am not sure what shall I give in request and event url of connection.json. I already tried giving individual IPs instead of localhost,but no luck. I used this tutorial to deploy one org fabric network over docker swarm.
See https://discourse.skcript.com/t/setting-up-a-blockchain-business-network-with-hyperledger-fabric-composer-running-in-multiple-physical-machine/602
you will need the requestURL and eventURL definition, along with peer addresses from the other 'node' (I assume you mean 'machine') on your node 1.

Hyperledger composer integration with Fabric

I have 3 physical machines namely node1,node2 and node3.
node 1 is orderer
node 2 and node 3 are the peers
I was able to to deploy chain code and retrieve back the result. Now I am trying to use Hyper ledger composer and deploy chain code.
I have installed composer play-ground locally in node1 (orderer). Started Orderer and 2 peers.
Is it possible to deploy chain code in node1 written in composer-playground. Could you explain how to set up or point me to right document.
How to set up connection profile in composer-playground?
Please follow these instructions:
https://hyperledger.github.io/composer/installing/development-tools.html
That will create and start a Fabric for you and configure the security such that Composer can deploy.

Resources