So my goal is to write a solidity contract( or a python script ) to harvest my LP tokens and convert them in a stable coin in a farm like on spooky swap.
My main problem is that if i stake my tokens with my address A ( my metamask account ), when i gonna call the function on the farm smart contract, it will take the msg.sender (so the address B who is my contract or my infura/alchemy node).
how to use a specific account for interacting with a function on a smart contract?