We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aa240b commit d0f8df8Copy full SHA for d0f8df8
1 file changed
packages/infra/src/poke.ts
@@ -19,15 +19,15 @@ const publicClient = createPublicClient({
19
cacheTime: 100,
20
});
21
22
-const privateKey = process.env.PRIVATE_KEY as `0x${string}`;
+const privateKey = process.env.POKING_PRIVATE_KEY as `0x${string}`;
23
if (!privateKey) {
24
- throw new Error("PRIVATE_KEY is not set");
+ throw new Error("POKING_PRIVATE_KEY is not set");
25
}
26
27
const account = privateKeyToAccount(privateKey);
28
29
console.log(
30
- "Account address:",
+ "Poking account address:",
31
account.address,
32
"balance:",
33
await publicClient.getBalance({ address: account.address })
0 commit comments