# Review Blockchain Transaction Pitfalls

Blockchain integrations often fail because RPC calls, gas estimates, and nonces are handled too casually. This skill gives Claude, Codex, and Claude Code a checklist for safer smart contract transaction reviews.

## Install

```bash
npx skillstore add barissozen/pitfalls-blockchain
```

## Metadata

- - Slug: barissozen-pitfalls-blockchain
- - Version: 1.0.0
- - Author: BarisSozen
- - GitHub username: BarisSozen
- - License: MIT
- - Repository: https://github.com/BarisSozen/claude/tree/main/.claude/skills/pitfalls-blockchain
- - Ref: main
- - Supported tools: Claude, Codex, Claude Code
- - Risk level: low
- - Risk factors: network, env\_access
- - Quality score: 77
- - Quality tier: bronze
- - Public page: https://skillstore.pages.dev/skills/barissozen-pitfalls-blockchain
- - Manifest: https://skillstore.pages.dev/api/skills/barissozen-pitfalls-blockchain/manifest

## Capabilities

- Checks whether contract calls include try/catch error handling.
- Reviews gas estimation, gas buffers, and EIP-1559 fee handling.
- Highlights safer multicall behavior with per-call failure handling.
- Guides multi-chain RPC configuration and confirmation settings.
- Reviews nonce management patterns for concurrent transactions.
- Provides a concise checklist for blockchain code review.

## Use Cases

- Review DApp Transaction Code: Find missing error handling, unsafe gas usage, and weak retry behavior before a frontend sends transactions.
- Prepare Multi-Chain Integrations: Check RPC configuration, confirmations, native tokens, and fallback behavior across supported chains.
- Audit Transaction Reliability: Use a practical checklist to review nonce handling, simulations, and revert handling in transaction services.

## Prompt Templates

### Check Basic RPC Handling

```
Review this blockchain RPC call for common pitfalls. Focus on try/catch handling, revert behavior, and safe fallback behavior.
```

### Review Gas Estimation

```
Review this transaction code for gas estimation issues. Check buffers, EIP-1559 fee fields, simulation before send, and gas spike handling.
```

### Assess Multi-Chain Configuration

```
Assess this multi-chain configuration. Check RPC URL handling, chain IDs, confirmation counts, native token names, and fallback endpoint strategy.
```

### Perform Full Transaction Reliability Review

```
Perform a full reliability review of this blockchain transaction flow. Cover RPC failures, multicall safety, gas estimation, nonce management, retries, simulations, and confirmations.
```

## Limitations

- Does not execute transactions or connect to blockchain networks.
- Does not verify deployed contract bytecode or on-chain state.
- Does not replace a smart contract security audit.
- Uses general guidance and may need adaptation for each chain.

## Best Practices

- Use the checklist before sending or reviewing transaction code.
- Provide the relevant chain, provider, and contract context in the prompt.
- Validate recommendations against current provider and wallet behavior.

## Anti Patterns

- Do not treat example RPC endpoints as production configuration.
- Do not skip transaction simulation for state-changing calls.
- Do not use one nonce source for concurrent transaction workers without coordination.

## Security Audit

- - Safe to publish: true
- - Audited at: 2026-06-28T12:59:51.675\+00:00
- - Summary: Static analysis reported command execution, network, environment, wallet, weak crypto, and combined-risk patterns. Review found these are Markdown and TypeScript examples, not executable skill code, with no evidence of prompt injection or malicious intent. The only residual concerns are documentation examples that mention RPC endpoints and environment variables.

## Stats

- - Views: 231
- - Downloads: 5
- - Favorites: 0
- - Popularity score: 0
