Skip to content

Commit

Permalink
Remove smart wallet provider
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Dec 9, 2024
1 parent 013e87a commit d12f518
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/smart-wallet/src/pages/Privy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export default function Privy() {
{authenticated && (
<Button
onClick={() =>
fundWallet(user?.wallet?.address ?? "0xf422673cb7a673f595852f7b00906408a0b073db", {
fundWallet(user?.wallet?.address ?? "0x0555fd1450fa95a95EE4F5C5f83fcff5b98BDfaA", {
defaultFundingMethod: "manual",
// chain: base,
// amount: "123",
// amount: "",
// asset: { erc20: "0x0Db510e79909666d6dEc7f5e49370838c16D950f" },
})
}
Expand Down
5 changes: 3 additions & 2 deletions apps/smart-wallet/src/providers/PrivyProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { PrivyProvider as PrivyProviderFromPrivy } from "@privy-io/react-auth";
import { SmartWalletsProvider } from "@privy-io/react-auth/smart-wallets";
// import { SmartWalletsProvider } from "@privy-io/react-auth/smart-wallets";
import { PropsWithChildren } from "react";

export default function PrivyProvider({ children }: PropsWithChildren<unknown>) {
return (
<PrivyProviderFromPrivy appId="cm4c8vv3y0846119zl29qwi9t">
<SmartWalletsProvider>{children}</SmartWalletsProvider>
{/* <SmartWalletsProvider></SmartWalletsProvider> */}
{children}
</PrivyProviderFromPrivy>
);
}

0 comments on commit d12f518

Please sign in to comment.