Skip to content

Commit

Permalink
docs: left out the snippets on last push
Browse files Browse the repository at this point in the history
  • Loading branch information
moldy530 committed Feb 2, 2024
1 parent fa22d2b commit bee152b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions site/snippets/aa-accounts/lightAccountClient.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { createLightAccountClient } from "@alchemy/aa-accounts";
import { LocalAccountSigner, sepolia } from "@alchemy/aa-core";
import { http } from "viem";

export const smartAccountClient = createLightAccountClient({
transport: http("RPC_URL"),
chain: sepolia,
// or any other SmartAccountSigner
owner: LocalAccountSigner.mnemonicToAccountSigner("YOUR_MNEMONIC"),
});

0 comments on commit bee152b

Please sign in to comment.