Skip to main content
100%

Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.12+commit.27d51765.js&optimize=false&gist=

✓ Published0🌍 Public
NNikhilkuyya
Last edited Oct 3, 2020
Created on Oct 3, 2020

This example demonstrates a blockchain-based Know Your Customer (KYC) system implemented in Solidity, showing how customer records are stored, added, removed, and modified through a smart contract. The interface `IKYC` defines the core operations, while the `KYC` contract manages a mapping of customer data, including username, associated data string, and the bank address that initiated the transaction. The code uses `KYCTypes` library to structure bank and customer information, with functions like `addCustomer`, `removeCustomer`, and `modifyCustomer` exposing state changes. The visualization highlights the contract’s runtime behavior, reflecting the Ethereum compiler and execution environment via remix-ide.

AI-generated description

Similar vizzes