I'm struggling to integrate swapExactETHForTokens into remix but I fail since I don't have any kind of coding experience
It shouldn't be anything fancy just a simple code that would allow me to buy a token from the contract
I checked out the official docs https://uniswap.org/docs/v2/smart-contracts/router02/#swapexacttokensforeth
I'm trying this code but not sure if it's the right one How to use swapExactETHForTokens in smart contract?
I know what each of those function should be filled with but I don't know exactly what's the exact uint integer and where exactly I need to insert the wallet, contract, amount, and so on
Can anyone show me a full working example(like swap eth to usdt) that I can throw on remix and go from there?