How do I change default service names in Corda Demobench?

0 votes
I am trying to play around with CordApp. I was trying to change default values like services. I could not find the entries. Can someone help me here
Aug 14, 2018 in Blockchain by ariaholic
• 7,340 points
106 views

1 answer to this question.

0 votes

Each Corda node individually advertises the services they offer and are setup via the node config and Gradle files. 

If you're running from unit tests and using mock nodes, you'll find the advertised services are configured per mock node. With DemoBench, the services are defined within notary.conf under demobench_main. 

You shouldn't have to change these though. Any CorDapps you load into DemoBench will also be run on each node in addition to the services selected. 

I would suggest taking a look at the more simpler CorDapp examples, such as those found at https://github.com/roger3cev (iou-cordapp-v2 is a good one) as a starting point and running them outside of DemoBench while you're still finding your feet

answered Aug 14, 2018 by Perry
• 17,020 points

Related Questions In Blockchain

+1 vote
1 answer

How do i change the names of validating peers in IBM Bluemix blockchain?

IBM Bluemix Blockchain service Hyperledger Fabric v0.6 will ...READ MORE

answered Apr 10, 2018 in Blockchain by Perry
111 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
515 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer

How do I send back ethers to the sender of the tokens in a smart contract?

Whenever a smart contract receives ether via ...READ MORE

answered May 30, 2018 in Blockchain by Perry
• 17,020 points
448 views