zksync

Document zkSync Era development with hardhat-zksync and foundry-zksync tooling.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/0xinit/cryptoskills --skill zksync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zksync
Source: https://github.com/0xinit/cryptoskills/tree/main/skills/zksync
Command: npx skills add https://github.com/0xinit/cryptoskills --skill zksync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and templates (resource) and examples (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and tools for developing, deploying, and interacting with smart contracts on the zkSync Era network, addressing the unique challenges and differences compared to Ethereum.

Core Features & Use Cases

  • EVM Nuances: Understand critical differences in opcodes, account models, and transaction handling.
  • Development Tooling: Set up and use hardhat-zksync and foundry-zksync for efficient development.
  • Deployment & AA: Learn patterns for contract deployment, native account abstraction, and paymaster integration.
  • Use Case: A developer needs to deploy a new DeFi protocol on zkSync Era. This Skill guides them through setting up their environment, understanding zkEVM specifics, deploying their contracts, and configuring a paymaster for gasless transactions.

Quick Start

Follow the Hardhat-zksync setup instructions to configure your project for zkSync Era development.

Frequently Asked Questions about zksync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy smart contracts to zkSync Era using Hardhat?

To deploy smart contracts to zkSync Era, configure your environment using the hardhat-zksync deployment tooling. This Skill provides setup instructions, templates, and examples to guide you through compiling and deploying your contracts on the zk-rollup layer-2 network.

What are the EVM differences when developing for zkSync Era?

When developing for zkSync Era, you must account for EVM differences in opcodes, account models, and transaction handling. This Skill details these zkEVM specifics, including ZK-specific compilation, gas models, and system contract interactions to ensure correct contract execution.

How do I implement native account abstraction and paymasters on a layer-2 network?

Implement native account abstraction and paymasters on a layer-2 network by following the integration patterns provided in this Skill. It covers how to configure paymasters for gasless transactions and utilize zkSync Era's native account abstraction features effectively.

Does foundry-zksync work for deploying DeFi protocols on a zk-rollup?

Yes, foundry-zksync works for deploying DeFi protocols on a zk-rollup. This Skill includes technical documentation and examples for using foundry-zksync alongside hardhat-zksync to manage your zkSync Era development and deployment workflow.

Why does ZK-specific compilation fail for my smart contracts?

ZK-specific compilation may fail for smart contracts due to unsupported opcodes or incorrect system contract interactions. This Skill identifies critical EVM nuances and deployment tooling requirements to help you resolve compilation errors on zkSync Era.