Releases: klaytn/caver-java
Release v1.5.3-rc.4
Fixed
- Fixes the test cases that sometimes fails(#166)
Release v1.5.3-rc.3
Release v1.5.3-rc.2
Fixed
- Unified key value in in-memory wallet.(#163)
- When adding keyring instance to wallet, the keyring's address(used key in in-memory wallet) converts lowercase.
Also, when getting keyring instance form wallet, the address to find keyring converts lowercase.
- When adding keyring instance to wallet, the keyring's address(used key in in-memory wallet) converts lowercase.
Improvements
- Modified method in ContractMethod class(#161)
- add call(List argument) / callWithSolidityWrapper(List argument) method in ContractMethod.
- From now on, even if user don't need to create a CallObject instance, it is created internally.
- If the function of the smart contract you want to call requires access permission, it maybe need customized CallObject instance.
- modified encodeABI(), encodeABISolidityWrapper()
- It handles the case when passed null parameter in these functions.
- add call(List argument) / callWithSolidityWrapper(List argument) method in ContractMethod.
- Modified method to handle uncompressed public key with 04 tag(#162)
Release v1.5.3-rc.1
Release v1.5.2
v1.5.2 Release Notes
Improvements
- sendRawTransaction() in
com.klaytn.caver.rpc.Klayclass now can receive a Transaction instance as a parameter (#153). - encodeContractDeploy() in
com.klaytn.caver.abi.ABIclass now directly generates ABI bytecode of a contract (which will be fed into theinputfield of caver.transaction.smartContractDeploy) from the bytecode and the constructor parameters of this contract (#153).
Fixed
Fixed a bug that a smart contract can't choose the right function to execute/call when two or more overloaded functions (having the same name and the same number of input arguments but the type of these arguments are different from each other) (#153). Changes are made in the functions below:
* callWithSolidityWarapper() in com.klaytn.caver.contract.ContractMethod class
* sendWithSolidityWarapper() in com.klaytn.caver.contract.ContractMethod class
* encodeABIWithSolidityWrapper() in com.klaytn.caver.contract.ContractMethod class
* encodeFunctionCallWithSolidityWrapper() in com.klaytn.caver.abi.ABI class
- Fixed bugs in calling JSON-RPC APIs below (#155).
com.klaytn.caver.rpc.Klay.getAccount()com.klaytn.caver.rpc.Klay.getAccountKey()- Fixed a bug that error occurs when the length of any one of the hexadecimal strings of the 'X' and 'Y' coordinates (your public key) in elliptic curve is less than 64, by padding a zero at the leftmost position in that string.
Release v1.5.2-rc.1
v1.5.2 Release Notes
Improvements
- sendRawTransaction() in
com.klaytn.caver.rpc.Klayclass now can receive a Transaction instance as a parameter (#153). - encodeContractDeploy() in
com.klaytn.caver.abi.ABIclass now directly generates ABI bytecode of a contract (which will be fed intoinputfield of caver.transaction.smartContractDeploy) from the bytecode and the constructor parameters of this contract (#153).
Fixed
- Fixed a bug that a smart contract can't choose the right function to execute/call when two or more different functions have the same number of input argument (#153). Changes are made in the functions below:
- callWithSolidityWarapper() in
com.klaytn.caver.contract.ContractMethodclass - sendWithSolidityWarapper() in
com.klaytn.caver.contract.ContractMethodclass - encodeABIWithSolidityWrapper() in
com.klaytn.caver.contract.ContractMethodclass - encodeFunctionCallWithSolidityWrapper() in
com.klaytn.caver.abi.ABIclass
- callWithSolidityWarapper() in
- Fixed a bug that JSON type response string parsed error from calling Klaytn JSON / RPC API (#155)
Klay.getAccount()Klay.getAccountKey()
Release v1.5.1
New Features
Contractclass incaver.contractthat enables you to use a smart contract as a Java object.ABIclass incaver.abithat allows you to decode or encode parameters with an ABI (Application Binary Interface).ABIclass incaver.abithat makes a function/event ID for the given function/event signature.KIP7class incaver.kct.kip7that allows you to interact with a KIP-7 token contract in Klaytn.KIP17class incaver.kct.kip17that allows you to interact with a KIP-17 token contract in Klaytn.
Release v1.5.1-rc.1
New Features
Contractclass incaver.contractthat enables you to use smart contract as a Java object.ABIclass incaver.abithat allows you to decode or encode parameters with an ABI (Application Binary Interface).KIP7class incaver.kct.kip7that allows you to interact with a KIP-7 token contract in Klaytn.KIP17class incaver.kct.kip17that allows you to interact with a KIP-17 token contract in Klaytn.
Release v1.5.0
v1.5.0 Release Notes
Highlights : The common architecture of caver, the Klaytn SDK, is implemented.
Common Architecture is a new software architecture for Klaytn development environment which is shared by all Klaytn SDKs (caver-js/caver-java). It is designed for your streamlined development experience and ease of extensibility to other programming languages. Common Architecture realizes a much easier implementation of blockchain applications with other languages if you have former experiences with the existing Klaytn SDKs, as they all share the same architectural background.
The changes made in this new version of caver-java align the architectural bases of Klaytn SDKs into a single structure. From these changes, you can understand and develop blockchain applications with Klaytn and expand your choice of languages for building your application, much more easily, fast, and with great convenience.
For more details about caver-java 1.5.0, please visit Getting Started.
This new version does not broke the backward compatibility. Usage with previous versions works as the same as before for the new versions.
New Features
-
Introduced
caver.accountwhich provides a structure that can be used to update a Klaytn account.- Introduced
Accountclass to update a Klaytn account. AnAccountinstance has an address and an AccountKey. -
- Introduced the
AccountKeytype classes to represent an account key (AccountKeyPublic, AccountKeyWeightedMultiSig, AccountKeyRoleBased, AccountKeyLegacy, AccountKeyFail, AccountKeyNil), which is used for validating transaction in Klaytn, of a Klaytn account.- Introduced AccountKeyLegacy class to represent AccountKeyLegacy
- Introduced AccountKeyPublic class to represent AccountKeyPublic
- Introduced AccountKeyFail class to represent AccountKeyFail
- Introduced AccountKeyNil class to represent AccountKeyNil
- Introduced AccountKeyWeightedMultiSig class to represent AccountKeyWeightedMultiSig
- Introduced AccountKeyRoleBased class to represent AccountKeyRoleBased
- Introduced the
caver.accountreplacescaver.tx.accountin caver-java 1.4.0
- Introduced
-
Introduced
caver.walletwhich provides functionality for using Klaytn account in caver-java- Introduced
KeyringContainerclass to manange keyrings in in-memory wallet- Introduced
Keyringwhich includes an address and private key(s)- Introduced
SingleKeyringwhich includes an address and a private key - Introduced
MultipleKeyringwhich includes an address and private keys - Introduced
RoleBasedKeyringwhich includes an address and private keys by role
- Introduced
caver.walletreplacescaver.cryptoin caver-java 1.4.0caver.wallet.KeyStorereplacescaver.wallet.WalletFilein caver-java 1.4.0
- Introduced
- Introduced
-
Introduced
caver.transactionwhich provides classes for various transaction types provided by Klaytn- Basic type transaction classes
- Introduced
LegacyTransactionclass to represent TxTypeLegacyTransaction - Introduced
ValueTransferclass to represent TxTypeValueTransfer - Introduced
ValueTransferMemoclass to represent TxTypeValueTransferMemo - Introduced
AccountUpdateclass to represent TxTypeAccountUpdate - Introduced
SmartContractDeployclass to represent TxTypeSmartContractDeploy - Introduced
SmartContractExecutionclass to represent TxTypeSmartContractExecution - Introduced
Cancelclass to represent TxTypeCancel - Introduced
ChainDataAnchoringclass to represent TxTypeChainDataAnchoring
- Introduced
- Fee delegation type transaction classes
- Introduced
FeeDelegatedValueTransferclass to represent TxTypeFeeDelegatedValueTransfer - Introduced
FeeDelegatedValueTransferMemoclass to represent TxTypeFeeDelegatedValueTransferMemo - Introduced
FeeDelegatedAccountUpdateclass to represent TxTypeFeeDelegatedAccountUpdate - Introduced
FeeDelegatedSmartContractDeployclass to represent TxTypeFeeDelegatedSmartContractDeploy - Introduced
FeeDelegatedSmartContractExecutionclass to represent TxTypeFeeDelegatedSmartContractExecution - Introduced
FeeDelegatedCancelclass to represent TxTypeFeeDelegatedCancel - Introduced
FeeDelegatedChainDataAnchoringclass to represent TxTypeFeeDelegatedChainDataAnchoring
- Introduced
- Fee Delegated with ratio type transaction classes
- Introduced
FeeDelegatedValueTransferWithRatioclass to represent TxTypeFeeDelegatedValueTransferWithRatio - Introduced
FeeDelegatedValueTransferMemoWithRatioclass to represent TxTypeFeeDelegatedValueTransferMemoWithRatio - Introduced
FeeDelegatedAccountUpdateWithRatioclass to represent TxTypeFeeDelegatedAccountUpdateWithRatio - Introduced
FeeDelegatedSmartContractDeployWithRatioclass to represent TxTypeFeeDelegatedSmartContractDeployWithRatio - Introduced
FeeDelegatedSmartContractExecutionWithRatioclass to represent TxTypeFeeDelegatedSmartContractExecutionWithRatio - Introduced
FeeDelegatedCancelWithRatioclass to represent TxTypeFeeDelegatedCancelWithRatio - Introduced
FeeDelegatedChainDataAnchoringWithRatioclass to represent TxTypeFeeDelegatedChainDataAnchoringWithRatio
- Introduced
caver.transactionreplacescaver.txin caver-java 1.4.0
- Basic type transaction classes
-
Introduced
caver.rpcto interact with Klaytn nodes through JSON RPC calls.- Introduced
caver.rpc.klayto accessklaynamespace in Klaytn by calling JSON RPC - Introduced
caver.rpc.netto accessnetnamespace in Klaytn by calling JSON RPC caver.rpcreplacesKlay,Netinterfaces in caver-java 1.4.0
- Introduced
-
Introduced
caver.utilsto provide utility functions.
Release v1.5.0-rc.1
Release Notes
Highlights : The common architecture of caver, the Klaytn SDK, is implemented.
Common Architecture is a new software architecture for Klaytn development environment which is shared by all Klaytn SDKs (caver-js/caver-java). It is designed for your streamlined development experience and ease of extensibility to other programming languages. Common Architecture realizes a much easier implementation of blockchain applications with other languages if you have former experiences with the existing Klaytn SDKs, as they all share the same architectural background.
The changes made in this new version of caver-js align the architectural bases of Klaytn SDKs into a single structure. From these changes, you can understand and develop blockchain applications with Klaytn and expand your choice of languages for building your application, much more easily, fast, and with great convenience.
For more details about caver-java 1.5.0, please visit Getting Started.
This new version does not broke the backward compatibility. Usage with previous versions works as the same as before for the new versions.
New Features
-
Introduced
caver.accountwhich provides a structure that can be used to update a Klaytn account.- Introduced
Accountclass to update a Klaytn account. AnAccountinstance has an address and an accountKey - Introduced the
AccountKeytype classes to represent an account key of a Klaytn account.- Introduced the AccountKeyLegacy class represents AccountKeyLegacy
- Introduced the AccountKeyPublic class represents AccountKeyPublic
- Introduced the AccountKeyFail class represents AccountKeyFail
- Introduced the AccountKeyWeightedMultiSig class represents AccountKeyWeightedMultiSig
- Introduced the AccountKeyRoleBased class represents AccountKeyRoleBased
caver.accountreplacescaver.tx.accountin caver-java 1.4.0
- Introduced
-
Introduced
caver.walletwhich provides functionality for using Klaytn account in caver-java- Introduced the
KeyringContainerclass to manange keyrings in in-memory wallet- Introduced
Keyringwhich includes an address and private key(s)- Introduced
SingleKeyringwhich includes an address and a private key - Introduced
MultipleKeyringwhich includes an address and private keys - Introduced
RoleBasedKeyringwhich includes an address and private keys by roles
- Introduced
caver.walletrelpacescaver.cryptoin caver-java 1.4.0caver.wallet.KeyStorereplacescaver.wallet.WalletFilein caver-java 1.4.0
- Introduced
- Introduced the
-
Introduced
caver.transactionwhich provides classes for various transaction types provided by Klaytn- Basic type transaction classes
- Introduced the
LegacyTransactionclass represents TxTypeLegacyTransaction - Introduced the
ValueTransferclass represents TxTypeValueTransfer - Introduced the
ValueTransferMemoclass represents TxTypeValueTransferMemo - Introduced the
AccountUpdateclass represents TxTypeAccountUpdate - Introduced the
SmartContractDeployclass represents TxTypeSmartContractDeploy - Introduced the
SmartContractExecutionclass represents TxTypeSmartContractExecution - Introduced the
Cancelclass represents TxTypeCancel - Introduced the
ChainDataAnchoringclass represents TxTypeChainDataAnchoring
- Introduced the
- Fee delegation type transaction classes
- Introduced the
FeeDelegatedValueTransferclass represents TxTypeFeeDelegatedValueTransfer - Introduced the
FeeDelegatedValueTransferMemoclass represents TxTypeFeeDelegatedValueTransferMemo - Introduced the
FeeDelegatedAccountUpdateclass represents TxTypeFeeDelegatedAccountUpdate - Introduced the
FeeDelegatedSmartContractDeployclass represents TxTypeFeeDelegatedSmartContractDeploy - Introduced the
FeeDelegatedSmartContractExecutionclass represents TxTypeFeeDelegatedSmartContractExecution - Introduced the
FeeDelegatedCancelclass represents TxTypeFeeDelegatedCancel - Introduced the
FeeDelegatedChainDataAnchoringclass represents TxTypeFeeDelegatedChainDataAnchoring
- Introduced the
- Fee Delegated with ratio type transaction classes
- Introduced the
FeeDelegatedValueTransferWithRatioclass represents TxTypeFeeDelegatedValueTransferWithRatio - Introduced the
FeeDelegatedValueTransferMemoWithRatioclass represents TxTypeFeeDelegatedValueTransferMemoWithRatio - Introduced the
FeeDelegatedAccountUpdateWithRatioclass represents TxTypeFeeDelegatedAccountUpdateWithRatio - Introduced the
FeeDelegatedSmartContractDeployWithRatioclass represents TxTypeFeeDelegatedSmartContractDeployWithRatio - Introduced the
FeeDelegatedSmartContractExecutionWithRatioclass represents TxTypeFeeDelegatedSmartContractExecutionWithRatio - Introduced the
FeeDelegatedCancelWithRatioclass represents TxTypeFeeDelegatedCancelWithRatio - Introduced the
FeeDelegatedChainDataAnchoringWithRatioclass represents TxTypeFeeDelegatedChainDataAnchoringWithRatio
- Introduced the
caver.transactionreplacescaver.txin caver-java 1.4.0
- Basic type transaction classes
-
Introduced
caver.rpcto interact with Klaytn nodes through JSON RPC calls.- Introduced
caver.rpc.klaysupports klay namespace JSON RPC calls - Introduced
caver.rpc.netsupports net namespace JSON RPC calls caver.rpcreplacesKlay,Netinterfaces in caver-java 1.4.0
- Introduced
-
Introduced
caver.utilsprovides utility functions.