Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cherry-yl-sh committed Jul 1, 2024
1 parent 6c67e92 commit c4098d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ next-env.d.ts
# ideal
.idea

.vscode


/etc/secrets/.env.production
Expand Down
17 changes: 7 additions & 10 deletions src/wagmi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,16 @@ import {
metaMaskWallet,
coinbaseWallet,
} from "@rainbow-me/rainbowkit/wallets";
const connectors = connectorsForWallets(
[
{
groupName: "Recommended",
wallets: [metaMaskWallet, rainbowWallet, coinbaseWallet],
},
],
{ appName: "AAstar", projectId: "YOUR_PROJECT_ID" }
);

export const config = getDefaultConfig({
appName: "AAstar",
projectId: process.env.NEXT_PUBLIC_PROJECT_ID!,
chains: [optimism, optimismSepolia],
ssr: true,
connectors,
wallets: [
{
groupName: "Recommended",
wallets: [metaMaskWallet, rainbowWallet, coinbaseWallet],
},
],
});

0 comments on commit c4098d8

Please sign in to comment.