ethers.js/packages/hardware-wallets/src.ts/ledger-transport.ts
2020-01-10 02:50:09 -05:00

13 lines
248 B
TypeScript

"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
};