code: function privKeyToPubKey(privKey, toCompressed) {
    toCompressed = toCompressed || false;
  
    const pkBuffer = Buffer.from(privKey, 'hex');
    var publicKey = secp256k1.publicKeyCreate(pkBuffer, toCompressed);
    return publicKey.toString('hex');
  }
docs: /*
  Returns private key's public Key
  @param {String} privKey (private key)
  @param {boolean} toCompressed (Convert to public key compressed key or nah)
  @return {Sting} Public Key (default: uncompressed)