Agent skill · software engineering · aiskillstore
pitfalls-blockchain
Blockchain RPC error handling, gas estimation, multi-chain config, and transaction management. Use when interacting with smart contracts, estimating gas, or managing transactions. Triggers on: RPC, contract call, gas, multicall, nonce, transaction, revert.
Why this skill is useful
Adds executable scripts for error handling, gas estimation, and multi-chain configuration that extend the AI's capabilities in blockchain interactions.
What it needs
Requires typescript installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Blockchain Pitfalls Common pitfalls and correct patterns for blockchain interactions. When to Use Making contract calls via RPC Estimating gas for transactions Handling reverts and errors Managing nonces for concurrent txs Configuring multi-chain support Reviewing blockchain code Workflow Step 1: Verify Error Handling Check all contract calls are wrapped in try/catch. Step 2: Check Gas Estimation Ensure gas is estimated with buffer before sending. Step 3: Verify Multicall Safety Confirm multicall uses allowFailure: true. --- RPC Error Handling Gas Estimation Multi-Chain Configuration Transaction Management Rate Limiting & Retry Quick Checklist [ ] All contract calls wrapped in try/catch [ ] Multicall uses allowFailure: true [ ] Gas estimation with 20% buffer [ ] EIP-1559 gas pricing used [ ] Transaction simulation before send [ ] Nonce management for concurrent txs [ ] Confirmations appropriate per chain
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/pitfalls-blockchain