// Production-grade blockchain and Web3 development with Solidity (Ethereum/EVM), Rust (Solana), CosmWasm (Cosmos), including smart contract architecture, security patterns, gas optimization, testing strategies, DeFi protocols, and deployment workflows.
| name | software-crypto-web3 |
| description | Production-grade blockchain and Web3 development with Solidity (Ethereum/EVM), Rust (Solana), CosmWasm (Cosmos), including smart contract architecture, security patterns, gas optimization, testing strategies, DeFi protocols, and deployment workflows. |
This skill equips blockchain developers with execution-ready patterns for building secure, gas-optimized smart contracts and decentralized applications. Claude should apply these patterns when users ask for smart contract development, DeFi protocols, NFT implementations, security audits, or Web3 architecture.
Modern Best Practices: Security-first development, formal verification, comprehensive testing (unit, integration, fork, invariant), gas optimization, upgradeable contracts, multi-chain deployment, and battle-tested DeFi patterns.
| Task | Tool/Framework | Command | When to Use |
|---|---|---|---|
| Solidity Development | Hardhat/Foundry | npx hardhat init or forge init | Ethereum/EVM smart contracts |
| Solana Programs | Anchor | anchor init | Solana blockchain development |
| Cosmos Contracts | CosmWasm | cargo generate --git cosmwasm-template | Cosmos ecosystem contracts |
| TON Contracts | Tact/FunC + Blueprint | npm create ton@latest | TON blockchain development |
| Testing (Solidity) | Foundry/Hardhat | forge test or npx hardhat test | Unit, fork, invariant tests |
| Security Audit | Slither/Mythril/Echidna | slither . | Static analysis, fuzzing |
| Gas Optimization | Foundry Gas Snapshots | forge snapshot | Benchmark and optimize gas |
| Deployment | Hardhat Deploy/Forge Script | npx hardhat deploy | Mainnet/testnet deployment |
| Verification | Etherscan API | npx hardhat verify | Source code verification |
| Upgradeable Contracts | OpenZeppelin Upgrades | @openzeppelin/hardhat-upgrades | Proxy-based upgrades |
Claude should invoke this skill when a user requests:
Project needs: [Use Case]
โโ EVM-compatible smart contracts?
โ โโ Complex testing needs โ Foundry (Solidity tests, fuzzing, gas snapshots)
โ โโ TypeScript ecosystem โ Hardhat (plugins, TypeScript, Ethers.js)
โ โโ Enterprise features โ NestJS + Hardhat
โ
โโ High throughput/low fees?
โ โโ Rust-based โ Solana (Anchor framework, 50k+ TPS)
โ โโ EVM L2 โ Arbitrum/Optimism (Ethereum security, lower gas)
โ โโ Telegram integration โ TON (Tact/FunC contracts)
โ
โโ Interoperability across chains?
โ โโ Cosmos ecosystem โ CosmWasm (IBC protocol)
โ โโ Multi-chain DeFi โ LayerZero or Wormhole
โ โโ Bridge development โ Custom bridge contracts
โ
โโ Token standard implementation?
โ โโ Fungible tokens โ ERC20 (OpenZeppelin), SPL Token (Solana)
โ โโ NFTs โ ERC721/ERC1155 (OpenZeppelin), Metaplex (Solana)
โ โโ Semi-fungible โ ERC1155 (gaming, fractionalized NFTs)
โ
โโ DeFi protocol development?
โ โโ AMM/DEX โ Uniswap V3 fork or custom (x*y=k, concentrated liquidity)
โ โโ Lending โ Compound/Aave fork (collateralized borrowing)
โ โโ Staking/Yield โ Custom reward distribution contracts
โ
โโ Upgradeable contracts required?
โ โโ Transparent Proxy โ OpenZeppelin (admin/user separation)
โ โโ UUPS โ Gas-efficient (upgrade logic in implementation)
โ โโ Diamond Standard โ Modular functionality (EIP-2535)
โ
โโ Backend integration?
โโ .NET/C# โ Multi-provider architecture (see Backend Integration Patterns)
โโ Node.js โ Ethers.js/Web3.js + Prisma
โโ Python โ Web3.py + FastAPI
Chain-Specific Considerations:
See resources/ for chain-specific best practices.
Resources
Templates
Related Skills