Skip to content

Commit

Permalink
feat: smart-wallet service done (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbulma authored Oct 31, 2023
1 parent 97386f6 commit ddfa540
Show file tree
Hide file tree
Showing 33 changed files with 327 additions and 1,154 deletions.
4 changes: 2 additions & 2 deletions front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"next-themes": "^0.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~0.3.36",
"viem": "^1.18.0",
"wagmi": "^1.0.6"
},
"devDependencies": {
Expand All @@ -41,4 +41,4 @@
"prettier": "^3.0.3",
"typescript": "^5.0.4"
}
}
}
116 changes: 18 additions & 98 deletions front/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 12 additions & 10 deletions front/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import "@rainbow-me/rainbowkit/styles.css";
import "@radix-ui/themes/styles.css";
import { Providers } from "./providers";
import { Theme, ThemePanel } from "@radix-ui/themes";
import ThemeProvider from "@/components/ThemeProvider.tsx";
import { WalletConnectProvider } from "@/libs/wallet-connect";
import { SmartWalletProvider } from "@/libs/smart-wallet/SmartWalletProvider";

export const metadata = {
title: "wagmi",
title: "HocusPocus XYZ",
};

export default function RootLayout({
Expand All @@ -17,14 +17,16 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<body>
<WalletConnectProvider>
<ThemeProvider attribute="class">
<Theme>
<Providers>{children}</Providers>
{/* <ThemePanel /> */}
</Theme>
</ThemeProvider>
</WalletConnectProvider>
<SmartWalletProvider>
<WalletConnectProvider>
<ThemeProvider attribute="class">
<Theme>
{children}
{/* <ThemePanel /> */}
</Theme>
</ThemeProvider>
</WalletConnectProvider>
</SmartWalletProvider>
</body>
</html>
);
Expand Down
Loading

0 comments on commit ddfa540

Please sign in to comment.