UNPKG

@bioneisme/greenfield-cli

Version:
17 lines (16 loc) 578 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.systemInfo = void 0; const config_1 = require("../../utils/config"); function systemInfo() { try { console.log(`RPC URL: ${config_1.config.get("rpcUrl")}`); console.log(`Chain ID: ${config_1.config.get("chainId")}`); console.log(`Public key: ${config_1.config.get("publicKey")}`); console.log(`Private key ID: ${config_1.config.get("privateKey")}`); } catch (e) { console.error(`info failed: ${e}`); } } exports.systemInfo = systemInfo;