The main purpose of this application - build smart-contract, provide supporting transactions through MetaMask and save some data in blockchain.
⭐ Video of working application - LINK
- Install dependencies in
clientandsmart_contractfolders withnpm install
cd ./smart_contract- Deploy the contract with command
npm run deploy - Copy address of deployed contract and paste to
contractAddressfield inclient/src/utils/constants - Copy
artifacts/contracts/Transactions.sol/Transactions.jsonfile and paste toclient/src/utils, It's ABI (Contract application binary interface). This ABI contains all information about our contract
- Set all needed variables from
.env.exampleto .env file - Run client with
npm run dev, it will be available onhttp://localhost:3000