Mantle smart contract deployer

From Starchild-ai-agent/official-skills · View interactive version

Mantle smart contract deployer is an AI agent skill from the GitHub repository Starchild-ai-agent/official-skills. Use when a finalized Mantle contract build needs deployment-readiness checks, external signer handoff, receipt capture, or explorer verification.

How to use this skill

Skill file

Mantle Smart Contract Deployer

Overview

Run a safe deployment planning pipeline from finalized build inputs to explorer verification readiness. This skill starts after contract architecture and implementation are already decided; for Mantle contract design or authoring guidance, use $mantle-smart-contract-developer.

Workflow

  1. Confirm environment and chain ID first — before anything else.
  1. Collect deployment inputs:
  1. Run pre-deploy checks from references/deployment-checklist.md.
  2. Build artifacts and bytecode fingerprint.
  3. Estimate gas and deployment cost; confirm limits.
  4. Produce an external execution handoff package (unsigned deployment payload, gas bounds, and signer instructions).
  5. After the user/external executor submits, capture receipt metadata and persist deployment evidence.
  6. Verify source on explorer using references/verification-playbook.md, then record verification evidence.

Guardrails

Output Format

Always produce the Deployment Report below, even for partial workflows. Fill in known fields; mark unknown fields as pending or not yet available. If the workflow is blocked (e.g., missing constructor args, awaiting environment confirmation), still emit the report skeleton with a BLOCKED: note explaining what is needed before proceeding.

For verification-only requests, fill in the Verification section and mark Deployment fields as previously completed externally.

Example when blocked: if constructor args are missing, emit the report with BLOCKED: awaiting constructor argument values for [param1, param2] in the Deployment section and ask the user to provide the missing values.

Mantle Deployment Report
- contract_name:
- environment:
- chain_id:
- compiler_profile:
- bytecode_hash:

Deployment
- execution_mode: external_wallet_or_signer
- tx_hash: (from external execution evidence)
- deployed_address: (from external execution evidence)
- block_number: (from external execution evidence)
- gas_used: (from external execution evidence)
- deployment_fee_native: (from external execution evidence)

Verification
- explorer:
- status: verified | pending | failed
- verification_id_or_link:
- failure_reason:

Artifacts
- constructor_args_encoded:
- abi_path:
- metadata_path:

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.