@RayRay it looks like Web3Auth almost work with Polygon Mumbai which is encouraging!
It does create a proper wallet associated with the email and I was able to send test money to it. Otherwise when I try to use the wallet through Moralis.executeFunction API I get the following:
Error: Error: {
"code": -32603,
"message": "Internal JSON-RPC error.",
"data": {
"code": -32000,
"message": "transaction underpriced"
},
"stack": "EthereumRpcError@http://localhost:3000/static/js/0.chunk.js:6424:5\ngetEthJsonRpcError@http://localhost:3000/static/js/0.chunk.js:6766:10\ninternal@http://localhost:3000/static/js/0.chunk.js:6652:40\nparseResponse@http://localhost:3000/static/js/0.chunk.js:1334:72\n./node_modules/@toruslabs/base-controllers/dist/baseControllers.esm.js/</createFetchMiddleware/<@http://localhost:3000/static/js/0.chunk.js:1407:37\n"
}
Are there any reasons for this?
My exact same code works with Desktop Metamask as well as through WalletConnect.