Expense Tracker App with React on Client Side and Ethereum Blockchain
In this Step 2, we have improved state management in redux style with createContext and useReducer hooks
- Setup Ethereum Project with Truffle
- Created Basic initial Contract
- Updated truffle-config.js to included infura api key and secret of hd wallet, so that contract can be deployed directly on reposten network using truffle
- Created React App
- Used Web3 to connect client with blockchain
- Called contract functions with web3 and updated UI
- Used basic React Context for state management