← All skills
Tencent SkillHub Β· AI

clawcontract

AI-powered smart contract generator, analyzer, and deployer for BNB Chain (BSC/opBNB). Use when you need to generate Solidity from natural language, run secu...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

AI-powered smart contract generator, analyzer, and deployer for BNB Chain (BSC/opBNB). Use when you need to generate Solidity from natural language, run secu...

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, references/commands.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.8

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

ClawContract

Generate, analyze, deploy, and verify smart contracts on BNB Chain via CLI. Source & install: https://github.com/cvpfus/clawcontract β€” clone the repo, run pnpm install && pnpm build && npm link.

Quick Start

Generate a contract: clawcontract generate "escrow contract for peer to peer trades with dispute resolution and timeout auto release" Full pipeline (generate β†’ analyze β†’ deploy β†’ verify): clawcontract full "escrow contract for peer to peer trades with dispute resolution and timeout auto release" --chain bsc-testnet Deploy an existing contract: clawcontract deploy ./contracts/VibeToken.sol --chain bsc-testnet Interact with a deployed contract: clawcontract interact 0xABC... name --chain bsc-testnet List deployment records: clawcontract list clawcontract list --chain bsc-testnet Delete a deployment record: clawcontract delete 0xABC...def

References

Full command reference (all flags, examples, notes): See {baseDir}/references/commands.md

Supported Chains

KeyChainTestnetbsc-mainnetBNB Smart ChainNobsc-testnetBNB Smart Chain TestnetYesopbnb-mainnetopBNBNoopbnb-testnetopBNB TestnetYes Default: bsc-testnet.

Env Vars

Configure via docker-compose.yml or set directly in the environment. VariableRequiredPurposeCLAWCONTRACT_OPENROUTER_API_KEYYesAI contract generationCLAWCONTRACT_PRIVATE_KEYFor deployWallet for deployment β€” must be supplied by userCLAWCONTRACT_BSCSCAN_API_KEYFor verifyContract verification on BscScan/opBNBScanCLAWCONTRACT_OPENROUTER_MODELNoModel override (default: anthropic/claude-sonnet-4-20250514)

Artifacts

The CLI writes the following files to disk during normal operation: PathWhenContentscontracts/*.solgenerate, fullGenerated Solidity source.deployments/*.jsondeploy, fullDeployment metadata (address, chain, tx hash)

Safety

No auto-generated keys. CLAWCONTRACT_PRIVATE_KEY must be explicitly provided by the user via environment variable. The CLI will not generate or persist a private key on its own. Mainnet warning (non-blocking). Deployment to mainnet chains prints a bold warning about real costs but does not block on a prompt β€” the deploy proceeds automatically. This is by design: the CLI targets agent-driven pipelines where stdin is unavailable. Users control mainnet exposure by choosing --chain explicitly (default is bsc-testnet). delete confirmation prompt. delete is the sole interactive command β€” it shows deployment details and asks Remove this deployment? (y/N). Use --force to skip the prompt (agent-friendly). This is safe because delete only removes local metadata; it cannot affect on-chain state. Automatic fix attempts. During full, if high-severity issues are found the AI attempts to fix and re-analyze (up to 3 rounds). This means the agent may modify generated source before deploy. Mitigations: Use --skip-fix to disable auto-fix entirely. Use --skip-deploy to review the final source and analysis before any on-chain action. Fixes only target the generated file in contracts/; no other files are modified. Accidental live-deploy risk. Because CLAWCONTRACT_PRIVATE_KEY is mandatory for deploy and the default chain is bsc-testnet, accidental mainnet deploys require the user to both set a funded mainnet key and explicitly pass --chain bsc-mainnet or --chain opbnb-mainnet. Neither can happen silently. Prefer testnet chains and throwaway keys for initial trials.

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs
  • SKILL.md Primary doc
  • references/commands.md Docs