deployment

Deploy Solidity smart contracts to testnets and mainnets using Foundry and Hardhat.

2|1|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/MolcajeteAI/plugin --skill deployment-molcajeteai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment
Source: https://github.com/MolcajeteAI/plugin/tree/main/deprecated/tech-stacks/solidity/skills/deployment
Command: npx skills add https://github.com/MolcajeteAI/plugin --skill deployment-molcajeteai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of deploying Solidity smart contracts to various blockchain networks, ensuring security, efficiency, and verifiability.

Core Features & Use Cases

  • Foundry & Hardhat Integration: Provides scripts and guidance for both popular development frameworks.
  • Secure Deployment: Includes strategies for using hardware wallets and managing private keys securely.
  • Verification: Automates contract verification on block explorers.
  • Multi-Chain & Upgradeable Contracts: Supports deploying across multiple networks and handling upgrade patterns.
  • Use Case: You've finished developing a new ERC20 token and need to deploy it to the Sepolia testnet, verify it on Etherscan, and then prepare for mainnet deployment.

Quick Start

Use the deployment skill to deploy the MyContract.sol contract to the Sepolia testnet using Foundry.

Frequently Asked Questions about deployment

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

FAQPage Schema
How do I deploy a Solidity smart contract to a testnet using Foundry or Hardhat?

Deploying Solidity smart contracts to testnets or mainnets is facilitated through Foundry and Hardhat scripts that manage gas pricing and network connections securely. This process handles basic deployments and constructor arguments efficiently.

What is the best way to verify deployed smart contracts on block explorers like Etherscan?

Verifying deployed smart contracts on block explorers is automated through specific deployment scripts. This ensures your Solidity contracts are verifiable and transparent on various blockchain networks immediately after a successful testnet or mainnet deployment.

Can I deploy upgradeable contracts using the UUPS pattern across multiple networks?

Yes, deploying upgradeable contracts using the UUPS pattern is fully supported across multiple networks. The deployment process includes strategies for handling multi-contract scenarios and upgrade patterns to ensure secure and efficient on-chain operations.

How does CREATE2 work for deploying smart contracts to deterministic addresses?

CREATE2 works for deploying smart contracts by generating deterministic addresses before the actual on-chain deployment occurs. This technique allows precise pre-computation of contract addresses, which is crucial for multi-contract scenarios and secure deployment strategies.

Do I need a hardware wallet to securely deploy Solidity contracts to mainnet?

Using a hardware wallet to deploy Solidity contracts to mainnet is a recommended secure deployment strategy for managing private keys safely. It ensures secure and efficient on-chain operations while mitigating risks during mainnet network interactions.