thirdweb-dev / js

Best in class web3 SDKs for Browser, Node and Mobile apps
https://thirdweb.com
Apache License 2.0
466 stars 388 forks source link

Smart wallet is not working? #3727

Closed 0xrpj closed 4 months ago

0xrpj commented 4 months ago

This is what I was using:

    connectWithCB = async (): Promise<CoinbaseWallet> => {
        const instance = new CoinbaseWallet({
            chains: [Base, BaseSepoliaTestnet],
        });
        return instance;
    };

If the wallet was not installed, it would give the smart wallet popup. But now it just gives the normal "Install Coinbase" popup. I have not changed/updated the package version.

        "@thirdweb-dev/sdk": "^4.0.99",
        "@thirdweb-dev/wallets": "^2.5.39",
gregfromstl commented 4 months ago

Hey @0xrpj, Coinbase Smart Wallet is only supported in V5 of the SDK. V4 will be deprecated soon, so we highly recommend migrating. If you need any help with it, please let us know.