I created a pancakeswap forked DEX with its smart contracts and the pancakeswap SDK.

I can create pools, add liquidity & put limit orders although I want to use Pancakeswaps liquidity on my DEX.

To my understanding I would implement a swap contract for using pancakeswap's liquidity or use the pancakeswap SDK for using pancakes liquidity

  • What are you trying to achieve? Do you want to use pancakeswap pools? Or do you want users to deposit pancake LP token in your contract?
    – Ismael
    Dec 23, 2022 at 2:12

1 Answer 1


Pancakeswap. That's the protocol you're trying to use. Not your own dex. You can access it here directly : https://pancakeswap.finance/, no need for you to make smart contracts or a website.

  • I know I can use the protocol directly, but that's not what I need. I forked Pancakeswaps contracts integrated onto my front end, but I need to use the liquidity of the Pancakeswap pools Dec 22, 2022 at 13:10
  • " I created an alternative to youtube, can i put videos from youtube on it?" no you can't. Use youtube directly.
    – Foxxxey
    Dec 22, 2022 at 14:35
  • If you need to use the liquidity of pancakeswap, use pancakeswap contracts, if you want your users to think you did something, make your own frontend for them, but still, use pancakeswap contracts.
    – Foxxxey
    Dec 22, 2022 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.