Live video on the AT Protocol
at eli/podman-cache 6 lines 261 B view raw
1import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; 2 3const key = generatePrivateKey(); 4console.log(`AQD_ADMIN_ACCOUNT_KEY=${key}`); 5const account = privateKeyToAccount(key); 6console.log(`SP_ADMIN_ACCOUNT=${account.address.toLowerCase()}`);