"WalletInitializationError: Invalid params passed in, PrivateKey Provider is required before initialization"

I just upgraded to web3auth version 6.0.1 and started to get this error, despite changing nothing else in my code.

I’ve attached screenshots of the code and the error in the console.

The error occurs when I call the initWeb3AuthConnection() function

1 Like

Hi @engineeringadmin, we have introduced some changes in the OpenloginAdapter constructor options. Pls, pass the new privateKeyProvider option in the constructor.

For more information, pls check out this example.

We have plans to update the documentation and create a comprehensive guide that will assist users in migrating from version 5 to version 6.


1 Like