Тестирование смарт-контрактов на Solidity
★ 8.5 · testing
web3-testing is a Claude Code skill that provides comprehensive smart contract testing for Solidity using both Hardhat and Foundry. It covers unit tests, integration tests, fuzz testing for edge cases, gas optimization checks, and mainnet forking for realistic protocol validation. The Hardhat setup includes hardhat-gas-reporter, solidity-coverage, and @nomicfoundation/hardhat-toolbox with fixture-based test patterns, while the Foundry side leverages cheatcodes such as vm.prank, vm.deal, and vm.expectRevert alongside property-based fuzz tests. Contract verification on Etherscan and automated coverage reporting are also part of the workflow. The skill is built for DeFi and Web3 developers who need a production-grade test suite for their on-chain code.
- #smart-contracts
- #hardhat
- #foundry
- #solidity
- #blockchain
- #gas-optimization
- #testing