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 섹션에서 새 비밀 키를 만들면 됩니다. 키는 한 번만 표시됩니다.
사용량은 어떻게 요금이 부과되나요?
요청은 크레딧을 사용합니다. 크레딧 한 개는 미국 달러 1센트의 가치이며, 크레딧은 만료되지 않습니다.
요청 제한이 있나요?
네. 스킬은 키마다 분당 200건의 제한을 나열합니다.
상세 정보
작성자의 원본 설명
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에이전트가 GenLayer 검토 결과를 권한 시스템에 연결하도록 돕습니다. 나쁜 검토는 에이전트의 권한을 제한하거나 취소할 수 있습니다.
genlayer-intelligent-contracts
7.0k에이전트가 다른 에이전트가 위임받은 범위를 지켰는지 확인하는 AI 심판의 규칙, 증거, 결과를 정하도록 돕습니다.
x402-erc7710
7.0k에이전트가 웹 서비스 요금을 요청 한 건마다 결제하고, 권한 예산 안에서 지속적인 지출을 설정하도록 돕습니다.
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.