Skip to content

Commit c4995f4

Browse files
committed
feat: customize RainbowKit wallet selection for new users
1 parent 7ff1161 commit c4995f4

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

src/components/StartWithEthereumFlow/LetUseSomeApps/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const LetUseSomeApps = ({
145145
</div>
146146
))}
147147
</div>
148-
<div className="flex justify-center lg:hidden">
148+
<div className="mb-4 flex justify-center lg:hidden">
149149
<Link
150150
href="/dapps"
151151
className="font-bold no-underline"

src/config/rainbow-kit.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
11
import { mainnet } from "wagmi/chains"
22
import { getDefaultConfig } from "@rainbow-me/rainbowkit"
3+
import {
4+
coinbaseWallet,
5+
mewWallet,
6+
oneKeyWallet,
7+
rainbowWallet,
8+
zerionWallet,
9+
} from "@rainbow-me/rainbowkit/wallets"
310

411
export const rainbowkitConfig = getDefaultConfig({
512
appName: "ethereum.org",
613
projectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID!,
714
chains: [mainnet],
15+
wallets: [
16+
{
17+
groupName: "New to crypto",
18+
wallets: [
19+
coinbaseWallet,
20+
rainbowWallet,
21+
mewWallet,
22+
zerionWallet,
23+
oneKeyWallet,
24+
],
25+
},
26+
],
827
})

0 commit comments

Comments
 (0)