Catalog npm
PACKAGE EXPLORERView in registry

@0xmetropolis/metal

npm

Smart contract deployment tool.

Versions collected21
Direct dependencies38From release 0.9.0
Last observed21 Oct, 09:08 UTC

README

Current package documentation

Metal CLI

by @0xmetropolis

Metal is a smart contract visualization tool. This repo contains the CLI for Metal.

Getting Started

Dependencies

Installation

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

# with yarn
yarn global add @0xmetropolis/metal

Development

The first time you set up metal for local development, you will need to run a setup script via:

yarn run dev

Whenever adding new features to metal, it can be helpful to auto-recompile the app:

yarn watch

In a new terminal, you can then issue commands to your local metal repo with the mdev command:

mdev help

Usage

Generate A Preview

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

metal preview --chain-id 1 $PATH_TO_DEPLOY_SCRIPT

NOTE: Metal wraps around forge commands, but metal 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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 21

Collected releases
VersionPublishedDirect dependenciesOpen version
0.9.0Registry latest2 Jul 202438
0.8.311 Jun 202438
0.8.225 Mar 202438
0.8.17 Mar 202438
0.8.027 Feb 202438
0.7.108 Dec 202338
0.7.91 Dec 202338
0.7.829 Nov 202338
0.7.729 Nov 202338
0.7.68 Nov 202338
0.7.526 Oct 202338
0.7.424 Oct 202338
0.7.313 Oct 202336
0.7.211 Oct 202336
0.7.16 Oct 202336
0.7.03 Oct 202336
0.6.03 Oct 202336
0.5.128 Sept 202336
0.5.028 Sept 202336
0.4.128 Sept 202336

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xmetropolis/metal

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:08 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:550f18ae314e32a6e46d0fbdda4f4fa5c9ff31c0df325179c1a1f384b1ebafe0