Skip to content

@rainbow-me/rainbowkit@2.1.2

Latest
Compare
Choose a tag to compare
@DanielSinclair DanielSinclair released this 31 May 03:53
· 10 commits to main since this release
28c1bf0

Patch Changes

  • 2180ddd: Added Nest Wallet support with nestWallet wallet connector

  • fea278a: The coinbaseWallet wallet connector now has a preference argument to control whether Smart Wallet is enabled and available for users. Preference based behavior is documented here.

    Smart Wallet will be enabled by default with all in early June, without a further upgrade.

    Developers can test Smart Wallet with sepolia and baseSepolia chains today by setting smartWalletOnly like so:

    import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets";
    
    // Enable Coinbase Smart Wallet for testing
    coinbaseWallet.preference = "smartWalletOnly";
    
    // You must manually specify your wallet list with `wallets` in
    // `getDefaultConfig` or `connectorsForWallets` to assign the preference
    const config = getDefaultConfig({
      /* ... */
      wallets: [
        {
          groupName: "Popular",
          wallets: [coinbaseWallet],
        },
      ],
      /* ... */
    });