Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
leopardracer authored Jan 18, 2025
1 parent e2d628b commit 90732f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The SDK supports using `viem` for initiating SDK client. Create a typescript fil
import { privateKeyToAccount } from "viem/accounts";

const PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY || "0x";
const account = privateKeyToAccount(WALLET_PRIVATE_KEY as Address);
const account = privateKeyToAccount(PRIVATE_KEY as Address);
```

The preceding code created the `account` object for creating the SDK client.
Expand Down

0 comments on commit 90732f2

Please sign in to comment.