0.4.1 • Published 2 years ago

@0xmetropolis/cli v0.4.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

This version of the CLI has been deprecated in favor of ✨ Metal


deprecated Metropolis CLI

by @0xmetropolis

Metropolis is a smart contract visualization tool.

Getting Started

Dependencies

Installation

# with npm
npm install -g @0xmetropolis/metal

# with yarn
yarn global add @0xmetropolis/metal

Usage

Generate A Preview

In the directory of your Foundry project, run the following command:

metro preview --chain-id 1 $PATH_TO_DEPLOY_SCRIPT

NOTE: Metal wraps around forge commands, but metro preview does not send any deployment transactions.

This will compile your contracts and start a deployment simulation. Once the simulation is done, your browser will open to display the results of the simulation.

Setting the Chain Id

The --chain-id flag allows you to choose the network to preview your deployment on.

Testing

Integration Tests 🌁

Getting Help

If you run into problems or find a bug, consider opening an issue.

0.4.1

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago