foundry-zksync
foundry-zksync copied to clipboard
research: Figure out which functionality of zksync-cli is covered by foundry
trafficstars
Component
Other (please describe)
Describe the feature you would like
Right now, we have zksync-cli as a "builder's swiss knife" tool. However, it feels like a lot of its functionality is covered by forge/cast already, e.g.:
zksync-cli createis covered byforge init(it also supports templates)zksync-cli contractis covered bycastzksync-cli transactioninfo is covered bycast receiptzksync-cli walletis covered bycast, though probably slightly less convenientzksync-cli bridgeis not covered. But I guess we can add it to the our fork of cast, right?- Starting in-memory node is covered by
anvil-zksync. Starting dockerized setup will probably be covered onceanvil-zksyncsupports L1. - Starting explorer/portal is covered by
zkstackCLI and it naturally feels better there.
The scope for this task is to analyze the functionality of zksync-cli and check whether it can be achieved by using forge/cast (or whether it naturally belongs to another scope like zkstack CLI).
The outcome should be a comment in this issue.
Additional context
No response