"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const ensure_1 = require("../guards/ensure");
exports.hasAccountAddress = (environment) => !!environment.wallet && !!environment.wallet.address;
exports.ensureAccountAddress = (environment) => ensure_1.ensure(!!exports.hasAccountAddress(environment), "No address found in environment to identify: 'environment.wallet.address'", environment);
