import { Sdk, randomPrivateKey } from 'etherspot';

const PRIVATE_KEY = randomPrivateKey();

const sdk = new Sdk(PRIVATE_KEY);
Try playground Read the docs