UNPKG

@coolwallet/ltc

Version:
18 lines (17 loc) 882 B
/// <reference types="node" /> import { coin as COIN } from '@coolwallet/core'; import * as types from './config/types'; export default class LTC extends COIN.ECDSACoin implements COIN.Coin { ScriptType: any; addressToOutScript: Function; constructor(); getAddress(transport: types.Transport, appPrivateKey: string, appId: string, scriptType: types.ScriptType, addressIndex: number): Promise<string>; getAddressAndOutScript(transport: types.Transport, appPrivateKey: string, appId: string, scriptType: types.ScriptType, addressIndex: number): Promise<{ address: string; }>; getAddressAndOutScriptByAccountKey(accPublicKey: string, accChainCode: string, addressIndex: number, scriptType: types.ScriptType): Promise<{ address: string; outScript: Buffer; }>; signTransaction(signTxData: types.signTxType): Promise<string>; }