Code Samples

Simple token ERC-20 like example

This simple project showcases how to create a ERC-20 like project on Hyperledger Fabric, it includes a simple unit test and instructions to run it locally.

Source Code

Fullstack application

The current mono-repo is a simple project to showcase the ease and power of Convector by creating a basic Drug Supply Chain fullstack application example.

Source Code

Identity patterns on the Blockchain

Identity on Convector is based on native patters from Fabric. Read more here.

This repo includes an example of:

  • Participants chaincode for shared references in business chaincodes.
    • Fingerprint based registration of participants.
  • ABAC-based authorization in the participant for Admin tasks like updating the x509 identity after a identity had to be updated. Read more
  • A business chaincode called "product-cc" that leverages this identity pattern.

Source Code

Unit tests and debugging

With Convector, you can run local unit tests with a Mock ledger that you can also use to debug your code. With the latest versions of Hurley and Convector Smart Contracts it’s now even possible to debug straight from the blockchain.

Source Code
Blog Post
Video tutorial

Private Data

One of the main concerns the enterprise has around the Blockchain technology is the “public” by default state of most of the frameworks and networks out there.

Private Data is a feature that allows organizations in a network to share both “public” (accessible to all participants) and private data in the same channel.

Source Code
Blog Post
Video with Demo

Blockchain Oracles

Oracles allow a smart contract to compute with external data (off-chain) like web services, centralized databases, IoT data, amongst others.

Oracles are a key component for real solutions,

Source Code
Blog Post
Video with Demo

Community Code References

The community and ecosystem around Convector are the best references for how to unleash the power of enterprise blockchain systems with Convector.

An end to end supply chain project - built by Luca Tamburrano

The most complete end to end tutorial by a community member. A supply chain network from the design to the code.

Source Code
Blog Post

HL7 FHIR financial module - built by InstaMed

A project to bring the HL7 FHIR financial module to the blockchain. A comprehensive project with a large smart contract following the international standard defined by FHIR, an API server, and a VUE front end.

Source Code
Blog Post
Live Prototype
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us