All notable changes to casper-client-sdk.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Removes use of
Buffer
inparseKeyPair()
and instead creates newUint8Array
concatenating public and private keys for use as secret key in Ed25519 key pair.
- Parsing
ExecutableDeployItem
'sStoredContractByHash
from JSON to theExecutableDeployItem
object.
CasperClient.getDeployByHashFromRPC
allows for gettingDeploy
instance from the Node's RPC.
- Secp keys generator returns
Uint8Array
instead ofBuffer
.
CLValue.publicKey
acceptsPublicKey
object.
- Deserialize
Deploy.hash
toUint8Array
instead ofBuffer
.
CLValue.isList
andCLValue.asList
.
- BytesArrayValue's fromBytes.
- Partial support for the Contract object under StoredValue.
- Deploy's body hash derivation.
- Added
DeployUtils.addArgToDeploy(deploy: Deploy, name: string, value: CLValue)
to be able to modify Deploy's session arguments. It creates a new deploy instance. Can not be used on signed deploys.
- Default
gasPrice
changed from10
to1
. - Casper balances checks return
BigNumber
now.
- Started using CHANGELOG.md.
- Changed CLValue's
value
tovalue()
andremainder
toremainder()
.