Back to browse
Blocktools – a Rust-powered suite for the smart contract lifecycle

Blocktools – a Rust-powered suite for the smart contract lifecycle

by wazzaaaa·Mar 18, 2026·2 points·0 comments

AI Analysis

●●SolidSlickSolve My Problem

Record command turns manual testing sessions into Foundry test scripts automatically.

Strengths
  • sol-console forks mainnet via Etherscan for high-fidelity local testing
  • sol-sentry installs as Git pre-commit hook to block vulnerabilities before push
  • event-tail provides tail -f style real-time event streaming from contracts
Weaknesses
  • Smart contract tooling is well-served (Foundry, Hardhat, Tenderly)
  • CLI-only approach may limit adoption compared to web UIs
Target Audience

Solidity developers, Web3 engineers

Similar To

Foundry · Hardhat · Tenderly

Post Description

Hi HN,

I’m the creator of Blocktools (https://blocktools.dev). I spent the last year building a suite of zero-dependency Rust binaries to move smart contract analysis out of the browser and back into the terminal.

I soft-launched this about 6 months ago, got busy, and didn't promote it. To my surprise, I’ve seen a steady stream of developers using it every month. It convinced me there's a real need for fast, cohesive CLI tools that don't require heavy npm setups or jumping between web UIs like Tenderly or Etherscan.

The Suite Includes:

sol-console: An interactive Solidity REPL. You can instantly spin up a local fork of mainnet using --from-etherscan. It also has a record command that turns your manual testing session into a ready-to-use Foundry .t.sol test script.

sol-sentry: A static analysis scanner. It catches vulnerabilities and can install a Git pre-commit hook to block bad code before it hits your repo.

gas-forecaster: Generates multi-network USD cost reports for deployments and lets you set CI/CD gas budgets.

receipt-parse & event-tail: Tools for deep transaction analysis (full execution traces and state diffs) and real-time tail -f style event streaming directly from your node.

The Tech: > Everything is written in Rust. There are no dependencies. You install it via a single curl or PowerShell script, and it runs 100% locally and privately on your machine.

Pricing Philosophy: The basic tools are free to use. I have a Pro tier for $99/year that unlocks the heavy-duty features (mainnet forking, automated Foundry test generation, full traces).

Because I hate standard SaaS lock-in as much as anyone, I use a Perpetual Fallback License (similar to JetBrains). If you buy a year and decide not to renew, you keep the last version you downloaded forever. You always own what you paid for.

I’d love to hear your feedback on the CLI ergonomics or the workflow! I'll be in the comments all day to answer technical questions.

Similar Projects