Initial frontend import

This commit is contained in:
TerryM
2026-05-16 00:18:22 +08:00
commit 9c54ffec76
99 changed files with 14992 additions and 0 deletions

15
src/wagmiConfig.ts Normal file
View 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,
});