Catalog npm
Back to packageRELEASE DETAILS

0.0.1

npm

@0xmetropolis/cli

Smart contract visualization tool.

Published12 Jul 2023
Direct dependencies34
Transitive dependenciesNot calculated

README

Current package documentation

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.

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 34

Native requirements
34 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
toml
Environment
{
  "local_name": "toml",
  "alias": false,
  "peer_metadata": null
}
^3.0.0runtime
chalk
Environment
{
  "local_name": "chalk",
  "alias": false,
  "peer_metadata": null
}
^2.0.1runtime
husky
Environment
{
  "local_name": "husky",
  "alias": false,
  "peer_metadata": null
}
^0.14.3runtime
yargs
Environment
{
  "local_name": "yargs",
  "alias": false,
  "peer_metadata": null
}
^17.7.2runtime
inquirer
Environment
{
  "local_name": "inquirer",
  "alias": false,
  "peer_metadata": null
}
^3.2.0runtime
node-emoji
Environment
{
  "local_name": "node-emoji",
  "alias": false,
  "peer_metadata": null
}
^1.7.0runtime
dotenv-flow
Environment
{
  "local_name": "dotenv-flow",
  "alias": false,
  "peer_metadata": null
}
^3.2.0runtime
jest
Environment
{
  "local_name": "jest",
  "alias": false,
  "peer_metadata": null
}
^29.6.1development
test
Environment
{
  "local_name": "test",
  "alias": false,
  "peer_metadata": null
}
^0.6.0development
eslint
Environment
{
  "local_name": "eslint",
  "alias": false,
  "peer_metadata": null
}
^8.44.0development
ts-jest
Environment
{
  "local_name": "ts-jest",
  "alias": false,
  "peer_metadata": null
}
^29.1.1development
ts-node
Environment
{
  "local_name": "ts-node",
  "alias": false,
  "peer_metadata": null
}
^10.9.1development
prettier
Environment
{
  "local_name": "prettier",
  "alias": false,
  "peer_metadata": null
}
^2.8.8development
bdd-stdin
Environment
{
  "local_name": "bdd-stdin",
  "alias": false,
  "peer_metadata": null
}
^0.2.0development
supertest
Environment
{
  "local_name": "supertest",
  "alias": false,
  "peer_metadata": null
}
^6.3.3development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.1.6development
@types/cors
Environment
{
  "local_name": "@types/cors",
  "alias": false,
  "peer_metadata": null
}
^2.8.13development
@types/jest
Environment
{
  "local_name": "@types/jest",
  "alias": false,
  "peer_metadata": null
}
^29.5.0development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^18.16.19development
lint-staged
Environment
{
  "local_name": "lint-staged",
  "alias": false,
  "peer_metadata": null
}
^4.0.2development
ts-node-dev
Environment
{
  "local_name": "ts-node-dev",
  "alias": false,
  "peer_metadata": null
}
^2.0.0development
@types/chalk
Environment
{
  "local_name": "@types/chalk",
  "alias": false,
  "peer_metadata": null
}
^0.4.31development
@types/yargs
Environment
{
  "local_name": "@types/yargs",
  "alias": false,
  "peer_metadata": null
}
^8.0.1development
babel-eslint
Environment
{
  "local_name": "babel-eslint",
  "alias": false,
  "peer_metadata": null
}
^7.2.3development
@types/inquirer
Environment
{
  "local_name": "@types/inquirer",
  "alias": false,
  "peer_metadata": null
}
^0.0.35development
@types/supertest
Environment
{
  "local_name": "@types/supertest",
  "alias": false,
  "peer_metadata": null
}
^2.0.12development
@types/node-emoji
Environment
{
  "local_name": "@types/node-emoji",
  "alias": false,
  "peer_metadata": null
}
^1.4.0development
@types/dotenv-flow
Environment
{
  "local_name": "@types/dotenv-flow",
  "alias": false,
  "peer_metadata": null
}
^3.2.0development
eslint-config-buildo
Environment
{
  "local_name": "eslint-config-buildo",
  "alias": false,
  "peer_metadata": null
}
^0.2.2development
eslint-config-prettier
Environment
{
  "local_name": "eslint-config-prettier",
  "alias": false,
  "peer_metadata": null
}
^8.8.0development
eslint-plugin-prettier
Environment
{
  "local_name": "eslint-plugin-prettier",
  "alias": false,
  "peer_metadata": null
}
^4.2.1development
typescript-eslint-parser
Environment
{
  "local_name": "typescript-eslint-parser",
  "alias": false,
  "peer_metadata": null
}
^4.0.0development
@typescript-eslint/parser
Environment
{
  "local_name": "@typescript-eslint/parser",
  "alias": false,
  "peer_metadata": null
}
^5.60.1development
@typescript-eslint/eslint-plugin
Environment
{
  "local_name": "@typescript-eslint/eslint-plugin",
  "alias": false,
  "peer_metadata": null
}
^5.61.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "d97cb0ddf9e1382922f572e429e1416547b0a71d",
  "tarball": "https://registry.npmjs.org/@0xmetropolis/cli/-/cli-0.0.1.tgz",
  "fileCount": 40,
  "integrity": "sha512-YE0gLvhSk10zQcftd1jPd+q882TWELCN42uYWhIx+GQU9ESwKy8DU2Tbb2QW3BIothWQhUr5RIGU9dHFJdjlFQ==",
  "signatures": [
    {
      "sig": "MEUCIQDy0sDwJfpexaDoQ1/Tdhs1jwsb/qfJojxxkfTbwXkOtgIgc0uHJZ3FD2iX6GU5FP+IJbY+OcWse+xCY1GczKVQqcA=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 64924
}

Repository

PENDING
0xmetropolis/cli

Shared repository data · GitHub

License detected in repository
Not collected

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:07 UTC

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

Record identity

package_version:02b2ffe74c185e27dcf5ac694c17839bfffb194edca018be042226ea54e6ca1a

Other collected versions

0.4.128 Sept0.4.026 Sept0.3.118 Sept0.3.013 Sept0.2.324 Aug0.2.222 AugView all collected versions →