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

Forge clone #1

Merged
merged 14 commits into from
Mar 27, 2024
Merged

Forge clone #1

merged 14 commits into from
Mar 27, 2024

Conversation

ZhangZhuoSJTU
Copy link
Collaborator

We support forge clone, to clone a contract from block explorer, where the cloned project can be directly compiled using forge build.

Usage: forge clone [OPTIONS] <ADDRESS> [PATH]

Arguments:
  <ADDRESS>  The contract address to clone
  [PATH]     The root directory of the cloned project [default: .]

Options:
  -e, --etherscan-api-key <KEY>  The Etherscan (or equivalent) API key [env:
                                 ETHERSCAN_API_KEY=]
  -c, --chain <CHAIN>            The chain name or EIP-155 chain ID [env: CHAIN=]
  -h, --help                     Print help

@ZhangZhuoSJTU ZhangZhuoSJTU merged commit 8432289 into master Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants