Aller au contenu
Skillpedia
API et serveurs (backend)7.0k · #13621

chaingpt

Ce qu’il fait

Ce skill est une référence pour les développeurs qui construisent avec ChainGPT, une plateforme d'outils IA pour les applications blockchain. Il couvre les détails de l'API, les unités de tarification et les paquets SDK de chaque produit, pour les développeurs qui ajoutent un chat IA, des NFT, des contrats intelligents ou des actualités crypto.

Quand l’utiliser

  • ✓Quand vous voulez ajouter un chatbot IA Web3 à une application blockchain.
  • ✓Quand vous devez générer une image de NFT ou du code de contrat intelligent avec ChainGPT.
  • ✓Quand vous voulez auditer un contrat intelligent ou ajouter des actualités crypto grâce à l'API ChainGPT.

Lien du skill

https://github.com/internet-court/internet-court-skill/blob/main/vendored/chaingpt/chaingpt/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/internet-court/internet-court-skill/blob/main/vendored/chaingpt/chaingpt/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Je veux ajouter un auditeur de contrats intelligents ChainGPT à mon application.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent utilise les détails de référence de chaque produit, comme le point d'accès, le format des requêtes et le SDK correspondant. Il envoie les requêtes avec votre clé API dans un en-tête, et suit les conseils de la plateforme pour conserver la clé en sécurité.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

ChainGPT Developer Skill

You are an expert at building with the ChainGPT Web3 AI platform. When a developer asks you to integrate any ChainGPT product, you know the exact endpoints, SDK methods, parameters, pricing, and best practices.

Platform Overview

ChainGPT provides AI infrastructure for Web3 via APIs, SDKs, and whitelabel SaaS. All API products share:

Getting an API Key

  1. Visit https://app.chaingpt.org — connect a crypto wallet to sign up
  2. Navigate to API Keys → "Create New Secret Key"
  3. Store the key securely (env var or secret manager — shown only once)
  4. Ensure sufficient credits (crypto, $CGPT token, or credit card)
  5. 15% bonus when paying with $CGPT or via monthly auto-top-up

Products at a Glance

Product NPM Package Model ID / Endpoint Cost per Request
Web3 AI Chatbot & LLM @chaingpt/generalchat general_assistant via POST /chat/stream 0.5 credits (+0.5 w/ history)
AI NFT Generator @chaingpt/nft POST /nft/generate-image + 5 more 1-14.25 credits (model/upscale)
Smart Contract Generator @chaingpt/smartcontractgenerator smart_contract_generator via POST /chat/stream 1 credit (+1 w/ history)
Smart Contract Auditor @chaingpt/smartcontractauditor smart_contract_auditor via POST /chat/stream 1 credit (+1 w/ history)
AI Crypto News @chaingpt/ainews GET /news 1 credit per 10 records
AgenticOS Open-source (GitHub) Self-hosted 1 credit per generated tweet
Solidity LLM Open-source (HuggingFace) Local inference Free (self-hosted)

Python: pip install chaingpt (unified package for all products)

Quick Starts

1. Web3 AI Chatbot & LLM

The LLM is fine-tuned for crypto/blockchain with live on-chain data, Nansen Smart Money, token analytics, and 33+ chain support.

JavaScript:

import { GeneralChat } from '@chaingpt/generalchat';
const chat = new GeneralChat({ apiKey: process.env.CHAINGPT_API_KEY });

// Buffered response
const res = await chat.createChatBlob({
  question: 'What is the current ETH price and market sentiment?',
  chatHistory: 'off'
});
console.log(res.data.bot);

// Streaming response
const stream = await chat.createChatStream({
  question: 'Analyze the top DeFi protocols by TVL',
  chatHistory: 'on',
  sdkUniqueId: 'session-123'
});
stream.on('data', chunk => process.stdout.write(chunk.toString()));

Python:

from chaingpt.client import ChainGPTClient
from chaingpt.models import LLMChatRequestModel
from chaingpt.types import ChatHistoryMode

async with ChainGPTClient(api_key=API_KEY) as client:
    res = await client.llm.chat(LLMChatRequestModel(
        question="Explain yield farming strategies",
        chatHistory=ChatHistoryMode.OFF
    ))
    print(res.data.bot)

REST (single endpoint for all chat-based products):

curl -X POST "https://api.chaingpt.org/chat/stream" \
  -H "Authorization: Bearer $CHAINGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"general_assistant","question":"How do Ethereum smart contracts work?","chatHistory":"off"}'

For full parameter reference (context injection, custom tones, blockchain enums, chat history retrieval), read reference/llm-chatbot.md.

2. AI NFT Generator

Generate images from text prompts, mint as NFTs across 22+ chains. Four models: VeloGen (fast), NebulaForge XL (detailed), VisionaryForge (general), Dale3 (DALL-E 3).

JavaScript:

import { Nft } from '@chaingpt/nft';
const nft = new Nft({ apiKey: process.env.CHAINGPT_API_KEY });

// Generate image
const img = await nft.generateImage({
  prompt: 'A cyberpunk dragon guarding a blockchain vault',
  model: 'nebula_forge_xl', height: 1024, width: 1024, steps: 25, enhance: '1x'
});

// Generate + mint NFT
const gen = await nft.generateNft({
  prompt: 'Cosmic whale swimming through DeFi protocols',
  model: 'velogen', height: 512, width: 512, steps: 3,
  walletAddress: '0xYOUR_WALLET', chainId: 56, amount: 1
});
const mint = await nft.mintNft({
  collec
Questions fréquentes

Où obtenir une clé API ChainGPT ?

Depuis l'application ChainGPT, en créant une nouvelle clé secrète dans la section API. La clé n'est affichée qu'une seule fois.

Comment la consommation est-elle facturée ?

Les requêtes utilisent des crédits. Chaque crédit vaut un centime de dollar américain, et les crédits n'expirent jamais.

Y a-t-il une limite de requêtes ?

Oui. Le skill indique une limite de 200 requêtes par minute pour chaque clé.

Détails

Description originale de l’auteur

Build with the ChainGPT Web3 AI developer platform. Full API/SDK reference and project scaffolding for: Web3 AI Chatbot & LLM, AI NFT Generator, Smart Contract Generator, Smart Contract Auditor, AI Crypto News, AgenticOS Twitter agents, and Solidity LLM. Use when building blockchain apps, Web3 chatbots, NFT tools, smart contract tools, crypto news feeds, AI agents, or integrating any ChainGPT API. Triggers: chaingpt, web3 ai, nft generator, smart contract audit, crypto news api, agenticos, solidity llm, cgpt, blockchain ai, token analytics.

repo: internet-court/internet-court-skill

Popularité

Étoiles GitHub
7.0k
Position au classement
#13621
Licence
—
Mis à jour
26/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires