feat: publishing infernet-container-starter v0.2.0
This commit is contained in:
26
projects/prompt-to-nft/ui/src/util/config.ts
Normal file
26
projects/prompt-to-nft/ui/src/util/config.ts
Normal file
@ -0,0 +1,26 @@
|
||||
import "@rainbow-me/rainbowkit/styles.css";
|
||||
import { connectorsForWallets, getDefaultConfig } from "@rainbow-me/rainbowkit";
|
||||
import { anvilNode } from "@/util/chain";
|
||||
import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets";
|
||||
import { createConfig, http } from "wagmi";
|
||||
|
||||
const connectors = connectorsForWallets(
|
||||
[
|
||||
{
|
||||
groupName: "Recommended",
|
||||
wallets: [metaMaskWallet],
|
||||
},
|
||||
],
|
||||
{
|
||||
appName: "My RainbowKit App",
|
||||
projectId: "YOUR_PROJECT_ID",
|
||||
},
|
||||
);
|
||||
|
||||
export const config = createConfig({
|
||||
connectors,
|
||||
chains: [anvilNode],
|
||||
transports: {
|
||||
[anvilNode.id]: http(),
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user