Skip to content

Commit d0f8df8

Browse files
feat: separate poking key
1 parent 6aa240b commit d0f8df8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/infra/src/poke.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ const publicClient = createPublicClient({
1919
cacheTime: 100,
2020
});
2121

22-
const privateKey = process.env.PRIVATE_KEY as `0x${string}`;
22+
const privateKey = process.env.POKING_PRIVATE_KEY as `0x${string}`;
2323
if (!privateKey) {
24-
throw new Error("PRIVATE_KEY is not set");
24+
throw new Error("POKING_PRIVATE_KEY is not set");
2525
}
2626

2727
const account = privateKeyToAccount(privateKey);
2828

2929
console.log(
30-
"Account address:",
30+
"Poking account address:",
3131
account.address,
3232
"balance:",
3333
await publicClient.getBalance({ address: account.address })

0 commit comments

Comments
 (0)