mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-12-07 18:02:33 -05:00
add unichain
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
import { createConfig, http, WagmiProvider } from "wagmi";
|
||||
import { base, degen, mainnet, optimism } from "wagmi/chains";
|
||||
import { base, degen, mainnet, optimism, unichain } from "wagmi/chains";
|
||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
import { farcasterFrame } from "@farcaster/frame-wagmi-connector";
|
||||
|
||||
export const config = createConfig({
|
||||
chains: [base, optimism, mainnet, degen],
|
||||
chains: [base, optimism, mainnet, degen, unichain],
|
||||
transports: {
|
||||
[base.id]: http(),
|
||||
[optimism.id]: http(),
|
||||
[mainnet.id]: http(),
|
||||
[degen.id]: http(),
|
||||
[unichain.id]: http(),
|
||||
},
|
||||
connectors: [farcasterFrame()],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user