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.
-
RestProvider
class, that is used for querying REST API v0.2. -
SyncProvider
interface: common interface for API v0.2RestProvider
and JSON RPCProvider
. -
Types for REST API v0.2.
-
RestProvider
class, that is used for queriing REST API v0.2. -
SyncProvider
interface: common interface for API v0.2RestProvider
and JSON RPCProvider
. -
Types for REST API v0.2.
- Changed type of
provider
field inWallet
class fromProvider
toSyncProvider
. ForcedExit
fee type is used forForcedExit
transactions instead ofWithdraw
fee type.zksync-crypto
to support atomic swaps/limit orders functionality.- Changed type of
provider
field inWallet
class fromProvider
toSyncProvider
. ForcedExit
fee type is used forForcedExit
transactions instead ofWithdraw
fee type.
- Exported classes:
ETHOperation
,Transaction
,ZKSyncTxError
- Exported types:
TotalFee
- (
BatchBuilder
) Make it possible to add signedChangePubKey
transaction to the batch.
- Method for calculation of transaction hash.
- Support for environments without WebAssembly.
- Hardcode gas limit for
depositERC20
for each token.
Signer.transferSignBytes
methodSigner.withdrawSignBytes
methodSigner.forcedExitSignBytes
methodSigner.changePubKeySignBytes
method
- Support of the new contracts upgrade functionality.
- BatchBuilder class for convenient batches creating.
zksync-crypto
release 0.4.5.
- WebSocket provider.
updateTokenSet
function that updates thetokenSet
stored in theProvider
.newMockProvider
andDummyTransport
. Tests for the library.closestGreaterOrEqPackableTransactionAmount
andclosestGreaterOrEqPackableTransactionFee
functions. Tests for them.- Checks for ERC-1271 wallets for whether the messages should be prefixed
- HTTP provider is now the default one.
- Bug with
integerToFloat
function. Now, it really rounds to the closest less or equal float number.
Version 0.8.3 is released.