// Goal of this file is to inject all necessary device/signer dependency to coin-modules
import { createBridges } from "@ledgerhq/coin-stacks";
import stacksResolver, { signMessage } from "@ledgerhq/coin-stacks/signer/index";
import makeCliTools from "@ledgerhq/coin-stacks/test/cli";
import BlockstackApp from "@zondax/ledger-stacks";
import { createResolver, executeWithSigner } from "../../bridge/setup";
const createSigner = (transport) => {
    return new BlockstackApp(transport);
};
const bridge = createBridges(executeWithSigner(createSigner));
const messageSigner = {
    signMessage,
};
const resolver = createResolver(createSigner, stacksResolver);
const cliTools = makeCliTools();
export { bridge, cliTools, messageSigner, resolver };
//# sourceMappingURL=setup.js.map