Skip to content

mfactory-lab/svt-agent

Repository files navigation

SVT Agent (Solana Validator Toolkit Agent)

SVT Agent is an application designed for secure communication between the user and the server via the Solana blockchain.

The user can execute predefined commands by signing them with their wallet, and the commands are stored on the blockchain in encrypted form. Once the user executes a command, the agent immediately receives it and begins execution. If a command fails, the user has the option to handle it manually. Additionally, a secure link provides access to the execution log of each command, with all logs being stored on the server.

Getting Started

Before installing the agent, you should know your channel ID (CID).

By default, the cluster is set to devnet, but you can change it using the CLUSTER=devnet variable.

Here's an example command:

wget -qO- https://mfactory-lab.github.io/svt-agent/install.sh | CLUSTER=mainnet CID=3Pb2CPq8pjUECdMDhsSnXBM59c7KWazrR8m7W9tCEECB bash

Configuration

Available environment variables

AGENT_KEYPAIR = "/app/keypair.json"
AGENT_CLUSTER = "devnet"
AGENT_CHANNEL_ID = "..."
AGENT_MESSENGER_PROGRAM = "CgRaMXqqRHNT3Zo2uVZfX72TuxUgcLb8E3A8KrXnbXAC"
AGENT_MONITOR_PORT = "8888"
AGENT_NOTIFY_WEBHOOK_URL = "https://..."
AGENT_NOTIFY_INFLUX = "true"
AGENT_NOTIFY_INFLUX_URL = "https://..."
AGENT_NOTIFY_INFLUX_DB = "svt-agent"
AGENT_NOTIFY_INFLUX_USER = ""
AGENT_NOTIFY_INFLUX_PASSWORD = ""

Features

  • Secure validator management
  • Encrypted communication
  • On-chain task history
  • Influx notification support
  • Webhook support
  • Real-time log tracing

License

GNU AGPL v3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •