[Notice] Klaytn SDK caver-js v1.6.1 Released
Today we are excited to announce that the caver-js (Javascript Software Development Kit of Klaytn) v1.6.1 has just been released.
caver.contract
of caver-js v1.6.1 supports the fee delegation model. Users can use fee delegation in the caver.contract
by additionally defining fields related to the fee delegation in the options
object delivered as a parameter of the function or in the contract.options
. In addition, the sign
and signAsFeePayer
functions are additionally provided to obtain a signed transaction to deploy or execute a specific smart contract. The create
function provided for the usability of Klaytn SDK is also available in caver-js v1.6.1.
Supported additional fields for fee delegation in options
feeDelegation
,feePayer
andfeeRatio
can be additionally defined in the object where the values used for creating a transaction are defined.
Supported signing functions in caver.contract
- In caver-js v1.6.1,
contract.sign
,contract.signAsFeePayer
,contract.methods.methodName.sign
andcontract.methods.methodName.signAsFeePayer
are additionally supported.
Supported fee-delegation model in caver.contract
- In caver-js v1.6.1, you can use the fee delegation model by defining fields related to fee delegation in the
options
object delivered as a parameter of the contract method orcontract.options
.
Provided create
function
- Caver-js v1.6.1 provides the
create
functions that can replace the constructor functions in order to provide the same usability of Klaytn SDK.
For detailed information about caver-js v1.6.1, please refer to https://github.com/klaytn/caver-js/releases/tag/v1.6.1.
To download caver-js, please visit https://www.npmjs.com/package/caver-js/v/1.6.1.