Initial frontend import
This commit is contained in:
15
src/wagmiConfig.ts
Normal file
15
src/wagmiConfig.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { getDefaultConfig } from "@rainbow-me/rainbowkit";
|
||||
import { arbitrum, bsc, mainnet, polygon, sepolia } from "wagmi/chains";
|
||||
|
||||
/**
|
||||
* Get a free Project ID: https://cloud.reown.com (WalletConnect / Reown)
|
||||
* Without it, WalletConnect (mobile / QR on desktop) will not work; browser extensions may still work in some setups.
|
||||
*/
|
||||
const projectId = import.meta.env.VITE_WALLETCONNECT_PROJECT_ID || "";
|
||||
|
||||
export const wagmiConfig = getDefaultConfig({
|
||||
appName: "ARK Database",
|
||||
projectId: projectId || "00000000000000000000000000000000",
|
||||
chains: [mainnet, bsc, arbitrum, polygon, sepolia],
|
||||
ssr: false,
|
||||
});
|
||||
Reference in New Issue
Block a user