Interacting with Smart Contracts and DeFi Wallets in the Frontend
Now, we have been through the process of creating, building, deploying, and testing smart contracts. You can imagine that the EVM running the smart contracts is the backend of a full stack DeFi application. In this chapter, we will start building the frontend of the DeFi application with Node.js, React.js, and Material UI. Also, you will learn how to interact with the smart contracts using frontend code.
DeFi wallets play an important role in user authentication as shown in the Architecture of DeFi applications section of Chapter 1, Introduction to DeFi. In this chapter, you will learn how to connect DeFi applications with blockchain through a DeFi wallet and interact with smart contracts.
This chapter contains the following sections:
- Overview of DeFi application frontend development
- Deploying smart contract metadata to the frontend
- Connecting to a DeFi wallet
- Reading data from blockchain ...