UNPKG

@stratosphere-network/core

Version:

Core StratoSphere SDK functionality

26 lines 713 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.StratoSphere = void 0; const wallet_1 = __importDefault(require("@stratosphere-network/wallet")); class StratoSphere { constructor() { this.wallet = null; } setupWallet(config) { this.wallet = new wallet_1.default(config); } hasWallet() { if (this.wallet) { return true; } return false; } getWallet() { return this.wallet; } } exports.StratoSphere = StratoSphere; //# sourceMappingURL=index.js.map