Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for cast chain Command #617

Open
Tracked by #630
dutterbutter opened this issue Oct 21, 2024 · 0 comments
Open
Tracked by #630

Support for cast chain Command #617

dutterbutter opened this issue Oct 21, 2024 · 0 comments
Labels
Internal ⚙️ p3 🔵 Indicates low priority item starter 🏁 Indicates low difficulty item upstream-parity 🟰 Needed for upstream feature parity
Milestone

Comments

@dutterbutter
Copy link
Collaborator

Description:

The cast chain command is currently not supported in foundry-zksync. This command displays information about the current chain, including its name and ID.

Feature Request:

Implement the cast chain command to enable retrieval of chain information within the foundry-zksync environment.


Detailed Information:

Purpose of cast chain:

The cast chain command fetches and displays details about the connected ZKsync stack network, such as the chain ID, network name, and any associated metadata.

Key Features:

  • Retrieves chain ID and network name.
  • Useful for verifying the network context.
  • Assists in ensuring correct network configuration.

Common Options:

  • -rpc-url: Specify a custom RPC endpoint.

Example Usage:

  • Display chain information:

    cast chain
  • Specify a custom RPC URL:

    cast chain --rpc-url https://mainnet.era.zksync.io

References:

@dutterbutter dutterbutter added p3 🔵 Indicates low priority item starter 🏁 Indicates low difficulty item upstream-parity 🟰 Needed for upstream feature parity labels Oct 21, 2024
@dutterbutter dutterbutter moved this to Todo in DevEx squad Oct 21, 2024
@Jrigada Jrigada added this to the O.R Q1 milestone Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal ⚙️ p3 🔵 Indicates low priority item starter 🏁 Indicates low difficulty item upstream-parity 🟰 Needed for upstream feature parity
Projects
Status: Todo
Development

No branches or pull requests

2 participants