zkSync 2.0 is a layer 2 rollup that uses zero-knowledge proofs to scale Ethereum without compromising on security or decentralization. Since it's EVM compatible (Solidity/Vyper), 99% of Ethereum projects can redeploy without refactoring or re-auditing a single line of code. zkSync 2.0 also uses an LLVM-based compiler that will eventually let developers write smart contracts in C++, Rust and other popular languages.
This repository contains a collection of plugins to aid in the development and deployment of smart contracts on the zkSync network. These plugins are designed to integrate seamlessly with the Hardhat development environment, providing developers with an easy-to-use and powerful toolset.
Here is an overview of the plugins currently available:
hardhat-zksync-solc: This plugin is used to provide a convenient interface for compiling Solidity smart contracts before deploying them to the zkSync network.
hardhat-zksync-deploy: This plugin simplifies the deployment of your smart contracts to the zkSync network by providing utilities for deploying smart contracts with artifacts built by the zkSync hardhat-zksync-solc or hardhat-zksync-vyper plugins.
hardhat-zksync-verify: This plugin helps you to verify your smart contracts on the zkSync network by providing a set of tasks that automate the verification process.
hardhat-zksync-verify-vyper: This plugin helps you to verify your vyper smart contracts on the zkSync network by providing a set of tasks that automate the verification process.
hardhat-zksync-vyper: This plugin is used to provide a convenient interface for compiling Vyper smart contracts before deploying them to the zkSync network.
hardhat-zksync-chai-matchers: This plugin adds additional chai matchers to be used when writing tests with specific zkSync features.
hardhat-zksync-toolbox: This plugin provides a convenient method for bundling and accessing a range of zkSync-related Hardhat plugins.
hardhat-zksync-upgradeable: This plugin provides a convenient method to deploy and upgrade smart contracts on the zkSync network.
hardhat-zksync-ethers: This plugin is a wrapper around zksync-ethers sdk that gives additional methods to use for faster development.
You can find more detailed explanations on how to use hardhat zkSync plugins on our documentation page where each plugin has its own section:
hardhat-zksync-solc
hardhat-zksync-deploy
hardhat-zksync-verify
hardhat-zksync-verify-vyper
hardhat-zksync-vyper
hardhat-zksync-chai-matchers
hardhat-zksync-toolbox
hardhat-zksync-upgradeable
hardhat-zksync-ethers
We hope you find these plugins useful in your development efforts.
Happy coding!🙌🎉\o/
hardhat-zkSync is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.