zksync-cli create

Use the zksync-cli create command to streamline project setup.

The zksync-cli create command streamlines project setup by offering templates for frontend development, smart contracts, and scripting for ZKsync, enabling rapid deployment and development.

Prerequisites

Ensure you have the following installed before you start:

Available Templates

zksync-cli create simplifies the initial project setup by providing templates in three main categories:

Frontend

Fast-track your UI development with our frontend templates, supporting popular frameworks like Vue, React, Next.js, Nuxt, and Vite. Options include viem, ethers, web3modal, rainbowkit, and more, equipping you with the necessary tools for dApp development.

ZKsync Frontend Templates repo can be found here

Contracts

For smart contract development, choose from templates designed for quick deployment and testing, compatible with Solidity or Vyper. Utilize tools like Hardhat to streamline your workflow.

ZKsync Contract Templates repo can be found here

Scripting

Enhance your project with Node.js scripting templates for automated interactions and advanced ZKsync operations. Includes examples of wallet or contract interactions using viem, ethers, or web3.js.

ZKsync Scripting Examples repo can be found here

Using Templates

To create a project using a template, run the following command and follow the prompts to select your desired template category and specific framework or tool:

zksync-cli create

Made with ❤️ by the ZKsync Community