-
Smart Contract - Ethereum smart contracts in Solidity
- Remix GUI used for compiling and deploying the smart contract locally
- Web3Js for communicating with smart contract
- Ganache cli for creating test ethereum accounts
-
Middleware - NodeJS with add-on libraries including cryptoJS for hashing
Signatures and lzutf for compression -
Frontend - HTML/CSS
The main project directory is mykyc directory
-
Start the ganache-cli in the following directory
/mykyc/node_modules/.bin/ganache-cli
-
Open remix GUI in any browser :
-
Paste the code from file KYCSmartContract.sol in remix file.(choose compiler version 0.4.24+)
-
In run tab choose web3js environment in the default localhost port 8545 and then click deploy.
-
Copy the address from the deployed contract and replace it in the MyContract.js file's getAddress() function
-
Open new terminal go to mykyc/public/ directory.
-
Type the following command :
node server
- Open new tab in browser go to :