Open Source Docs
  • Welcome
  • Getting Started
    • How to Join
  • Plugins
    • Filament API Service
    • Filament Announce
    • Filament Swiper
  • Project
    • Remote Database Backup
    • Code Deploy
      • Pre-requisite
      • Installation
      • How to use it?
        • Create a server
        • Adding site
        • Add discord notification
  • Blockchain
    • Testnet
      • Chasm Network
      • Empeiria
        • Requirements
        • Installation
Powered by GitBook
On this page
  • Prerequisites
  • API Keys
  • Server Specifications
  • Suggested Requirements:
  • Obtaining your SCOUT_UID and WEBHOOK_API_KEY
  • Software Requirements
  • Troubleshooting

Was this helpful?

Edit on GitHub
Export as PDF
  1. Blockchain
  2. Testnet

Chasm Network

PreviousTestnetNextEmpeiria

Last updated 9 months ago

Was this helpful?

Inference Scout is a tool that runs inference tasks given by Chasm's Orchestrator. It allows you to leverage powerful language models and contribute to Chasm Network.

Prerequisites

API Keys

  • Obtain a Groq API key from the

  • (Optional) Obtain an Openrouter API key from Openrouter

  • Obtain SCOUT_UID and WEBHOOK_API_KEY from the Chasm Website

Server Specifications

  • 1 vCPU

  • 1GB RAM

  • 20GB Disk

  • Static IP

Suggested Requirements:

  • 2 vCPU

  • 4GB RAM

  • 50GB SSD

  • Static IP

Obtaining your SCOUT_UID and WEBHOOK_API_KEY

  • Click _mint(scout)

  • Log in to the website and retrieve your webhook API key and UID as the first step.

Software Requirements

  1. Set up the environment file: Use nano .env or vim .env to create a file with the following content:

PORT=3001
LOGGER_LEVEL=debug

# Chasm
ORCHESTRATOR_URL=https://orchestrator.chasm.net
SCOUT_NAME=
SCOUT_UID=
WEBHOOK_API_KEY=
# Scout Webhook Url, update based on your server's IP and Port
# e.g. http://123.123.123.123:3001/
WEBHOOK_URL=

# Chosen Provider (groq, openai)
PROVIDERS=groq
MODEL=gemma2-9b-it
GROQ_API_KEY=

# Optional
OPENROUTER_API_KEY=
OPENAI_API_KEY=

💡Do not use single quotes (') or double quotes (") in your .env file, as Docker has issues with them.

Setup Guide

  1. Get Required Credentials from Chasm

  2. Prepare the .env File (as shown above)

Monitor Scout Performance:Copy

docker stats scout

Restart Docker Container (if needed):Copy

docker stop scout
docker rm scout
docker run -d --restart=always --env-file ./.env -p 3001:3001 --name scout johnsonchasm/chasm-scout

Test LLM Functionality:Copy

source ./.env
curl -X POST \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer $WEBHOOK_API_KEY" \
     -d '{"body":"{\"model\":\"gemma2-9b-it\",\"messages\":[{\"role\":\"system\",\"content\":\"You are a helpful assistant.\"}]}"}' \
     $WEBHOOK_URL

Test Server Response:Copy

curl localhost:3001

Expected response: OK

Verify Server Status:Copy

docker logs scout

Run the Docker Container:Copy

docker run -d --restart=always --env-file ./.env -p 3001:3001 --name scout chasmtech/chasm-scout

Pull the Docker Image:Copy

docker pull chasmtech/chasm-scout:latest

Troubleshooting

Environment Variables

Double-check that all required environment variables are correctly set in the .env file.

Additional Resources

This guide should help you set up and run the Chasm Scout server effectively. For more detailed instructions and troubleshooting, refer to the original repository and additional resources provided.

Go to

Install Docker: Follow the

Verify Scout Ranking: Check your scout ranking at the . Note: The node status may take up to an hour to update.

Optimization Guide: Follow the for performance improvements.

Update Guide: Follow the for updating your scout.

Groq Console
https://scout.chasm.net/private-mint
Docker Installation Guide
Leaderboard
optimization guide
update guide