Java API
Introduction
Manage accounts and sign transactions in the ZKsync2-java.
The ZKsync2-java
library provides comprehensive classes for managing accounts and signing transactions on the ZKsync network:
Wallet
: Manage and sign transactions with ZKsync features.EthSigner
: Sign transactions with an Ethereum signer.
Why use these classes?
They simplify ZKsync blockchain interactions by providing:
- Security: Securely manage private keys and sign transactions.
- Convenience: Easily create and manage accounts with advanced features.
- Compatibility: Extend existing libraries for seamless project integration.
Classes
Wallet
The Wallet
class allows you to create and manage wallets, sign transactions, and interact with the ZKsync network seamlessly.
EthSigner
The EthSigner
class signs ZKsync transactions using an Ethereum signer, enabling compatibility with Ethereum-based
tools and workflows.
These classes enhance the functionality and security of managing accounts and signing transactions on the ZKsync
network using the ZKsync2-java
library.
zksync2-examples
Deploy Java
Deploy create2
Deploy Create Constructor
Deploy create
Deposit