UNPKG

@yubing744/rooch-sdk

Version:
9 lines (8 loc) 293 B
import { Bytes } from '../types'; import { Keypair } from '../utils/crypto'; import { IAuthorization, IAuthorizer } from './interface'; export declare class PrivateKeyAuth implements IAuthorizer { private pk; constructor(pk: Keypair); auth(data: Bytes): Promise<IAuthorization>; }