Get Started

Visualize your deployment on a devnet by pasting the command into your CLI

Step 1

Install the Metal CLI

yarn global add @0xmetropolis/metal

Previews simulate transactions on a forked blockchain

metal preview

runs your Forge script against a fork to generate a Metal visualization.

Step 2

Modify your existing forge script.

forge script  src/script/Deploy.s.sol --chain-id 1
metal preview src/script/Deploy.s.sol --chain-id 1
Step 3

Click on the link to visualize your deployment

View preview: