Skip to main content

Infrastructure2026

TxPreview

On-chain transaction security previewer. Simulate before you sign.

Live & ShippingStack: Next.js · TypeScript · Ethers.js · Solana Web3.js · Tailwind CSS
Visit TxPreviewGitHub

What is TxPreview?

TxPreview is a simulation-first transaction security tool that decodes, simulates, and flags malicious calldata before users sign. It integrates with EVM and Solana wallets to provide human-readable transaction outcomes, state diff analysis, and threat scoring.

The Problem It Solves

Millions of dollars are lost every year to approval scams, rug pulls, and hidden mint functions in smart contract interactions. Users sign blind because transaction data is opaque — a hex string that reveals nothing about what will actually happen. TxPreview makes every transaction transparent before execution.

Key Features

Transaction decoding that converts raw calldata into human-readable actions. State diff analysis showing exactly what changes the transaction will make to on-chain state. Threat scoring that flags known scam patterns including rug pulls, approval drains, and hidden mints. Wallet integration with both EVM wallets (MetaMask, etc.) and Solana wallets.

Tech Stack

Built with Next.js and TypeScript for the frontend. Ethers.js for EVM transaction decoding and interaction. Solana Web3.js for Solana transaction parsing. Tailwind CSS for the interface. The simulation engine runs client-side for privacy — no transaction data is ever sent to a server.

Frequently asked questions

What is a transaction simulator?
A transaction simulator runs a transaction in a sandboxed environment before execution, showing you exactly what will happen — which tokens will be transferred, what approvals will be granted, and whether any hidden functions will execute.
How does TxPreview detect malicious transactions?
TxPreview uses threat scoring algorithms that analyze decoded calldata for known scam patterns including infinite approvals, ownership transfers, hidden mints, and honeypot detection.
Which wallets does TxPreview support?
TxPreview integrates with EVM wallets like MetaMask and Solana wallets, providing transaction preview across both ecosystems.

Related tools