UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

21 lines 664 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Currency = void 0; class Currency { api; currencyInfo; currencyProviders; constructor(currencyInfo, api, currencyProviders) { this.currencyInfo = currencyInfo; this.api = api; this.currencyProviders = currencyProviders; } async getPublicKey() { return (await this.currencyProviders.getPublicKeyProvider(this.currencyInfo))(); } async getPrivateKey() { return (await this.currencyProviders.getPrivateKeyProvider(this.currencyInfo))(); } } exports.Currency = Currency; //# sourceMappingURL=Currency.js.map