UNPKG

@paradeum/burrow

Version:

TypeScript library that calls a Hyperledger Burrow server over GRPC.

22 lines (21 loc) 715 B
import { Events } from './events'; import { Pipe } from './pipe'; import { ContractManager } from './contracts/manager'; import { Namereg } from './namereg'; import { TransactClient } from '../../proto/rpctransact_grpc_pb'; import { QueryClient } from '../../proto/rpcquery_grpc_pb'; import { ExecutionEventsClient } from '../../proto/rpcevents_grpc_pb'; import * as grpc from 'grpc'; export declare type Error = grpc.ServiceError; export declare class Burrow { URL: string; account: string; events: Events; pipe: Pipe; contracts: ContractManager; namereg: Namereg; ec: ExecutionEventsClient; tc: TransactClient; qc: QueryClient; constructor(URL: string, account: string); }