zksync

Build zkSync Era development patterns for smart accounts, deployments, paymasters, and bridging.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

zkSync Era development patterns enable building secure, scalable L2 apps with native account abstraction, integrated paymasters, and seamless L1-L2 bridging.

Core Features & Use Cases

  • Native AA integration and system contracts usage to deploy smart accounts and run transactions.
  • Paymaster patterns for sponsored or token-based gas.
  • Bridging and cross-chain messaging with L1 contracts and L2 state.

Quick Start

Set up a zkSync project, compile with zksolc, and deploy a sample contract via ContractDeployer to begin testing AA, paymasters, and bridging.

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 on zkSync Era using ContractDeployer?

To deploy smart contracts on zkSync Era, compile your code with zksolc and use the ContractDeployer system contract to enable EraVM extensions for execution. This process facilitates native account abstraction integration and manages gas for your DApp deployment.

What is native account abstraction in zkSync Era?

Native account abstraction in zkSync Era is a protocol feature allowing smart accounts to initiate transactions directly without an EOA. It leverages system contracts to validate and execute transactions, enabling custom signature schemes and integrated paymasters for gas sponsorship.

How do I configure a paymaster for sponsored gas on zkSync Era?

Configuring a paymaster on zkSync Era involves implementing specific paymaster patterns to sponsor transaction gas or accept token-based payments. You must interact with the system contracts to define the validation logic for your paymaster.

How does bridging and cross-chain messaging work between L1 and zkSync Era?

Bridging between L1 and zkSync Era works by sending messages to L1 contracts that sync with L2 state. This cross-chain messaging mechanism enables seamless asset transfers and communication between Ethereum and your zkSync DApp.

Can I use zksolc to compile contracts with EraVM extensions enabled?

Yes, you can use zksolc to compile contracts for zkSync Era with EraVM extensions enabled. This compiler is required to generate the bytecode necessary for the ContractDeployer and to ensure compatibility with the EraVM architecture.

How do I manage gas and public data when deploying to zkSync Era?

Managing gas and public data on zkSync Era involves configuring your deployment and transaction logic to handle the EraVM's specific fee model. You must account for native account abstraction interfaces and paymaster rules to ensure proper state management.