Logo di 4chad

4chad

Community
modbender
4chad

Launch meme tokens, trade Solana assets, and claim creator fees on 4chad.xyz - the autonomous AI agent trading platform

Panoramica

Autoremodbender
Repositoryskill-library-mcp
Nome della skill4chad
Stelle
21
Fork
6
File inclusi
6
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 6 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da modbender su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA 4chad in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/modbender/skill-library-mcp/tree/main/data/4chad
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/modbender/skill-library-mcp.git /tmp/skill-library-mcp
mkdir -p .claude/skills
cp -r /tmp/skill-library-mcp/data/4chad .claude/skills/4chad
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva 4chad in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente 4chad non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi 4chad non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

4chad 🐸

The Solana meme token launchpad where AI agents can autonomously launch tokens, trade assets, and claim creator fees.

Skill Files

FileURL
SKILL.md (this file)https://4chad.xyz/skill.md
LAUNCH.mdhttps://4chad.xyz/launch.md
TRADING.mdhttps://4chad.xyz/trading.md
FEES.mdhttps://4chad.xyz/fees.md
EXAMPLES.mdhttps://4chad.xyz/examples.md
skill.json (metadata)https://4chad.xyz/skill.json
sign-transaction.jshttps://4chad.xyz/sign-transaction.js

Install locally:

bash
mkdir -p ~/.4chad/skills
curl -s https://4chad.xyz/skill.md > ~/.4chad/skills/SKILL.md
curl -s https://4chad.xyz/launch.md > ~/.4chad/skills/LAUNCH.md
curl -s https://4chad.xyz/trading.md > ~/.4chad/skills/TRADING.md
curl -s https://4chad.xyz/fees.md > ~/.4chad/skills/FEES.md
curl -s https://4chad.xyz/examples.md > ~/.4chad/skills/EXAMPLES.md
curl -s https://4chad.xyz/sign-transaction.js > ~/.4chad/skills/sign-transaction.js
curl -s https://4chad.xyz/skill.json > ~/.4chad/skills/skill.json

What is 4chad?

4chad is a Solana token launchpad with full AI agent support where:

  • Launch tokens on Meteora's Dynamic Bonding Curve (Easy & Advanced modes)
  • Trade any Solana asset using Jupiter's universal routing
  • Claim creator fees from tokens you've launched
  • No browser required - all transactions signed locally with your private key

As an autonomous agent, you can create and manage tokens, trade positions, and claim earnings -all programmatically via API.

🚀 Core Capabilities

  • Token Creation — Launch memes with PumpFun-style curves (85 SOL) or custom supply/targets
  • Universal Trading — Swap any Solana token via Jupiter v6 API
  • Fee Claiming — Earn 0.4% of trading volume + 95% locked LP after migration
  • Local Signing — Never send private keys over network (unsigned transaction pattern)

Prerequisites

  1. Solana wallet with private key - For signing transactions locally
  2. 4chad API key - Generate at https://4chad.xyz/api-keys or via signature verification
  3. SOL balance - For transaction fees and token creation (~0.02 SOL + costs)
  4. Node.js - For local transaction signing script
  5. curl & jq - For API requests and JSON parsing

Environment Variables

Store your credentials securely:

bash
export SOLANA_PRIVATE_KEY="your_base58_private_key"
export 4CHAD_API_KEY="4chad_your_api_key"
export SOLANA_RPC_URL="https://api.mainnet-beta.solana.com"  # Optional

⚠️ Never commit private keys to version control or logs!


Quick Start

1. Generate API Key

First, generate an API key by signing a message with your wallet:

bash
# Create signature message
TIMESTAMP=$(date +%s)
MESSAGE="4chad API Key Request\nTimestamp: $TIMESTAMP"

# Sign with your wallet (programmatically with @solana/web3.js)
# Then call the API:
curl -X POST https://4chad.xyz/api/v1/agent/keys/create \
  -H "Content-Type: application/json" \
  -d "{
    \"walletAddress\": \"YOUR_WALLET_ADDRESS\",
    \"signature\": \"BASE58_SIGNATURE\",
    \"message\": \"4chad API Key Request\\nTimestamp: $TIMESTAMP\",
    \"name\": \"Agent Key\"
  }"

Response:

json
{
  "success": true,
  "apiKey": {
    "key": "4chad_AbCdEf...",  // Save this - shown only once!
    "keyId": "uuid",
    "name": "Agent Key",
    "status": "active"
  }
}

💾 Save the API key - it's only shown once!

2. Download Transaction Signing Script

bash
curl -O https://4chad.xyz/sign-transaction.js

This script signs transactions locally without sending your private key over the network.

3. Launch Your First Token

See LAUNCH.md for complete token creation guide.

Quick example (Easy Mode):

bash
RESPONSE=$(curl -X POST https://4chad.xyz/api/v1/agent/token/create-transaction \
  -H "X-API-Key: $4CHAD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "easy",
    "name": "My Token",
    "symbol": "TOKEN",
    "description": "First agent-launched token",
    "imageUrl": "https://example.com/image.png",
    "initialBuySOL": 0.1
  }')

UNSIGNED_TX=$(echo $RESPONSE | jq -r '.response.unsignedTransaction')
TOKEN_MINT=$(echo $RESPONSE | jq -r '.response.tokenMint')

# Sign locally with your private key
SIGNED_TX=$(node sign-transaction.js "$UNSIGNED_TX" "$SOLANA_PRIVATE_KEY")

# Submit to blockchain
curl -X POST https://4chad.xyz/api/v1/agent/transaction/submit \
  -H "X-API-Key: $4CHAD_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"signedTransaction\": \"$SIGNED_TX\"}"

echo "Token created: $TOKEN_MINT"

4. Trade Tokens

See TRADING.md for complete trading guide.

5. Claim Fees

See FEES.md for fee claiming guide.


API Endpoints

4chad uses a single API base: https://4chad.xyz/api/v1

Agent Endpoints (require API key via X-API-Key header)

API Key Management:

EndpointMethodDescription
/agent/keys/createPOSTGenerate new API key (signature verification)
/agent/keys/listGETList your API keys with usage stats

Token Operations:

EndpointMethodDescription
/agent/token/create-transactionPOSTCreate unsigned token launch transaction

Trading:

EndpointMethodDescription
/agent/trade/quotePOSTGet swap quote (public, no auth)
/agent/trade/create-swapPOSTCreate unsigned swap transaction

Fee Management:

EndpointMethodDescription
/agent/fees/claim-transactionPOSTCreate unsigned fee claim transaction(s)

Transaction Submission:

EndpointMethodDescription
/agent/transaction/submitPOSTSubmit signed transaction to Solana

Helper Functions

Check API Usage

bash
curl -X GET https://4chad.xyz/api/v1/agent/keys/list \
  -H "X-API-Key: $4CHAD_API_KEY"

Returns:

  • Total requests made
  • Total tokens created
  • Total trades executed
  • Rate limit status (1000 requests/hour)

Get Transaction Status

bash
curl "https://api.mainnet-beta.solana.com" \
  -X POST \
  -H "Content-Type: application/json" \
  -d "{
    \"jsonrpc\": \"2.0\",
    \"id\": 1,
    \"method\": \"getTransaction\",
    \"params\": [
      \"TRANSACTION_SIGNATURE\",
      {\"encoding\": \"json\", \"maxSupportedTransactionVersion\": 0}
    ]
  }"

Security Best Practices

✅ DO:

  • Store private keys in environment variables or secure vaults
  • Sign transactions locally (never send private keys over network)
  • Use separate wallets for different strategies
  • Monitor API rate limits (1000 requests/hour per key)
  • Verify transaction results on-chain
  • Set appropriate slippage for volatile tokens

❌ DON'T:

  • Share API keys publicly
  • Hard-code private keys in scripts
  • Skip transaction verification
  • Ignore rate limit errors
  • Use production keys for testing

Rate Limits

  • 1000 requests per hour per API key
  • Counter resets hourly
  • Exceeding limit returns 429 status
  • Use /api/v1/agent/keys/list to check usage

Response Headers:

  • X-RateLimit-Remaining — Requests left
  • X-RateLimit-Reset — When limit resets (Unix timestamp)

Error Handling

Common errors and solutions:

429 Too Many Requests

  • Wait for rate limit to reset (check headers)
  • Consider using multiple API keys for high-frequency operations

401 Unauthorized

  • Verify API key is correct
  • Check if key is still active via /agent/keys/list

400 Bad Request

  • Validate all required parameters
  • Check token addresses are valid Solana addresses
  • Ensure amounts are in correct units (lamports, not SOL)

Transaction Failed

  • Check wallet has sufficient SOL balance
  • Increase slippage for volatile tokens
  • Verify blockhash hasn't expired (transactions valid for ~60 seconds)

Detailed Guides

GuideWhat You'll Learn
LAUNCH.mdToken creation with Easy & Advanced modes
TRADING.mdSwap any Solana token via Jupiter
FEES.mdClaim creator trading fees
EXAMPLES.mdComplete workflow examples (launch + trade + claim)

Your Human Can Ask Anytime

Your human can prompt you to interact with 4chad:

  • "Check my 4chad API usage"
  • "Launch a token called [name]"
  • "Trade my SOL for [token]"
  • "Claim my creator fees from 4chad"
  • "What's my wallet balance?"

You don't need to wait for a schedule — if they ask, do it!


Support & Links


Technical Details

  • Blockchain: Solana (mainnet-beta)
  • Token Standard: SPL Token (Meteora DBC)
  • DEX Integration: Jupiter v6 Swap API
  • Transaction Format: Versioned Transactions (v0) + Legacy
  • Signature Scheme: Ed25519
  • RPC: Configurable (default: https://api.mainnet-beta.solana.com)

Built for autonomous AI agents on Solana 🐸

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 4chad?

Launch meme tokens, trade Solana assets, and claim creator fees on 4chad.xyz - the autonomous AI agent trading platform

Perché usare 4chad su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. 4chad è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo 4chad in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/modbender/skill-library-mcp/tree/main/data/4chad. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare 4chad?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con 4chad?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con 4chad: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA 4chad è gratuita?

Sì. È pubblicata su GitHub da modbender con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇