UNPKG

@airgap/etherlink

Version:

The @airgap/etherlink package is an implementation of the ICoinProtocol interface from @airgap/coinlib-core.

8 lines (7 loc) 302 B
import { SubProtocolType } from '../../../types/sub-protocol'; import { _AnyProtocol } from '../../protocol'; export declare type SubProtocolExtension<_T extends _AnyProtocol> = SubProtocol; export interface SubProtocol { getType(): Promise<SubProtocolType>; mainProtocol(): Promise<string>; }