pancakeswap/pancake-smart-contracts ? reverse-engineered prompt

Reverse engineered prompt

Build me the PancakeSwap smart contracts repo as a clean monorepo with separate projects for the different protocol parts, like vaults, farms, lottery, NFT stuff, predictions, and the exchange contracts. I want each project to have its own contracts, tests, and config, but still work together from the root so I can run shared commands across everything.

Please set it up so the existing projects are organized clearly, the repo installs and runs smoothly, and the contracts are ready to compile and test in the right Solidity versions for each section. Make sure the structure is easy to extend, since I may add a new project later inside the projects folder.

If anything is unclear, look up the current docs online if you need to, and then build it in the simplest way that matches how PancakeSwap smart contract repos are usually maintained.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab