
Blazing fast ZKsync smart contract development toolkit
foundry-zksync
# Install foundry-zksync directly
curl -L https://raw.githubusercontent.com/matter-labs/foundry-zksync/main/install-foundry-zksync | bash
Quick Actions
Forge
forge
helps you build, test, debug, deploy and verify smart contracts on ZKsync.
Initialize ZKsync project
# Initializes a project called `Counter`
forge init
Cast
cast
works with ZKsync networks to interact with contracts and query blockchain state.
Call ZKsync contract
# Call a contract function on ZKsync mainnet
cast call 0x32400084C286CF3E17e7B677ea9583e60a000324 \
"balanceOf(address)" 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 \
--rpc-url https://mainnet.era.zksync.io
Community
Join the ZKsync Community
- Ask for support in the ZKsync Discord or create an issue on Github
- Join the 50+ developers by contributing to Foundry-ZKsync
- Learn more about ZKsync at docs.zksync.io