UNPKG

@kadena/kadena-cli

Version:

Kadena CLI tool to interact with the Kadena blockchain (manage keys, transactions, etc.)

21 lines 1.06 kB
import { IS_TEST } from '../constants/config.js'; import { memoryFileSystemService } from './fs/fs.memory.service.js'; import { fileSystemService } from './fs/fs.service.js'; import { ConfigService } from './config/config.service.js'; export * from './config/config.types.js'; import { AccountService } from './account/account.service.js'; import { PactJSService } from './pactjs/pactjs.service.js'; import { PlainKeyService } from './plain-key/plainkey.service.js'; import { WalletService } from './wallet/wallet.service.js'; export class Services { constructor(options) { this.filesystem = IS_TEST ? memoryFileSystemService : fileSystemService; this.config = new ConfigService(this, options === null || options === void 0 ? void 0 : options.configDirectory); this.plainKey = new PlainKeyService(this); this.wallet = new WalletService(this); this.pactjs = new PactJSService(this); this.account = new AccountService(this); } } export const services = new Services(); //# sourceMappingURL=index.js.map