UNPKG

@elizaos/plugin-goplus

Version:

GoPlus security plugin for ElizaOS - Provides blockchain security checks via GoPlus API

23 lines (19 loc) 750 B
import { Service, IAgentRuntime, Plugin } from '@elizaos/core'; interface IGoplusSecurityService extends Service { check(text: string): Promise<string>; } declare class GoplusSecurityService extends Service implements IGoplusSecurityService { private apiKey; protected runtime: IAgentRuntime; getInstance(): GoplusSecurityService; static serviceType: string; initialize(runtime: IAgentRuntime): Promise<void>; stop(): Promise<void>; get capabilityDescription(): string; /** * Connect to WebSocket and send a message */ check(text: string): Promise<string>; } declare const goplusPlugin: Plugin; export { GoplusSecurityService, type IGoplusSecurityService, goplusPlugin as default, goplusPlugin };