ethers.js/packages/hardware-wallets/src.ts/browser-ledger-transport.ts
2020-01-10 19:59:20 -05:00

13 lines
243 B
TypeScript

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