Create your own DEX for your ERC-20 token. Find the related contracts in the dex-contracts repository.
After cloning this repository, install the dependencies using the following command:
# npm
npm install
# yarn
yarn install
Make sure you deploy the contracts specified in the dex-contracts repository and add the contract details in the const/details.ts
file.
Use the following command to start the development server:
# npm
npm run dev
# yarn
yarn dev
If you need any support, feel free to join our Discord server and ask us. If you have any feedback related to thirdweb, please leave it on our feedback board.