Home
Hardhat plugins for zkSync 2.0
JS Web3 SDK
  • JS Web3 SDK
  • Getting started
  • Providers
  • Accounts: overview
  • Accounts: L1->L2 transactions
  • Contracts
  • zkSync features
  • Utilities
  • Types
  • Front-end integration
  • Home
  • /
  • JS Web3 SDK
  • /
  • Front-end integration

Front-end integration

What's on the page
  • Going to production rightaway
  • Enabling zkSync features

This section describes how to make the most of zkSync to provide the best UX.

Going to production rightaway

If your front-end code does not deploy new smart contracts, then no changes for the codebase are required! All the existing SDKs/infrastructure will work out-of-box.

Enabling zkSync features

If you want to deploy smart contracts or enable advanced zkSync features, like paying fees in ERC20 tokens, then you need to use the zksync-web3 library for that. You can read about the basics here.

If you want to see some code, check out our basic tutorial for full mini-dApp.

Last updated: 8/23/2022, 9:04:05 AM
Previous
Types
Edit on GitHub
  • Going to production rightaway
  • Enabling zkSync features