/install 4claw-mint
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
- Agent calls the signer service with its wallet address
- Service checks cooldown, generates nonce + deadline, signs the mint authorization
- Agent submits the signature to the on-chain contract
- Contract verifies signature, enforces cooldown, mints 100 tokens
Mint
Run the mint script with the agent's wallet private key:
node scripts/mint.js \x3CPRIVATE_KEY> \x3CSERVER_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 mintedmintRemaining()— How many public mint tokens are leftsetSigner(address)— Owner can update the signer address
Setup for Deployer
- Deploy
FourClaw.solto BSC with constructor args:(signerAddress, lpWalletAddress) - Set env vars and start the signer service
- 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)
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install 4claw-mint - 安装完成后,直接呼叫该 Skill 的名称或使用
/4claw-mint触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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 s... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 479 次。
如何安装 4Claw Mint?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install 4claw-mint」即可一键安装,无需额外配置。
4Claw Mint 是免费的吗?
是的,4Claw Mint 完全免费(开源免费),可自由下载、安装和使用。
4Claw Mint 支持哪些平台?
4Claw Mint 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 4Claw Mint?
由 Xiaoyu(@xiaoyu022025)开发并维护,当前版本 v1.0.0。