Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>SlotMatrixNew to Visual Studio Code? Get it now.
SlotMatrix

SlotMatrix

Anmol Dhiman

|
43 installs
| (1) | Free
Interact with Smart Contracts directly from VS Code. Load ABIs, call functions, decode data, view and explore storage layout in a clean, formatted view — all within your editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Slot Matrix

Code. Deploy. Inspect. All in One Matrix.
Slot Matrix Version

Slot Matrix Logo

Slot Matrix is a powerful Visual Studio Code extension designed for smart contract developers and auditors. It provides a seamless and visual interface for testing, inspecting, and understanding Ethereum contracts—right from your IDE. With version 0.2.0, Slot Matrix delivers its first stable release, bringing robust compatibility with both Foundry and Hardhat, a Remix-like experience, and enhanced debugging tools.

🎥 Demo

See Slot Matrix in action:

Slot Matrix Demo
▶ Watch Demo on YouTube

✨ Key Features

  • 🧪 Interact with smart contracts using a clean, Remix-like UI integrated into VS Code.
  • 🧠 Storage Layout Visualization: View contract storage layouts in JSON format for easy inspection.
  • ⚙️ Foundry & Hardhat Compatibility: Seamlessly works with both Foundry and Hardhat-based projects.
  • 💾 Complete Terminal Abstraction: Manage your workflow without leaving VS Code—no terminal required.
  • 📜 Well-Formatted Log Data: Debug efficiently with clear, structured log outputs.
  • 🚀 Automated Build Workflow: Automatically runs forge clean and forge build --extra-output storageLayout or equivalent Hardhat commands on file save.

📦 Requirements

To use Slot Matrix, ensure you have:

  • Visual Studio Code v1.85.0 or higher.
  • Foundry installed with forge and anvil accessible from your terminal.
  • Hardhat installed for Hardhat-based projects (optional).
  • A valid Foundry-compatible or Hardhat-compatible project structure (Solidity files in src for Foundry or contracts for Hardhat).

Install Foundry

Run the following commands to install Foundry:

curl -L https://foundry.paradigm.xyz | bash
foundryup

Note for Windows Users: Run the above commands using Git Bash or Windows Subsystem for Linux (WSL).

🛠️ Extension Installation Guide

Follow these steps to install the Slot Matrix extension in Visual Studio Code:

  1. Install via Visual Studio Code Marketplace:

    • Open Visual Studio Code.
    • Go to the Extensions view by clicking the Extensions icon in the Activity Bar on the side or pressing Cmd+Shift+X (or Ctrl+Shift+X on Windows).
    • Search for Slot Matrix in the Extensions Marketplace.
    • Click Install on the "Slot Matrix" extension by Anmol Dhiman.
  2. Install via VSIX File (Alternative):

    • Download the .vsix file for Slot Matrix version 0.2.0 from the GitHub Releases page or another trusted source provided by the developer.
    • In Visual Studio Code, open the Command Palette with Cmd+Shift+P (or Ctrl+Shift+P on Windows).
    • Type and select Extensions: Install from VSIX.
    • Browse to the downloaded .vsix file and select it to install.
  3. Verify Installation:

    • After installation, open the Command Palette (Cmd+Shift+P or Ctrl+Shift+P) and type SlotMatrix.
    • Ensure commands like SlotMatrix: Welcome and SlotMatrix: Start appear in the list.

Note: If you encounter issues during installation, ensure Visual Studio Code is version 1.85.0 or higher and check the Support & Contact section for help.

🚀 Usage & Commands

Slot Matrix simplifies your smart contract development workflow. Below is a table of available commands:

Command Description
SlotMatrix: Welcome Opens the Slot Matrix welcome page.
SlotMatrix: Start Launches the Slot Matrix dashboard.
SlotMatrix: Save Contracts (Cmd/Ctrl + Shift + S) Triggers forge clean and forge build --extra-output storageLayout (or equivalent Hardhat commands) in the background.

To access commands:

  • Press Cmd+Shift+P (or Ctrl+Shift+P on Windows) and search for SlotMatrix.

💻 Use Cases

  • Prototyping: Rapidly interact with and test smart contracts within VS Code.
  • Debugging: Inspect storage layouts and debug proxy patterns with ease.
  • Auditing: Visualize contract storage and log data for thorough analysis.
  • Development: Streamline Foundry and Hardhat workflows with automated builds and terminal abstraction.

🙌 Contributing

We welcome contributions, suggestions, and bug reports!

  • 🐞 Report Issues
  • 🌱 Submit a PR to improve the extension
  • ⭐ Star the GitHub repo if you find this useful!

💬 Support & Contact

Need help or want to connect?

  • 🗂 GitHub Issues
  • 🐦 @sherlockvarm on X

📄 License

This project is licensed under the MIT License. See LICENSE for details.

Built with ❤️ by Anmol Dhiman

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft