chaingpt
できること
このスキルは、ブロックチェーンアプリのためのAIツールのプラットフォームであるChainGPTで開発するための参考資料です。各プロダクトのAPIの詳細、料金の単位、SDKのパッケージを扱います。AIチャット、NFT、スマートコントラクト、暗号資産ニュースの機能を追加する開発者向けです。
使う場面
- ✓ブロックチェーンアプリに、Web3のAIチャットボットを追加したいとき。
- ✓ChainGPTで、NFTのアートやスマートコントラクトのコードを生成する必要があるとき。
- ✓ChainGPTのAPIを使って、スマートコントラクトを監査したり、暗号資産ニュースを追加したりしたいとき。
スキルのリンク
https://github.com/internet-court/internet-court-skill/blob/main/vendored/chaingpt/chaingpt/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のアプリに、ChainGPTのスマートコントラクト監査ツールを追加したいです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、各プロダクトの参考の詳細、たとえばエンドポイント、リクエストの形式、対応するSDKを使います。APIキーをヘッダーに入れてリクエストを送り、プラットフォームの「キーを安全に保存する」という助言に従います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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:
- Base URL:
https://api.chaingpt.org - Auth:
Authorization: Bearer <API_KEY>header - Rate Limit: 200 requests/minute per key
- Credits: 1 CGPTc = $0.01 USD (never expire). Purchase at https://app.chaingpt.org/addcredits
- API Dashboard: https://app.chaingpt.org/apidashboard
- SDKs: JavaScript/TypeScript (Node.js) + Python for all products
Getting an API Key
- Visit https://app.chaingpt.org — connect a crypto wallet to sign up
- Navigate to API Keys → "Create New Secret Key"
- Store the key securely (env var or secret manager — shown only once)
- Ensure sufficient credits (crypto, $CGPT token, or credit card)
- 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
よくある質問
ChainGPTのAPIキーはどこで取得しますか?
ChainGPTのアプリのAPIのセクションで、新しいシークレットキーを作成して取得します。キーは一度だけ表示されます。
利用料金はどのように請求されますか?
リクエストはクレジットを使います。各クレジットは米ドルで一セントに相当し、クレジットの有効期限はありません。
リクエストの上限はありますか?
はい。このスキルは、キーごとに毎分二百リクエストという上限を挙げています。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 7.0k
- ランキング
- #13621
- ライセンス
- —
- 更新日
- 2026/10/26
コメント
- …
このリポジトリの他のスキル
internet-court
7.0kエージェントが、他のAIエージェントや有料サービスと安全に支払い、雇用、取引できるよう支援し、適切な専門ガイドを案内します。
genlayer-erc7710-connector
7.0kエージェントが、AIによるレビューの結果を権限の仕組みにつなぎ、悪いレビューがエージェントの権限を制限または取り消せるよう支援します。
genlayer-intelligent-contracts
7.0kエージェントが、別のエージェントが委任された範囲を守ったかを判定するAIの審査役について、ルール、証拠、出力を定義できるよう支援します。
x402-erc7710
7.0kエージェントが、リクエストごとにウェブサービスの支払いを行い、許可された予算の範囲内で継続的な支出を設定できるよう支援します。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。