Skip to content

feat: add Solana token analysis example using OpenGradient LLM inference#1

Open
Vt01nft wants to merge 1 commit intoOpenGradient:mainfrom
Vt01nft:feature/solana-token-analysis
Open

feat: add Solana token analysis example using OpenGradient LLM inference#1
Vt01nft wants to merge 1 commit intoOpenGradient:mainfrom
Vt01nft:feature/solana-token-analysis

Conversation

@Vt01nft
Copy link

@Vt01nft Vt01nft commented Feb 23, 2026

Summary

Adds a Solana token analysis example using OpenGradient's verifiable LLM inference.

What this example does

  • Fetches live Solana token data from DexScreener (price, volume, liquidity, buy/sell txns)
  • Sends data to an LLM running on OpenGradient's decentralized network
  • Returns a risk assessment with an onchain TX hash as cryptographic proof of execution

Files added

  • examples/solana_token_analysis/main.py - core logic
  • examples/solana_token_analysis/requirements.txt - dependencies
  • examples/solana_token_analysis/README.md - setup and usage guide

How to run

cd examples/solana_token_analysis
pip install -r requirements.txt
export OG_PRIVATE_KEY="0x..."
python main.py

Tested on

  • Python 3.12
  • opengradient v0.7.4
  • Ubuntu 24.04 (WSL2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant