Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get an ethers.js provider and signer from a Privy connected wallet for Ethereum interactions
wallets
switchChain
const privyProvider = await wallet.getEthereumProvider(); const provider = new ethers.providers.Web3Provider(privyProvider);
const provider = await wallet.getEthereumProvider(); const ethersProvider = new ethers.BrowserProvider(provider); const signer = ethersProvider.getSigner();
Was this page helpful?