Documentation
¶
Overview ¶
Package neorequests provides on-chain service request dispatch.
Index ¶
Constants ¶
View Source
const ( ServiceID = "neorequests" ServiceName = "NeoRequests Service" Version = "1.0.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Marble *marble.Marble
DB database.RepositoryInterface
RequestsRepo neorequestsupabase.RepositoryInterface
EventListener *chain.EventListener
TxProxy txproxytypes.Invoker
ChainClient *chain.Client
ServiceGatewayAddress string
AppRegistryAddress string
PaymentHubAddress string
NeoVRFURL string
NeoOracleURL string
NeoComputeURL string
ScriptsBaseURL string // Base URL for loading TEE scripts (e.g., https://cdn.miniapps.neo.org)
HTTPClient *http.Client
ChainID string
MaxResultBytes int
MaxErrorLen int
RNGResultMode string
TxWait bool
EnforceAppRegistry bool
RequireManifestContract bool
AppRegistryCacheSeconds int
StatsRollupInterval time.Duration
OnchainUsage bool
OnchainTxUsage bool
RequestIndexTTL time.Duration
}
Config holds NeoRequests service configuration.
type Service ¶
type Service struct {
*commonservice.BaseService
// contains filtered or unexported fields
}
Service implements the NeoRequests service.
Click to show internal directories.
Click to hide internal directories.