This tutorial provides a basic deployment of a smart contract on LACChain networks which are configured with gas model feature. It is intended for anyone interested in deploy smart contracts on LACChain networks base on Ethereum. You don’t need any programming or blockchain experience to complete this tutorial. This is just the first step.

Recommendations for DAPP Architecture

This document aims to provide recommendations on the architecture of your decentralized application (Dapp) running on the LACChain network, which is based on Hyperledger Besu.

Deploy a smart contract based DID Registry

In order to make use of the DIDRegistry as a blockchain-based DID method for public key registration and control, it is necessary to clone the repository containing the smart contracts and install some additional tools. Below are the steps to follow to have the full environment that allows a correct deployment

Deploy a smart contract based credential registry

In order to use the Credential Registry as a decentralized credential registration and verification method, it is necessary to clone the repository that contains the smart contracts and install some additional tools. Below are the steps to follow to have an environment to make the correct deployment.

Authentication Protocols

In order to access a digital service, we use an authentication method based on OpenID Connect proposed by KayTrust called DIDConnect. This mechanism makes use of DIDs to perform the authentication. DID Connect introduces the usage of DID and Verifiable Credentials (VCs), which is a decentralized mechanism that allows the client to verify the identity of the user. The proposed authentication flows, together with the Diagrams, are described in the Authentication to Service Repository.

Deploy a smart contract based public key directory

In order to use the Public Key Directory (PKD) and Trusted List (TL), it is necessary to clone the repository that contains the smart contracts and install some additional tools. Below are the steps to follow to have an environment to make the correct deployment.

Deploy a Mailbox

In order to use the mailbox as a message exchange point, it is not necessary to deploy a new service, since there is the official mailbox managed by LACChain at the following address: https://mailbox.lacchain.net.

However, if you want to use it as a self-managed service and be able to control the keys and authentication services, it is possible to do so from the official repository (https://github.com/lacchain/mailbox).

Copyright 2022 © All rights Reserved. Designed by LACNet