Live video on the AT Protocol
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()}`);