All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.23.1 (2019-10-22)
- utils add methods for calculating transaction fee (1dd82a4)
- add utils.serializeTransaction method to serialize a full transaction;
- add utils.calculateTrasnactionSize to get the size of a full transaction
0.23.0 (2019-10-19)
- address: add support to addresses in full version format (a385821)
- core: add transaction builder for signing transactions with multiple private keys (d5d69c0)
- core: remove address module (#369) (e467427)
-
core: remove address module and add key pair module
- ci: add codecov config for a tolerant threshold
- feat(utils): add some util methods for getting public keys and addresses from private keys
- add a method of core.utils.privateKeytoPublicKey
- add a method of core.utils.privateKeyToAddress
-
core: KeyPair from the core module
- fix(core): fix the lock script in the sending transactions example
-
address: rename an parameter in bech32Address method from codeHash to codeHashOrCodeHashIndex
0.22.1 (2019-10-12)
- rpc: use bigint instead of number in signatures of rpc methods
0.22.0 (2019-10-05)
- address: enable address to load cells and generate signed transactions (2e5803c)
- cli: deprive this repo of the ckb-cli (2befcff)
- core: move the address module into the core module (10dd017)
- rpc: update rpc signatures (201901d)
- rpc: use bigint instead of number in the interfaces of rpc methods (c8d994b)
- type: update the fields of BlockHeader (55de626)
- type: update the result of getCellsByLockHash method (31eb97e)
- type: update the structure of Epoch (76770f4)
- type: update the type of args (09d649a)
- type: update the type of witness (71f53b0)
- utils: update the interface of utils.parseAddress (90feb91)
- type: replace difficulty with compactTarget in Epoch
- type:
- remove unclesCount
- merge witnessesRoot and transactionRoot
- replace difficulty with compactTarget
- type: change the type of args from string[] to string
- type: change the type of witnes from { data: string[] } to string
- rpc: use bigint instead of number in the interfaces of rpc methods
- utils: remove the prefix from the parameter list of utils.parseAddress
- core: move the address module into the core module
- type: update the result of getCellsByLockHash method
0.21.1 (2019-09-24)
- rpc: add a parser for optional parameters (274268e)
- rpc: update the returned cell type of getLiveCell from cell to liveCell (4a69d85)
0.21.0 (2019-09-21)
- address rename public key identifier to publicKeyHash (b33c096)
- rpc: format the outputs of the params formatter (740b403)
- rpc: update the interface of getLiveCell (0280d7f)
- utils: format the outputs of the utils module (a30071c)
- rpc: update the interface of getLiveCell
- address rename public key identifier to publicKeyHash
- rpc: hexilize the outputs of the params formatter
- utils: hexilize the outputs of the utils module
0.20.0 (2019-09-07)
- utils: add the serializeScript method in the utils module (85dffcb)
- utils: update the scriptToHash method in the utils module with a new serialization method (abeabf4)
- utils: update the scriptToHash method in the utils module with a new serialization method
0.19.1 (2019-08-28)
- rpc: enable custom http agent and https agent (34fca52)
0.19.0 (2019-08-27)
- core: add the RPC of computeScriptHash (705f51e)
- core: use secp256k1 dep group instead of secp256k1 cell (578eb43)
- core: use the secp256k1 type script hash as the code hash of the secp256k1 dep (617487e)
- type: block header structure changes (ce48faf)
- type: CellOutput and Epoch structures change (8346ae4)
- type: Input structure changes (ba16d1b)
- type: OutPoint structure changes (38ba007)
- type: rename is_dep_group to dep_type (06c324a)
- type: set the value of hash_type to "data" and "type" (36a5512)
- type: Transaction structure changes (30c84bb)
- type: Transaction structure changes (71625fa)
- type: Transaction structure changes (df65152)
- utils: rename the method of lockScriptToHash to scriptToHash (40cdbaa)
- type: set the value of hash_type to "data" and "type"
- type: rename is_dep_group to dep_type
- type: block header structure changes
- utils: rename the method of lockScriptToHash to scriptToHash
- core: use secp256k1 dep group instead of secp256k1 cell
- type: CellOutput and Epoch structures change
- type: Transaction structure chagnes
- type: OutPoint structure changes
- type: Input structure chagnes
0.18.0 (2019-08-10)
- rpc: add get_cellbase_output_capacity_details rpc (fa3aea3)
- rpc: add get_header rpc (d2a6bbb)
- rpc: add get_header_by_number rpc (54f9d19)
- rpc: add new rpc of set ban (416e7fd)
- rpc: add rpc of get banned addresses (323b8ac)
0.17.1 (2019-07-29)
- types: remove the hash_type field from the type of cell_out_point (58c019f)
- types: the type of cell out point changes
0.17.0 (2019-07-27)
- types: add a new field named 'hash_type' in types of script and cell output (2692c0a)
- utils: update the address format (74a5ad8)
- types: types of script and cell output changed
- utils: update the address format
0.16.0 (2019-07-13)
Note: Version bump only for package ckb-sdk-js
0.15.1 (2019-07-12)
- rpc: fix the return type of get_transaction api (a1a5cf4)
- utils: remove toAddressIdentifier method (ab1e356)
- utils: remove toAddressIdentifier method
0.15.0 (2019-06-29)
- rpc: binding the node of method instances to the one of rpc instance. (f0b486a)
- cli: add dashboard mode of ckb-cli (9accdeb)
- rpc: add index related rpc (cf8931b)
- rpc: add index related rpc (2a7d403)
- rpc: update get blockchain info rpc (7382458)
- rpc: update the type of epoch (509a79b)
- utils: add signRecoverable method to the ECPair class (3c1f334)
- rpc: update the type of epoch, remove block_reward, last_block_hash_in_previous_epoch, remainder_reward fields, add epoch_reward field.
- rpc: replace warnings field with alerts field in the response of get blockchain info rpc
- utils: use signRecoverable instead of sign method to sign the transactions.
0.14.0 (2019-06-15)
- types: remove the args field in cell input type (d07f253)
- core: add signWitnesses and signTransaction methods in the core module (c20d36c)
- types: the type of cell input changes, its args field is removed.
0.13.0 (2019-06-01)
- address: add blake160-ed public key as address identifier (b7bee1c)
- rpc: add total_tx_cycles and total_tx_size in tx_pool_info (5db06fa)
0.12.0 (2019-05-18)
- rpc: fix get live cell rpc (dffcc55)
- rpc: fix the return type of getCellsByLockHash from cellByLockHash to cellIncludingOutPoint (f648f56)
- core: add _compute_transaction_hash rpc (9f81f28)
- core: add address module into core module (d5d75ec)
- core: add load system cell method (94af040)
- core: remove wallet module (551f5a2)
- rpc: add get epoch by number rpc (d1141dd)
- rpc: add get peers rpc (f67eee6)
- rpc: add get tx pool info rpc (203dcde)
- rpc: add one new rpc and remove two rpc (21c4ac4)
- rpc: add rpc of get blockchain info and get peers state (9f7d20c)
- rpc: add rpc of getCurrentEpoch (9e631db)
- rpc: export formatter as helpers in rpc module (160aa1c)
- rpc: generalize outpoint (2a41797)
- rpc: update staging in tx pool info to proposed (a4f4192)
- types: rename the proposals_root field in block header to proposals_hash (b2db527)
- types: update type of outpoint
- types: rename the proposals_root field in block header to proposals_hash
- wallet: remove wallet module
0.11.0 (2019-05-14)
- types: update basic types in CKB (71d4e5)
- types: add shannon as a new capacity unit (910cc5)
- feat: remove always success wallet (febb5d)
- rpc: update rpc interface formatter according to new api (c0a631)
- feat: add address module (c5b532)
- feat: remove always success wallet
- types: update basic types according to ckb-types update
0.10.0 (2019-05-06)
- utils: fix typo of seperator to separator (b336968)
- types: add field of validSince in cell input of a transaction (54770fc)
- types: remove cellbase id from block header, remove cellbase from uncle block (96a1f53)
- types: update ckb-types (e6af3b5)
- utils: add blake160, bech32, blake160PubkeyToAddress, pubkeyToAddress (82121b3)
- utils: parseAddress returns bytes or hex string instead of words (aaad9c9)
- types: replace type of u64 with type of string in ckb-types, remove version field from script interface
- types: rpc interface updated, add field of validSince in cell input of a transaction
- types: block header and uncle block in rpc updated
0.9.1 (2019-04-24)
- types: set the type of arg in script to string (7ea3ad2)
0.9.0 (2019-04-22)
- rpc: add segrated witnesses (bc8339f)
- types: update types of script, cell input, cell output (ee405bb)
- types: remove cellbase id from block header, remove cellbase from uncle block (de9f50d)
- utils: add blake160, bech32, blake160PubkeyToAddress, pubkeyToAddress (79cb24f)
- utils: parseAddress returns bytes or hex string instead of words (2028a6c)
- wallet: remove udt account (7e3cf6d)
- types: block header and uncle block in rpc updated
- types: script model updated
0.8.0 (2019-04-08)
0.7.0 (2019-03-25)
- account: remove all udt scripts (9b0f54b)
- utils: add type definition of blake2b-wasm (f2cd199)
- utils: repalce-sha3-with-blake2b (93bddd1)
- utils: update blake2b personal to 'ckb-default-hash' and add tests (5c3bab3)
- wallet: remove unlock.rb, use c script instead (3520208)
- utils: update default signature method