-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrainbowkit.config.tsx
More file actions
43 lines (32 loc) · 1.25 KB
/
rainbowkit.config.tsx
File metadata and controls
43 lines (32 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* Uncomment to use dAppBooster with RainbowKit
* version used: 2.0.8
*/
// import type { ReactNode } from 'react'
// import { type AvatarComponent, ConnectButton, RainbowKitProvider } from '@rainbow-me/rainbowkit'
// import { getDefaultConfig } from '@rainbow-me/rainbowkit';
// import { env } from '@/src/env'
// import { chains, transports } from '@/src/lib/networks.config'
// import CustomAvatar from '@/src/components/sharedComponents/Avatar'
// export const WalletProvider = ({ children }: { children: ReactNode }) => {
// return (
// <RainbowKitProvider avatar={CustomAvatar as AvatarComponent}>{children}</RainbowKitProvider>
// )
// }
// export const ConnectWalletButton = ({ label = 'Connect' }: { label?: string }) => (
// <ConnectButton label={label} />
// )
// const defaultConfig = {
// chains,
// transports,
// // Required API Keys
// walletConnectProjectId: env.PUBLIC_WALLETCONNECT_PROJECT_ID,
// projectId: env.PUBLIC_WALLETCONNECT_PROJECT_ID,
// // Required App Info
// appName: env.PUBLIC_APP_NAME,
// // Optional App Info
// appDescription: env.PUBLIC_APP_DESCRIPTION,
// appUrl: env.PUBLIC_APP_URL,
// appIcon: env.PUBLIC_APP_LOGO,
// } as const
// export const config = getDefaultConfig(defaultConfig)