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