chaingate
Version:
A complete TypeScript library for connecting to and making transactions on different blockchains
14 lines • 415 B
JavaScript
import { CurrencyModules } from './Currencies/CurrencyModules';
export class CurrencyUtilsProvider {
client;
markets;
constructor(client, markets) {
this.client = client;
this.markets = markets;
}
currency(id) {
const UtilsCtor = CurrencyModules[id].utils;
return new UtilsCtor(this.client, this.markets);
}
}
//# sourceMappingURL=CurrencyUtilsProvider.js.map