This repository was archived by the owner on Jul 23, 2024. It is now read-only.
Release v1.8.0
v1.8.0 Release Notes
What's New
- In line with Klaytn's pursuit of Ethereum equivalence, Klaytn now supports Ethereum transaction types. But what is an update without SDKs? You can start using these transactions with caver, via
caver.transaction.- Access lists are now available with
TxTypeEthereumAccessListwhich was introduced with EIP-2930- The
EthereumAccessListclass is available incaver.transaction.ethereumAccessListasTxTypeEthereumAccessList.
- The
- The transaction type
TxTypeEthereumDynamicFeepresented in the proposal EIP-1559 is also available- The
EthereumDynamicFeeclass is available incaver.transaction.ethereumDynamicFeeasTxTypeEthereumDynamicFee.
- The
- Access lists are now available with
- The newly added
klaynamespace API functions are now available with caver via caver.rpc.klay!- caver.rpc.klay.getHeader
- caver.rpc.klay.getFeeHistory
- caver.rpc.klay.getMaxPriorityFeePerGas
- caver.rpc.klay.createAccessList
- You can use the
ecsignfunction the new Ethereum transaction types.- The nitty-gritty: You have to sign the transaction types
EthereumAccessListandEthereumDynamicFeeviaecsignto generate the ECDSA signatures. - If you are inquisitive, the
vin the signature values {v, r, s} for the new Ethreuem transaction types is a parity (0 for even, 1 for odd) of the y-value of the Secp256k1 curve, whereas thevin Klaytn containschainId, making them incompatible. - Find it here.
- The nitty-gritty: You have to sign the transaction types