Welcome to the ZKsync Contract Templates
repository. This collection is designed for developers eager to build smart contracts on ZKsync, featuring templates for Hardhat with Solidity and Vyper. These templates provide a robust starting point for contract development, testing and deployment.
Currently, the repository offers specific templates for Hardhat, an Ethereum development environment, tailored for both Solidity and Vyper:
- Ethers v6 (latest)
- Ethers v5
To create a project using a template, first install the zksync-cli package globally by running:
npm install -g zksync-cli
Once the package is installed, you can create a project using the following command and follow the prompts to select your desired template category and specific framework or tool:
zksync-cli create
When prompted, select the Contracts option to use the templates in this repository.
For detailed instructions and additional resources, please refer to the official documentation.
Your contributions are always welcome! Whether it's submitting PRs, suggesting improvements, or reporting issues, your feedback is invaluable in refining these templates.
This project is licensed under MIT.