There is an online shopping app written in Flutter, right now, this app can connects to the Metamask wallet using walletConnect_dart package. It gets user's account address. The goal is to pay with USDT. I want customers pay as less transaction fees as possible and for now I've selected BSC network.
User after hitting checkout button, should be redirected to Metamask and sign the transaction fot transfering USDT, so the USDT will transfer to the shop owner's wallet address.
I don't have any contract or ABI Or wallet private key to put inside code. I want user to accept the transaction through non-cutodial Metamask wallet.
I've used this source code to connect to Metamask with WalletConnect. https://github.com/BhaskarDutta2209/FlutterAppWithMetamask