To play @four_meme_ and avoid being a victim of a sandwich attack, you can use BlockSec's anti-MEV RPC. Here's how you can set it up.

https://docs.blocksec.com/blocksec-anti-mev-rpc