Skip to Content
Technical Articles
Author's profile photo Nagesh Caparthy

5 Mins to kickstart your blockchain knowledge….!!! Hello World, Simplified…!!!

In my previous blog Step by Step process to create your first Blockchain Project – Hello World, we see that it takes around 15-20 mins to copy the code, create files and zip files in a format to ensure they are deployed accurately for it to be working.

SAP Blockchain team is really focused to ensure that we give you a simple option to start your technology interest in just a few clicks. Just follow my previous blog and until step 4. Create & Deploy a Chaincode, we have simplified the process by adding “Example Chaincode” just click on it.

This should help you with the “hello_world.go” file with the sample chaincode with read and write operations.

 

Click on “API Description”, this will help in understanding the YAML file along with the parameters used for read and write operations.

 

Click on “API Description”, this will help in understanding the YAML file along with the parameters used for read and write operations.

 

Click on “Manifest” file to check the id and the version of the developments.

 

Once you get familiar with the coding all you need to do is just click on “Deploy Chaincode” and you are done. It’s as simple as that, now all we need to do it just click on “Test Chaincode” to do the read and write operations to your block.

 

Feel free to refer my old blog, step 6 on how to use the Swagger tool to read and write operations.

 

We are also happy to announce our latest release on Hyperledger Fabric v1.2 which supports

 

–       Endorsement policy Basic and Advanced

–       Support for SideDB

–       End to End Encryption

 

Also, see how we can use SAP HANA Blockchain Adapter with blockchain services to build blockchain networks using different software vendors(Hyperledger, MultiChain, and others) using common APIs.

 

Happy Learning…!!!

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Srivatsan Sundaravaradan
      Srivatsan Sundaravaradan

      Nice blog Nagesh.. It would be defininitely useful  for Absolute Beginners.

      Author's profile photo Nagesh Caparthy
      Nagesh Caparthy
      Blog Post Author

      Thank you, Srivatsan.

      Author's profile photo Former Member
      Former Member

      Hi Nagesh,

      Good progress since 1.1 and those yaml files can get quite complex, so thank you for keeping them simple. i was wondering about SideDB, is this to allow NoSQL 'world state' services like PostgreSQL or MongoDB?

      rgds, greg

      Author's profile photo Nagesh Caparthy
      Nagesh Caparthy
      Blog Post Author

      Hello Greg,

      Good question. SideDB is mostly to share private/confidential data to among the business peers in the same channel than creating multiple channels. Furthermore, v1.2 allows to endorse, commit or query private data.

      This private data is a collection of two elements "Actual Private Data" and "Hash of that Data".

      In actual private data (gossip protocol) which is sent peer-to-peer only the authorized business parties can see it. This kind of data can be stored in private DB which is known as SideDB.

      Hash of that data, which is endorsed, ordered and written to the ledgers of every peer on the channel. The hash serves as evidence of the transaction and is used for state validation and can be used for audit purposes.

      All these are the support features with v1.2; and for now, I do not see any support for other DB's like PostgreSWL or MongoDB.

      Hope this helps.

      Regards,

      Nagesh