JS API Reference

Module: golem-network/golem-network

Table of contents

Classes

Interfaces

Type Aliases

Type Aliases

InstanceOrFactory

Ƭ InstanceOrFactory<TargetInterface, ConstructorArgs>: TargetInterface | (...args: ConstructorArgs) => TargetInterface

Instance of an object or a factory function that you can call new on. Optionally you can provide constructor arguments.

Type parameters

NameType
TargetInterfaceTargetInterface
ConstructorArgsextends unknown[] = never[]

Defined in

src/golem-network/golem-network.ts:48


GolemServices

Ƭ GolemServices: Object

Dependency Container

Type declaration

NameType
yagnaYagnaApi
loggerLogger
paymentApiIPaymentApi
activityApiIActivityApi
marketApiIMarketApi
networkApiINetworkApi
proposalCacheCacheService<OfferProposal>
proposalRepositoryIProposalRepository
demandRepositoryIDemandRepository
fileServerIFileServer
storageProviderStorageProvider

Defined in

src/golem-network/golem-network.ts:177