Skip to content

Commit

Permalink
fix: add safeWallet to getDefaultWallets (#2060)
Browse files Browse the repository at this point in the history
* chore: add safeWallet and braveWallet in getDefaultWallets

chore: changeset

chore: tweak

* chore: add safeWallet and braveWallet to popular wallet list

* deprecate: braveWallet connector as eip-6963 replaces the need

* chore: tweak changeset

* chore: tweak changeset

---------

Co-authored-by: Daniel Sinclair <[email protected]>
Co-authored-by: Daniel Sinclair <[email protected]>
  • Loading branch information
3 people authored Aug 5, 2024
1 parent 048ab77 commit 2eeb7b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-chicken-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rainbow-me/rainbowkit": patch
---

Improved the Safe Wallet app browser connection flow with a Safe button included by default in the wallet list
2 changes: 2 additions & 0 deletions packages/example/src/wagmi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import {
rainbowWallet,
ramperWallet,
roninWallet,
safeWallet,
safeheronWallet,
safepalWallet,
subWallet,
Expand Down Expand Up @@ -164,6 +165,7 @@ export const config = getDefaultConfig({
{
groupName: 'Popular',
wallets: [
safeWallet,
rainbowWallet,
coinbaseWallet,
metaMaskWallet,
Expand Down
2 changes: 2 additions & 0 deletions packages/rainbowkit/src/wallets/getDefaultWallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
import { coinbaseWallet } from './walletConnectors/coinbaseWallet/coinbaseWallet';
import { metaMaskWallet } from './walletConnectors/metaMaskWallet/metaMaskWallet';
import { rainbowWallet } from './walletConnectors/rainbowWallet/rainbowWallet';
import { safeWallet } from './walletConnectors/safeWallet/safeWallet';
import { walletConnectWallet } from './walletConnectors/walletConnectWallet/walletConnectWallet';

export function getDefaultWallets(parameters: ConnectorsForWalletsParameters): {
Expand All @@ -21,6 +22,7 @@ export function getDefaultWallets(parameters?: ConnectorsForWalletsParameters) {
{
groupName: 'Popular',
wallets: [
safeWallet,
rainbowWallet,
coinbaseWallet,
metaMaskWallet,
Expand Down

0 comments on commit 2eeb7b9

Please sign in to comment.