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
client
andsmart_contract
folders withnpm install
cd ./smart_contract
- Deploy the contract with command
npm run deploy
- Copy address of deployed contract and paste to
contractAddress
field inclient/src/utils/constants
- Copy
artifacts/contracts/Transactions.sol/Transactions.json
file 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.example
to .env file - Run client with
npm run dev
, it will be available onhttp://localhost:3000