deploy-contracts

Deploy Move smart contracts to Aptos networks with verified workflows.

19|8|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/aptos-labs/aptos-agent-skills --skill deploy-contracts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy-contracts
Source: https://github.com/aptos-labs/aptos-agent-skills/tree/main/skills/move/deploy-contracts
Command: npx skills add https://github.com/aptos-labs/aptos-agent-skills --skill deploy-contracts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a comprehensive guide and checklist for safely deploying Move smart contracts to Aptos networks, ensuring security, test coverage, and proper configuration before and after deployment.

Core Features & Use Cases

  • Pre-Deployment Verification: Guides users through a critical checklist covering security audits, testing, code quality, and configuration.
  • Object Deployment Guidance: Clearly explains the modern deploy-object pattern versus legacy publish commands.
  • Network Deployment Workflow: Details step-by-step instructions for deploying to devnet, testnet, and mainnet, including funding accounts and verifying deployments.
  • Module Upgrades: Explains how to upgrade deployed object-based modules and outlines compatibility rules.
  • Troubleshooting: Offers solutions for common deployment issues like insufficient balance, existing modules, compilation errors, and gas limits.

Quick Start

Follow the steps to deploy your Move contract to testnet.

Frequently Asked Questions about deploy-contracts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy Move smart contracts to Aptos mainnet safely?

To deploy Move smart contracts to Aptos mainnet safely, follow a verified workflow including pre-deployment security audits, 100% test coverage, and post-deployment verification. This process ensures correct object deployment patterns and secure network configuration.

What is the difference between the deploy-object pattern and legacy publish commands in Move?

The modern deploy-object pattern is the recommended method for deploying Move smart contracts, offering distinct advantages and structural guidance over legacy publish commands. Using the deploy-object pattern ensures proper module initialization and secure state management on Aptos networks.

How do I upgrade deployed Move modules on Aptos?

Upgrading deployed Move modules on Aptos requires following specific compatibility rules and using the object-based module upgrade workflow. This process ensures that your smart contracts remain functional and secure when applying updates to devnet, testnet, or mainnet.

Why does my Move contract deployment fail with an insufficient balance or gas limit error?

Move contract deployment fails with insufficient balance or gas limit errors when the deploying account lacks adequate funds. You must fund your accounts properly before network deployment to devnet, testnet, or mainnet to ensure successful transaction processing.

What tests are required before deploying Move smart contracts to Aptos?

Before deploying Move smart contracts to Aptos, you must achieve 100% test coverage and pass a pre-deployment security audit. This includes running local testing workflows and verifying code quality to ensure secure and verified deployment.