code: function generateAccount() {
    let priKeyBytes = genPriKey();
    let addressBytes = getAddressFromPriKey(priKeyBytes);
    let address = getBase58CheckAddress(addressBytes);
    let privateKey = byteArray2hexStr(priKeyBytes);
  
    return {
      privateKey,
      address,
    }
  }
docs: Generate a new account