I want to create a DEX as the tutorial shows, but I want to add fees for swapping Tokens, how may I add fees logic. Please suggest me

I want to create a DEX as the tutorial shows, but I want to add fees for swapping Tokens, how may I add fees logic. Please suggest me.

1 Like

Hey @rafiulhasan86

You can’t add fees because as a fee reciever we already have set our Wallet.

2 Likes

@Yomoo Would you please suggest to me then how to generate profit by implementing this DEX?

It’s a plugin for extending functionality of your dapp, not for generating profit. You can create your own code for using 1Inch API and getting profit from swaps

1 Like

Thanks a lot now I understood.

1 Like

You are welcome!

Happy BUIDLing :man_mechanic:

1 Like