var PrivateKey = require('bitcore-lib')
var Address = require('@asimovdev/asimovjs')
module.exports = {
  getAddressByPrivateKey(pk) {
    let privateKey = new PrivateKey(pk)
    let address = new Address(pk.publicKey);
    return address.toString();
  }
}
