UNPKG

@bioneisme/greenfield-cli

Version:
50 lines (49 loc) 1.32 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.config = void 0; const conf_1 = __importDefault(require("conf")); /* macOS: ~/Library/Preferences/.greenfield/config.json Windows: %APPDATA%\.greenfield\config.json Linux: ~/.config/.greenfield/config.json (or $XDG_CONFIG_HOME/.greenfield/config.json) */ exports.config = new conf_1.default({ projectName: ".greenfield", configName: "config", projectSuffix: "", schema: { cookie: { type: "string", default: undefined, }, environment: { type: "string", default: "dev", }, rpcUrl: { type: "string", format: "uri", default: "https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org", }, chainId: { type: "string", default: "5600", }, verbose: { type: "boolean", default: false, }, privateKey: { type: "string", }, publicKey: { type: "string", }, spAddress: { type: "string", }, }, });