how to buy/sell bsc tokens on pancakeswap from a solidity smart contract?

1.4k Views Asked by At

I just start to learn solidity and I've finished a couple courses and I want some help to create my first working smart contract.

The smart contract I want to build will buy and sell tokens on the pancakeswap platform from a smart contract; it like my smart contract will start interacting with a pancakeswap contract to execute some trades, doing the same stuff as I'm using their website.

Any help will be appreciated

I have tried to add the interfaces I need to start the interaction between my contract and pancakeswap router contract to use the function

0

There are 0 best solutions below