loading...

Decentralized KYC on Hyperledger in a Government context

dani profile image dani ・2 min read

|| BLOCKOTUS || - part 1

Abstract

|| BLOCKOTUS || v0.1-alpha (available now)

What does it offer?

Understand the BLOCKOTUS concept
  • create a network

  • create an organization (admins) and join a network

  • register usernames

  • create identities

  • KYC verification jobs

  • discover an unusual code structure approach, conceptualized as an organism

Custom Hyperledger Fabric SDK
  • a simple way to start with Hyperledger technology

  • tools like "Hot Chaincode Upgrade" to simplify Hyperledger development flow

|| BLOCKOTUS || v1.0 (early 2022)

What will it offer?

  • auto-installer of the Organism for Ubuntu server, create your Network and start a Community

  • add organizations to your Network and distribute responsibilities

  • develop an app compatible with BLOCKOTUS and expose it to the Communities

Structure

Network

Built with Hyperledger Fabric, this Alpha Developer Preview is based on the test-network provided by Hyperledger in the fabric-samples repository.
It has been improved to interact with the Chaincode Contracts Upgrade helper, and to integrate with the other development scripts.

Organs

They are composed of a group of chaincode contracts and APIs, and are separated by roles.
For example, the User organ is in charge of registering usernames, and storing shared keypairs. It is composed of the User contract and Keypair contract. On the other side, the Identity organ store the identities provided by the users, destined to be KYC-verified.

Nerves

An http server. It transmits the signed proposals or raw transactions to the network, before being executed by the contracts. It results in a read/write of the database, distributed across peers and organizations of the network.

Webapp

Everyone can create a webapp compatible with the nerves API. They are used by the end users to interact with the Network.

Scripts

Helpers for installation, development and build.

Decentralized KYC and Users

Vision

Communities governance and Voting system

Extensibility

The functionalities will be extended with assets registers and economic features.

Assets registry and management (2022-2023)

Interior Production ruled by chaincode contracts (2022-2023)

Economic model (2022-2023)

It's the opportunity to finance differently and distribute differently. An innovative model will be available "as a service" to create your economic project on BLOCKOTUS. It will offer a different way to finance your ideas, and distribute the products and profits.

Investors (2022-2023)

Repository

BLOCKOTUS Organism

What you are looking at is the frame for the best upgrade ever for the civilization privilege escalation game, solved with our intrusion, intelligence and coordination capacities.

Take a seat, the recipe, and start cooking.

Recipe

Ingredients

  • node 12.4 and ^10.15.3 || ^12.13.1
  • Docker (daemon must be running)
  • Blockotus Organism

Steps

Start docker.

Add the following to your .bashrc or .zshrc

export BLOCKOTUS={replace with the path to the organism}
export PATH=${BLOCKOTUS}/network/bin:$PATH
export FABRIC_CFG_PATH=${BLOCKOTUS}/network/config/
# Environment variables for Org1
export CORE_PEER_TLS_ENABLED=true
export CORE_PEER_LOCALMSPID="Org1MSP"
export CORE_PEER_TLS_ROOTCERT_FILE=${BLOCKOTUS}/network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
export CORE_PEER_MSPCONFIGPATH=${BLOCKOTUS}/network/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
export CORE_PEER_ADDRESS=localhost:7051
# Environment variables for Org2

export CORE_PEER_TLS_ENABLED=true
export CORE_PEER_LOCALMSPID="Org2MSP"
export CORE_PEER_TLS_ROOTCERT_FILE=${BLOCKOTUS}/network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
export CORE_PEER_MSPCONFIGPATH=${BLOCKOTUS}/network/organizations/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp
export CORE_PEER_ADDRESS=localhost:9051

Run the following from the Organism root directory:

$ git submodules update --init --recursive
$ yarn run devInstall # you may have to run the script two times, and switch your node version with NVM

Done.

Usage

Run the complete organism

$ yarn run dev

Contact me on Twitter and Telegram @BLOCKOTUS

Posted on by:

Discussion

markdown guide