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.1+commit.e6f7d5a4.js&optimize=false&gist=

✓ Published0🌍 Public
NNikhilkuyya
Last edited Apr 1, 2020
Created on Apr 1, 2020

This example shows a Solidity smart contract for a Know Your Customer (KYC) system, compiled and run in real time through Remix IDE. It defines three structs—Customer, Bank, and KYCRequest—and uses a mapping from customer usernames to KYCRequest records. The `addRequest` function takes a username and customer data string, then stores a new KYCRequest with the calling bank’s address from `msg.sender`. The code relies on the Solidity compiler version 0.6.1 via Remix’s browser-based environment, which provides immediate feedback on compilation and execution without any external libraries or visualization APIs.

AI-generated description

Similar vizzes