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

Building Full Stack DeFi Applications
By :

We have completed all the pages for liquidity management. In this section, we will provide some instructions to verify the functions on these pages. Before the verification, I suggest you complete all the components mentioned in this chapter by referring to the code at https://github.com/PacktPublishing/Building-Full-stack-DeFi-Application/tree/chapter06-end/defi-apps.
This branch introduces another two tokens for the DEX: Foo Token (symbol: FOO) and Bar Token (symbol: BAR), so that you can create multiple liquidity pools with these tokens.
When you add a new token to the DEX, don’t forget to include its deployment by adding a line in the contractList
array in scripts/deploy.js
like this:
const contractList = [ // "Contract Name", "Contract Factory Name" ["Simple DeFi Token", "SimpleDeFiToken"], ["Meme Token", "MemeToken"], ...