-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Building Full Stack DeFi Applications
By :

Now we have implemented all the smart contracts of a simple version of the crypto loan, we can deploy the smart contracts and test them to give them a try. By going through the deployment and testing, you will understand the process of deployment and configuration of crypto loan smart contracts. You will also learn how to interact with the smart contracts with frontend code.
Deploying crypto loan smart contracts requires us to understand the smart contracts’ dependencies so that these smart contracts can be deployed in the correct sequence. In the architecture diagram of Figure 11.2, we can deploy the smart contracts from the bottom layer to the upper layer with the following sequence:
AssetPoolShareDeployer.sol
).PriceOracle.sol
) – this depends on the AMMRouter
smart contract and WETH
smart contract.