mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-14 02:45:51 +00:00
18 lines
410 B
TypeScript
18 lines
410 B
TypeScript
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { TransportDef } from './types';
|
|
|
|
import Transport from '@ledgerhq/hw-transport';
|
|
import LedgerHid from '@ledgerhq/hw-transport-node-hid';
|
|
|
|
const transports: TransportDef[] = [
|
|
{
|
|
create: (): Promise<Transport> =>
|
|
LedgerHid.create(),
|
|
type: 'hid'
|
|
}
|
|
];
|
|
|
|
export default transports;
|