Skip to content

gitphantomman/validator_db_endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Validator Indexing Database Endpoint

Overview

This endpoint facilitates the connection between validators and the indexing database of the scraping subnet. Validators can interact with this endpoint to add metadata about their uploaded data to the Wasabi S3.

An additional feature of this endpoint is the generation of API keys for access.

Environment Setup

To install the necessary environment, run the following command:

python -m pip install -r requirements.txt

Next, create a .env file using the provided .env.example as a template.

Running the Application

To start the application, execute the following command in your terminal:

uvicorn main:app --host 0.0.0.0 --port 8000 --reload

API Key Generation

To generate an API key, run the following command in your terminal:

python api_key.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages