agentsclimarketplace

Evm deployment and verification

Skill dor-rondel/agent-skills-mcp/resources/solidity/evm-deployment-and-verification

Use this skill when deploying to live testnets/mainnets, verifying source code on block explorers, or exporting ABIs for frontend integration.From its SKILL.md

Install
npx -y skills add dor-rondel/agent-skills-mcp --skill evm-deployment-and-verification

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

3 things to look at

  • reads credentialsReads from 4 credential sources: `.env` and 3 more.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 4 commands, including `forge script script/Deploy.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY` and 3 more.

SKILL.md

1.9 KB, 394 tokens by cl100k_base, as published. Nobody here has run it

EVM Live Deployment, Verification, & Artifact Export

This skill covers the production-ready steps required to take compiled contracts and safely bridge them to live networks and frontend user interfaces.

🛠️ Security Prerequisites

  • Environment Variables: Ensure .env contains valid keys before execution:
    • PRIVATE_KEY: The deploying wallet's secret key.
    • RPC_URL: The target network node provider URL (e.g., Base, Arbitrum, Sepolia).
    • ETHERSCAN_API_KEY: API key for automated explorer source code verification.

🏃‍♂️ Advanced Network Deployment

1. Testnet/Mainnet Deployment & Verification

Deploy the contract to a live network using environment variables, and automatically submit the source code to Etherscan/Blockscout for verification in a single run: forge script script/Deploy.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY

2. Standalone Verification

If a deployment went through but verification timed out, manually verify the contract post-deployment: forge verify-contract <deployed-address> src/BuyMeACoffee.sol:BuyMeACoffee --etherscan-api-key $ETHERSCAN_API_KEY --rpc-url $RPC_URL


📐 Frontend Integration Artifacts

1. Locate the ABI

When the frontend app needs to talk to the deployed contract, the exact JSON contract interface can be extracted from the Forge build artifacts directory: cat out/BuyMeACoffee.sol/BuyMeACoffee.json | jq '.abi'

2. Sync ABIs to Frontend

If this repository includes a frontend folder or take-home client assignment, copy the fresh ABI directly into the web client asset path: cp out/BuyMeACoffee.sol/BuyMeACoffee.json ../frontend/src/abis/

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.