Virtuals G.A.M.E NodeJS Implementation
Last updated
Last updated
The Eval Engine Plugin is a TypeScript/JavaScript SDK for integrating Twitter functionalities with content evaluation capabilities. It's built on top of the Virtuals Protocol game framework and uses the Eval SDK for content evaluation.
0.1.0 https://github.com/game-by-virtuals/game-node/pull/19
Features
All evaluation results of reply tweets are logged in EvalEngine
The evaluation results are then piped into the reply tweet function to determine whether to post the tweet or not
Setup Chromia Private Key: Guide
To install the plugin, use npm or yarn:
or
The main class that handles Twitter integration with content evaluation. It provides several key capabilities:
Tweet posting and interaction
Content evaluation before posting
Score-based filtering
Twitter metrics tracking
Content Evaluation
Uses
EvaClient
for evaluating tweet content
Implements threshold scoring system
Validates content before posting
Twitter Functions
Search tweets
Post tweets
Reply to tweets
Like tweets
Quote tweets
The plugin accepts the following configuration options:
The plugin implements comprehensive error handling through
ExecutableGameFunctionResponse
with appropriate status codes and error messages.
@virtuals-protocol/game
eval-engine-sdk
twitter-api-v2
MIT License