I didn't do the eth sign, how can I sendTransaction it right away?
When was the eth sign done?
sample code
const sendTransaction = async () => {
try {
const web3 = new Web3(provider as any);
const accounts = await web3.eth.getAccounts();
const txRes = await web3.eth.sendTransaction({
from,
to,
value: web3.utils.toWei('0.01'),
});
} catch (error) {
console.log('error', error);
}
};
Originally posted by: b0jun
Check the discussion at: https://github.com/orgs/Web3Auth/discussions/1304