// Goal of this file is to inject all necessary device/signer dependency to coin-modules
import { createBridges } from "@ledgerhq/coin-stellar/bridge/index";
import makeCliTools from "@ledgerhq/coin-stellar/test/cli";
import stellarResolver from "@ledgerhq/coin-stellar/signer/index";
import { getCryptoCurrencyById } from "@ledgerhq/cryptoassets/currencies";
import Stellar from "@ledgerhq/hw-app-str";
import { createResolver, executeWithSigner } from "../../bridge/setup";
import { getCurrencyConfiguration } from "../../config";
const createSigner = (transport) => {
    return new Stellar(transport);
};
const stellar = getCryptoCurrencyById("stellar");
function getCurrencyConfig() {
    return getCurrencyConfiguration(stellar);
}
const bridge = createBridges(executeWithSigner(createSigner), getCurrencyConfig);
const resolver = createResolver(createSigner, stellarResolver);
const cliTools = makeCliTools();
export { bridge, cliTools, resolver };
//# sourceMappingURL=setup.js.map