"use strict";
// Goal of this file is to inject all necessary device/signer dependency to coin-modules
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolver = exports.cliTools = exports.bridge = void 0;
const hw_getAddress_1 = __importDefault(require("@ledgerhq/coin-kaspa/hw-getAddress"));
const hw_app_kaspa_1 = __importDefault(require("@ledgerhq/hw-app-kaspa"));
const setup_1 = require("../../bridge/setup");
const bridge_1 = require("@ledgerhq/coin-kaspa/bridge");
const cli_1 = __importDefault(require("@ledgerhq/coin-kaspa/test/cli"));
const createSigner = (transport) => {
    return new hw_app_kaspa_1.default(transport);
};
// const kaspaCoin = getCryptoCurrencyById("kaspa");
const resolver = (0, setup_1.createResolver)(createSigner, hw_getAddress_1.default);
exports.resolver = resolver;
// const getCurrencyConfig = (): KaspaCoinConfig => getCurrencyConfiguration(kaspaCoin);
const bridge = (0, bridge_1.createBridges)((0, setup_1.executeWithSigner)(createSigner));
exports.bridge = bridge;
const cliTools = cli_1.default;
exports.cliTools = cliTools;
//# sourceMappingURL=setup.js.map