I have an application to get data and send data to a contract. In flutter web, I used flutter_web3 package to connect to metamask. I send data like this in with that:
List<String> abi = [
'function deposit(string,uint256)',
];
String contractAddress = "0x...";
Contract contract = Contract(contractAddress, abi, provider!.getSigner());
await contract.call<String>('deposit', [transactionId, amount]).then((value) async {
print(value);
});
But this package is only available for flutter web. In mobile, I use the walletconnect_dart package to connect to the wallets. It works fine but I don't know how to call contract methods and send data to that. (without using a private key!). Can you help me with how to call for example deposit
method of contract in a mobile application?