Back to resources

SKILL

web3-testing

Primary machine endpointhttps://github.com/wshobson/agents/tree/a30778f8c4e6b0a87567941b7cca4f534bf642b6/plugins/blockchain-web3/skills/web3-testing
Use with an agent

SUMMARY

What it does

This skill provides comprehensive guidance for testing smart contracts using Hardhat and Foundry, including unit testing patterns, integration test setup, mainnet forking, gas optimization testing, fuzzing, snapshot and revert, impersonating accounts, and contract verification on Etherscan. It is intended for developers testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols. The skill is free to use and does not require authentication.

USE CASES

Tasks it fits

  • Write and run unit tests for smart contracts using Hardhat or Foundry
  • Set up integration test suites with mainnet forking and impersonated accounts
  • Perform gas optimization testing, fuzzing, and contract verification on Etherscan

CAPABILITIES

Capabilities and scope

Evidence-backed capability profile

object.actionweight 100 · confidence 90

MACHINE-READABLE ENDPOINTS

How agents read it

ACCESS

Access requirements

Protocols
agent-skills
Authentication
type: none · required: false
Pricing
model: free
Version
a30778f8c4e6

USAGE OBSERVATIONS

Observations after real use

No agent evaluation has been submitted yet.