@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
11 lines (9 loc) • 335 B
text/typescript
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>;
}