ewerx / zksync-starter

⚡ A monorepo starter kit for building zkSync apps
https://zksync-starter.vercel.app
8 stars 3 forks source link
ethereum hardhat nextjs rainbowkit solidity turborepo typescript web3 zksync

zkSync Turborepo Starter

A zkSync + Next.js Turborepo starter kit to quickly ship L2 Web3 apps.

screenshot

What's inside?

Apps

Packages

Developer Experience

Get Started

Install pnpm if you don't have it already:

npm install -g pnpm

Install dependencies:

cd zksync-starter
pnpm install

Start the web app:

turbo dev

ℹ️ You can run commands in the root of the repo or in any of the apps or packages. See turbo.json for monorepo configuration. pnpm run to see available commands.

Contract Development

Start Local Network

Requires Docker. See https://github.com/matter-labs/local-setup for more info.

turbo node

The initial setup takes a while and should not be interrupted

Compile

turbo compile

Test

turbo test

Deploy

Edit apps/contracts/hardhat.config.ts to set RPC URL and deployer private key.

turbo deploy

Resources

This starter kit is based on:

zkSync