Releases: rainbow-me/rainbowkit
@rainbow-me/rainbowkit@2.1.2
Patch Changes
-
2180ddd: Added Nest Wallet support with
nestWallet
wallet connector -
fea278a: The
coinbaseWallet
wallet connector now has apreference
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
andbaseSepolia
chains today by settingsmartWalletOnly
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], }, ], /* ... */ });
@rainbow-me/rainbowkit@2.1.1
@rainbow-me/rainbowkit@2.1.0
Minor Changes
-
82153ed: Upgraded compatible
wagmi
and@coinbase/wallet-sdk
versions to support Coinbase Smart Wallet.Smart Wallet enables users to create a new wallet in seconds with Passkeys, without installing an app or extension. Smart Wallet users can use the same account and address across all onchain apps with RainbowKit.
Smart Wallet and the underlying smart contract is fully compatible with Wagmi, but dApps need to ensure that their offchain signature validation is ERC-6492 compliant to support smart contract wallets. Follow this guide for more information.
Coinbase Wallet users on desktop and mobile will now interact with a new connection flow in RainbowKit alongside Smart Wallet.
-
90d6931: Introduced the Enhanced Provider to handle fallback resolutions when a Mainnet provider transport is unavailable.
ENS names for dApps without a Mainnet provider will now properly resolve. Additional conveniences will be soon be rolling out in RainbowKit.
@rainbow-me/rainbowkit@2.0.8
Patch Changes
-
8841891: Added real-time balance fetching based on the Recent Transaction API. As a transaction is confirmed on-chain, the user's gas balance will be updated to reflect the transaction.
import { useAddRecentTransaction } from "@rainbow-me/rainbowkit"; export default () => { const addRecentTransaction = useAddRecentTransaction(); return ( <button onClick={() => { addRecentTransaction({ hash: "0x...", description: "...", }); }} > Add recent transaction </button> ); };
@rainbow-me/rainbowkit@2.0.7
@rainbow-me/rainbowkit@2.0.6
@rainbow-me/rainbowkit@2.0.5
Patch Changes
- 4dd1e45: Fixed an issue that allowed duplicate wallets to be added to the Connect Modal when using
connectorsForWallets
- 1a0f209: Added a small check to throw an error if the wallet list is empty overall or empty within any category.
- ec41346: Amended the
getDefaultConfig
return type to prevent indirect type annotation errors and better infer type for parameters from Wagmi'screateConfig
. - fc4d7e1: Resolved a bug where if
multiInjectedProviderDiscovery
was set tofalse
theroninWallet
would prevent showingOpening Ronin Wallet...
UI in the connect modal. - 81ba812: Added support for
zetachain
andzetachainAthensTestnet
testnet chain - b11118f: Added Kaikas Wallet support with
kaikasWallet
wallet connector and addedklaytn
chain withklaytnBaobab
testnet support.
@rainbow-me/rainbowkit@2.0.4
@rainbow-me/rainbowkit@2.0.3
@rainbow-me/rainbow-button@0.2.3
Patch Changes
- b80e8fa: Improved the synchronous connection flow for the
RainbowButton
component