docs: function deriveWalletAddress(publicKey, type) {
    let keyBuffer = new Buffer(publicKey, 'hex');
    let firstHash = crypto.createHash('sha256').update(keyBuffer).digest();
    let secondHash = ripemd160(firstHash);
    let extendedHash = (type === 'issuer' ? '57' : '87') + secondHash.toString('hex');
    let base58Public = bs58check.encode(new Buffer(extendedHash, 'hex'));
  
    return base58Public;
  }