πŸ› οΈSDKs

Development tools to build on txSync network

The txsync-sdk provides essential tools for developers to interact with the ZKsync network. Currently, the SDK supports Tsuko, our paymaster solution. The power of txsync-sdk lies primarily in the paymaster object and its methods, which allow for advanced control over transaction fees and interactions on the ZKsync network.

πŸ›  Prerequisites

Before getting started with the txsync-sdk, ensure your environment meets the following prerequisites:

  • Node.js: Version >= 18

  • Ethers.js: Version ^6.8.0

    • Ethers.js is required to handle interactions with the ZKsync network.

  • Viem: Version ^2.17.3

    • Required for additional utility functions and interactions within the SDK.

# Install ethers.js
npm install ethers@^6.8.0

Once your environment is set up, you’re ready to start using the txsync-sdk to manage transactions and leverage paymaster functionalities on zkSync.

Last updated