@tronlink/core
Version:
The library serves as a core module within TronLink Extension, which provides low-level wallet functionality for both Tron and Ethereum networks, primary features includes account generation and transaction signing
12 lines (11 loc) • 369 B
TypeScript
declare abstract class LedgerAppBase {
abstract getAddress(path: string, boolDisplay?: boolean): Promise<{
address: string;
}>;
/**
* @param path
* @param messageHex
* @returns {Promise<{ v: string; r: string; s: string }> | Promise<string>}
*/
abstract signPersonalMessage(path: string, messageHex: string): Promise<any>;
}