Skip to content

Genobank/genobankio-dot-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenoBank.io Dot Net

A C# client for the GenoBank.io platform 🧬

sequenceDiagram
    Client->>+api.genobank.io: {"claim":..., "signature":..., "permitteeSerial":...}
    api.genobank.io->>+Client: {"txHash":..., "timestamp":..., "genobankSignature":...}
Loading

Prerequisites

  1. Supported operating systems are macOS, Linux and Windows

  2. Install .NET SDK

    1. ℹ️ This project has been tested on macOS Big Sur / Apple Silicon / .NET SDK (5.0.201)

Downloading

Get the latest source code from GitHub:

mkdir -p ~/Developer
cd ~/Developer
git clone https://github.com/Genobank/genobankio-dot-net.git
cd genobankio-dot-net

Building and testing

Install dependencies:

dotnet restore

Run the product without arguments to see instructions:

dotnet run

Or include all required parameters to notarize a certificate:

dotnet run --test 'candy maple cake sugar pudding cream honey rich smooth crumble sweet treat' 1 'NAME' 'PASSPORT123' '1' 'N' '' 1611517330

Overview

  • LaboratoryProcedure, LaboratoryProcedureResult, Network are simple records.
  • PermitteeRepresentations stores everything that the permittee (laboratory) will attest to.
  • PermitteeSigner performs cryptographic signing on behalf of the permittee.
  • Platform notarizes the certificate onto the blockchain using GenoBank.io.
  • NotarizedCertificate is the notarized artifact.
  • Program is the program entry point.

Extending

You are welcome to extend the functionality of this example, for example to connect to an ERP system or add additional information (like birthday) into the name field.

References

About

A C# client for the GenoBank.io platform

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages