create-dynamic-app
Version:
CLI tool to generate sample applications using Dynamic's web3 authentication
21 lines (18 loc) • 415 B
text/typescript
export const wagmiContent = `
import { http, createConfig } from "wagmi";
import { mainnet } from "wagmi/chains";
export const config = createConfig({
// make sure to update the chains in the dashboard
chains: [mainnet],
multiInjectedProviderDiscovery: false,
ssr: true,
transports: {
[mainnet.id]: http(),
},
});
declare module "wagmi" {
interface Register {
config: typeof config;
}
}
`