How to make solana anchor rpc calls using torus wallet provider?

Hello,
I am using torus in my solana-based dapp, I am using anchor framework and I want to use this pattern with torus instead of phantomWallet:
await program.mymethod(args).accounts(obj).signers([signer]).rpc();
when we use phantom or any wallet, the preview line once executed, the phantom will open directly.
but I couldn't find how to make this work with torus and web3auth
how to integrate torus wallet in a way that makes rpc calls ?



Originally posted by: hannemanrichard

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/824