[Archive] Invalid params passed in, PrivateKey Provider is required before initialization

:classical_building: Archived Content from Web3Auth Community

This topic was originally posted by neera.choudhary on 8/18/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.


Screenshot 2023-08-18 at 12.48.20 PM
Screenshot 2023-08-18 at 12.48.20 PM2940×919 408 KB

  • SDK Version: 1.6.6

I tried passing privateKeyProvider, but then getting type error previously using CustomChainConfig

@neera.choudhary Welcome Aboard!

We have introduced some changes in the OpenloginAdapter constructor options. Please, pass the new privateKeyProvider option in the constructor. PnP No Modal SDK - v5 to v6 | Documentation | Web3Auth

image1964×748 98.6 KB

For more information, please refer to this example.