1 unstable release
0.1.0 | Dec 18, 2024 |
---|
#12 in #foundry
104 downloads per month
24KB
120 lines
ScPull
Pulls smart contract code from etherscan and creates a new foundry project for it.
Usage
ScPull can be used in the following way:
scpull <CHAIN> <ADDRESS> <PATH>
Where chain is either an alias or a chainid and address is the address of the smart contract.
Aliases
ScPull supports aliases for selecting the chain. Supported aliases are the following.
eth: Ethereum
op: Optimism
bsc: Binance Smart Chain
poly: Polygon
base: Base
arb: Arbitrum
lin: Linea
linea: Linea
era: ZkSync Era
zksync: ZkSync Era
Dependencies
~24–37MB
~627K SLoC