UNPKG

@haechi-labs/henesis-cli

Version:

🚀 Command Line Interface tool to Utilize henesis

16 lines • 566 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const configstore_1 = tslib_1.__importDefault(require("../common/configstore")); exports.baseUrl = () => { let url = 'https://privatebeta.henesis.io'; if (typeof configstore_1.default.get('endpoint') !== 'undefined') { url = configstore_1.default.get('endpoint'); } if (process.env.HENESIS_TEST === 'true') { url = 'http://localhost:8080'; } return url; }; exports.rpcVersion = 'v1'; //# sourceMappingURL=url.js.map