"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Libs = void 0;
/* eslint-disable @typescript-eslint/no-require-imports */
class LibProvider {
    constructor() {
        this.libs = {
            BTC: {
                lib: require('@bitpay-labs/crypto-wallet-core').BitcoreLib,
                p2p: require('@bitpay-labs/bitcore-p2p')
            }
        };
    }
    register(chain, lib, p2p) {
        this.libs[chain] = { lib: require(lib), p2p: require(p2p) };
    }
    get(chain) {
        return this.libs[chain];
    }
}
exports.Libs = new LibProvider();
//# sourceMappingURL=index.js.map