'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _ethereumjsUtil = require('ethereumjs-util');

var _ethereumjsUtil2 = _interopRequireDefault(_ethereumjsUtil);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var getContractAddress = function getContractAddress(account, nonce) {
  return _ethereumjsUtil2.default.bufferToHex(_ethereumjsUtil2.default.generateAddress(account, nonce));
};

exports.default = getContractAddress;
//# sourceMappingURL=getContractAddress.js.map