ethers.js/packages/hardware-wallets/src.ts/ledger-transport.ts

13 lines
248 B
TypeScript
Raw Normal View History

"use strict";
import hid from "@ledgerhq/hw-transport-node-hid";
export type TransportCreator = {
create: () => Promise<Transport>;
};
export const transports: { [ name: string ]: TransportCreator } = {
"hid": hid,
"default": hid
};