All notable changes to zksync.js will be documented in this file.
-
Methods for working with NFTs. You can read more here.
-
Methods for working with atomic swaps/limit orders. You can read more here.
-
RestProviderclass, that is used for querying REST API v0.2. -
SyncProviderinterface: common interface for API v0.2RestProviderand JSON RPCProvider. -
Types for REST API v0.2.
-
RestProviderclass, that is used for queriing REST API v0.2. -
SyncProviderinterface: common interface for API v0.2RestProviderand JSON RPCProvider. -
Types for REST API v0.2.
- Changed type of
providerfield inWalletclass fromProvidertoSyncProvider. ForcedExitfee type is used forForcedExittransactions instead ofWithdrawfee type.zksync-cryptoto support atomic swaps/limit orders functionality.- Changed type of
providerfield inWalletclass fromProvidertoSyncProvider. ForcedExitfee type is used forForcedExittransactions instead ofWithdrawfee type.
- Exported classes:
ETHOperation,Transaction,ZKSyncTxError - Exported types:
TotalFee
- (
BatchBuilder) Make it possible to add signedChangePubKeytransaction to the batch.
- Method for calculation of transaction hash.
- Support for environments without WebAssembly.
- Hardcode gas limit for
depositERC20for each token.
Signer.transferSignBytesmethodSigner.withdrawSignBytesmethodSigner.forcedExitSignBytesmethodSigner.changePubKeySignBytesmethod
- Support of the new contracts upgrade functionality.
- BatchBuilder class for convenient batches creating.
zksync-cryptorelease 0.4.5.
- WebSocket provider.
updateTokenSetfunction that updates thetokenSetstored in theProvider.newMockProviderandDummyTransport. Tests for the library.closestGreaterOrEqPackableTransactionAmountandclosestGreaterOrEqPackableTransactionFeefunctions. Tests for them.- Checks for ERC-1271 wallets for whether the messages should be prefixed
- HTTP provider is now the default one.
- Bug with
integerToFloatfunction. Now, it really rounds to the closest less or equal float number.
Version 0.8.3 is released.