本文へ移動
cccskills
無料GitHub で公開

4claw-mint

Mint 4Claw tokens on BSC through OpenClaw agents. Each agent can mint 100 tokens every 15 minutes. Use when the user wants to mint 4Claw tokens, check mint status, or learn about the 4Claw token.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md2.6 KB
  • scripts/mint.js3.7 KB
  • scripts/server.js3.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

4Claw Mint

Mint 4Claw (symbol: 4) tokens on BSC. Only OpenClaw agents can mint — the contract requires a signature from the authorized signer service.

Token Info

  • Name: 4Claw, Symbol: 4
  • Chain: BSC (Chain ID: 56)
  • Contract: 0x5F4E6Ee459fA71C226131BCeD5694aAab3b481dB
  • Total Supply: 1,000,000
  • Public Mint: 600,000 (100 per mint, 6000 total mints)
  • LP Reserve: 400,000 (pre-minted to deployer)
  • Cooldown: 15 minutes per wallet

How It Works

  1. Agent calls the signer service with its wallet address
  2. Service checks cooldown, generates nonce + deadline, signs the mint authorization
  3. Agent submits the signature to the on-chain contract
  4. Contract verifies signature, enforces cooldown, mints 100 tokens

Mint

Run the mint script with the agent's wallet private key:

node scripts/mint.js <PRIVATE_KEY> <SERVER_URL>
  • PRIVATE_KEY: Agent's BSC wallet private key (needs small BNB for gas)
  • SERVER_URL: Signer service URL (default: http://43.160.201.224:3456)

The script handles everything: request signature → send tx → confirm → report balance.

Signer Service

The signer service must be running for mints to work. It validates requests and signs mint authorizations.

SIGNER_PRIVATE_KEY=0x... CONTRACT_ADDRESS=0x... node scripts/server.js

Endpoints:

  • POST /api/mint-signature — Request a mint signature. Body: {"wallet_address": "0x..."}
  • GET /api/status — Check service status

Contract

Source: references/FourClaw.sol

Key functions:

  • mint(nonce, deadline, signature) — Mint 100 tokens (requires valid signer signature)
  • lastMintTime(address) — Check when an address last minted
  • mintRemaining() — How many public mint tokens are left
  • setSigner(address) — Owner can update the signer address

Setup for Deployer

  1. Deploy FourClaw.sol to BSC with constructor args: (signerAddress, lpWalletAddress)
  2. Set env vars and start the signer service
  3. Share the skill — any OpenClaw agent with a BSC wallet can mint

Error Handling

  • Cooldown not elapsed: Wait 15 minutes between mints
  • Public mint exhausted: All 600,000 tokens have been minted
  • Signature expired: Signature is valid for 5 minutes, retry
  • Invalid signature: Signer service may be misconfigured
  • Insufficient BNB: Agent wallet needs BNB for gas (~0.001 BNB per mint)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

name: 4d-compression-core version: 1.0.2 description: "把长内容压缩成结构化向量——节省 60-80% Token,保留核心信息" metadata: { "openclaw": { "emoji": "🌀", "requires": { "bins": ["jq", "awk"] }, "triggers": ["压缩", "4d",...

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

Use cheap, TEE-verified AI models from the 0G Compute Network as OpenClaw providers. Discover available models and compare pricing vs OpenRouter, verify provider integrity via hardware attestation (Intel TDX), manage your 0G wallet and sub-accounts, and configure models in OpenClaw with one workflow. Supports DeepSeek, GLM-5, Qwen, and other models available on the 0G marketplace.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

0xarchive

無料

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

0xwork

無料

Find and complete paid tasks on the 0xWork decentralized marketplace (Base chain, USDC escrow). Use when: the agent wants to earn money/USDC by doing work, discover available tasks, claim a bounty, submit deliverables, check earnings or wallet balance, or set up as a 0xWork worker. Task categories: Writing, Research, Social, Creative, Code, Data. NOT for: posting tasks (use the website), managing the 0xWork platform, or frontend development.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

Patterns and practices that dramatically accelerate development velocity. Covers parallel execution, automation, feedback loops, workflow optimization, and anti-pattern avoidance. Use when starting projects, planning sprints, optimizing workflows, or onboarding developers.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

modbender のスキルをすべて見る

このスキルの問題を報告する