All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
v0.41.0 (2021-06-12)
- Fix JDK version 15 to 8
v0.41.0 (2021-06-12)
- Implement Mercury SDK(0a2b5fc)
v0.40.0 (2021-03-08)
- Remove indexer module rpc and disable get_cellbase_output_capacity_details rpc(0872f27)
- Remove indexer module rpc
- Add @Deprecated to get_cellbase_output_capacity_details rpc
v0.39.1 (2021-01-30)
- Fix WitnessArgs serialization size(bb73a39)
v0.39.0 (2021-01-12)
v0.38.1 (2020-12-16)
- Update interface RpcCallback public(b3f6b61)
v0.38.0 (2020-11-23)
Bump version to v0.38.0
v0.37.1 (2020-11-10)
- Lock bouncycastle version to 1.65 (79b870d)
v0.37.0 (2020-10-29)
- Add new rpc (
ping_peers
,clear_banned_addresses
,get_transaction_proof
,verify_transaction_proof
) (ad83ea7)
- Remove
get_cells_by_lock_hash
and indexer examples (d70522f)
- Remove
get_cells_by_lock_hash
rpc - Remove indexer and udt examples and new sudt examples will be added in the next release
v0.36.1 (2020-09-22)
- Package ckb-sdk.jar with jdk8
v0.36.0 (2020-09-22)
- Add @Deprecated to indexer rpc requests (ef26730)
v0.35.1 (2020-8-26)
- Add a
ckb-indexer
example (0f4eeda)
v0.35.0 (2020-8-25)
- Add
sync_state
rpc (202fda9) - Add tipHash to txPoolInfo(af8c54f)
- Add
set_network_active
rpc (bcd2c2b) - Add add_node and remove_node rpc (7cd8b9b)
- Add more fields to node_info and peer (bba542e)
- Set
get_peers_state
as deprecated rpc request (d2c4baf)
v0.34.0 (2020-7-21)
- Add batch rpc request (e5eef53)
- Add
clearTxPool
rpc request(64819d9) - Remove
estimateFeeRate
rpc request (054bd01) - Set
computeScriptHash
andcomputeTransactionHash
as deprecated rpc request (fec42ec)
- Remove
estimateFeeRate
rpc request (054bd01)
v0.33.0 (2020-6-22)
Bump version to v0.33.0
v0.32.0 (2020-5-26)
- Add Simple UDT example (18a15f5)
v0.31.0 (2020-4-17)
- Update cell collector error information (1468d85)
- Update output size calculating method (3e7f6d8)
v0.30.0 (2020-3-23)
- Replace test private key with dev chain private key (ad94180)
- Add fromBlockNumber to collectInputs method (3a66ab5)
- Refactor epoch parser class and method name (ca45791)
- Fix cell collector bug (80eca88)
v0.29.0 (2020-2-28)
v0.28.0 (2020-2-7)
Bump version to v0.28.0
v0.27.1 (2020-2-3)
- Add outputsValidator as parameter to sendTransaction rpc (d6d715e)
Add outputsValidator as parameter to sendTransaction rpc which is used to validate the transaction outputs before entering the tx-pool, an optional string parameter (enum: default | passthrough ), null means using default validator, passthrough means skipping outputs validation
v0.27.0 (2020-1-10)
- Reactor cell collector with iterator (a677b92)
- Adapt examples for new cell collector with iterator (41cc1a8)
v0.26.1 (2020-1-2)
- Add get_capacity_by_lock_hash rpc (69aea7b)
- Add example readme document (2a5bfd3)
- Update transaction builder (20eac75)
v0.26.0 (2019-12-14)
- Remove useless code (557632a)
v0.26.0-rc2 (2019-12-8)
- Implement Nervos DAO deposit (8cedeca)
- Implement Nervos DAO withdraw (8f330ff)
- Refactor collectInputs of CellCollector (1c74a03)
- Add fields of get_cells_by_lock_hash (b44c40a)
- Add fields of get_live_cells_by_lock_hash (2229dbe)
- Update set_ban params and estimate fee test case (b776c59)
v0.25.0 (2019-11-16)
- Update ckb-sdk build.gradle for packing (d0824ee)
v0.24.9 (2019-11-13)
- Impl indexer to collect cells and send transaction (cdbe0a0)
v0.24.8 (2019-11-13)
- Update occupiedCapacity method to convert ckb to shannon(bd00da8)
v0.24.7 (2019-11-12)
- Update cell output and script size calculating(b19d201)
- Update multisig transaction estimating fee(4a084fa)
- Remove useless min capacity(2709d57)
v0.24.6 (2019-11-09)
- Update witnesses signature and update witness initial value(78b2600)
- Update transaction fee calculating(400a763)
v0.24.5 (2019-11-08)
- Update address parse args length exception(dbf4fe5)
v0.24.2 (2019-11-07)
- Add AddressGenerator and AddressParser(dbf4fe5)
- Update address generator and parser for example(7cdf948)
v0.24.1 (2019-11-06)
- Refactor module names(rename core to ckb and add example module)(02ba44a)
- Split transaction building and signature(cc4fc63)
- Refactor multisig example to split transaction building and signature(48ac5c5)
- Update cell collector for transaction fee calculating(b4c720b)
- Rename core module to ckb
- Rename console module to ckb-sdk
- Create new example module
- Refactor examples for splitting transaction building and signature
- Reactor cell collector for transaction fee calculating
v0.24.0 (2019-11-02)
- Add estimate_fee_rate rpc(4e633ec)
- Update transaction example with estimating tx fee(43fe747)
- Update single sig transaction with new witness(48ac5c5)
- Impl multi sig address and transaction(9696651)
Sending transaction with single sig address will be changed because of new witness data structure and new signature logic.
v0.23.2 (2019-10-22)
- Fix witnesses count error(2163a03)
v0.23.1 (2019-10-22)
- Add transaction fee to sendCapacity example(60f2faf)
- Move exceptions to outside application(52b85e5)
- Add maven config to build.gradle(61f08ae)
v0.23.0 (2019-10-19)
- Impl transaction size and transaction fee calculating(c7285d3)
v0.22.0 (2019-10-05)
- Refactor rpc service module(ef7a809)
- Update script args and witnesses data type(af1f3ae)
- Update epoch and header structure(2e8a6af)
- header and epoch structures are changed.
- script args and witnesses are changed.
v0.21.1 (2019-09-25)
- Add blockHash and constructor for CellOutputWithOutPoint(fe3a929)
- Support multiply private keys to sign transaction(1ae3cc6)
- Support multiply private keys to sign transaction(4efd32c)
- Update readme about capacity transfer(d09587a)
v0.21.0 (2019-09-21)
- Add getBalance method and example usage(a915e66)
- Update header and nodeinfo data type to string(3f38f1)
- Update transaction parameter to hex string(1847c7d)
- Update integer to hex string for jsonrpc(f93b5bd)
- Update transaction generator and serializer data type to integer(96709a5)
- Remove hash for sendTransaction(9718b79)
- Update get_live_cell request parameters and response(25227d9)
- Update get_live_cell request parameters and response(d88ded8)
v0.20.0 (2019-09-07)
This version SDK supports computing script hash and transaction hash offline through script and transaction serialization.
- Move wallet to core module(1bd1050)
- Implement serialization schema (195a234)
- Implement serialization schema (2d55ea0)
- Implement serialization schema (384d555)
- Implement serialization schema (9433c56)
- Add serialization for script and transaction (2aaa141)
- Refactor secp256k1 sign and key method (f8d48c2)
v0.19.1 (2019-09-02)
- Fix script hash bug(342365c)
v0.19.0 (2019-08-28)
- Update transaction related data type(e36173d)
- Update transaction related data type(e5bbf46)
- Update transaction related data type(1087071)
- Remove epoch_reward of Epoch(ce2cdbb)
- Update genesis block system cell and code hash(4a81810)
- Update genesis block system cell and code hash(3cb10bb)
- Add compute lock hash rpc(3cb10bb)
- Fix transaction witness bug(77b7f67)
- Refactor wallet and sendCapacity test cases(05428e0)
- Remove header seal and add nonce to header
- Update script hash generator
- Update genesis block system cell and code hash
- Remove cell_output data and add outputs_data to transaction
- Remove epoch_reward of epoch
- Update cell dep(cell_dep and header_dep)
v0.18.0 (2019-08-10)
- Update to support CKB v0.18.0.
v0.17.0 (2019-07-27)
- Add hash_type to Script (6c84642)
- Update address format generator according recent RFC (cd93318)
- Add get_cellbase_output_capacity_details rpc (4d15c22)
- Add get_header and get_header_by_number rpcs (52663f0)
- Add set_ban and get_banned_address rpcs (ea424e5)
- Fix bech32 covertBits with any length parameter (217897f)
v0.16.0 (2019-07-13)
- Update to support CKB v0.16.0.
v0.15.0 (2019-06-29)
- Add index related rpc (b77194c)
- Update
get_blockchain_info
rpc (80dbfe2) - Use signRecoverable method to sign transaction (e004f98)
v0.14.0 (2019-06-15)
v0.13.0 (2019-06-01)
- Update tx_pool_info response data type (beb4488)
- Add non-parameter constructor to witness (6da731e)
v0.12.0 (2019-05-18)
-
Add example of sending capacity (8f25ae7)
-
Generalize OutPoint struct to reference headers (3bc8146)
-
Implement get_current_epoch RPC method (a74ad7d)
-
Implement get_epoch_by_number RPC method (88723c3)
-
Implement get_peers RPC method (2583cb8)
-
Implement State RPC methods (e461a3f)
-
Secp256k1: Implement ECDSA sign (d41b683)
-
Remove always success script (f39a106)
-
Implement tx_pool_info RPC method (fee7130)
-
Implement dry_run_transaction RPC method (b8b48f6)
-
Implement compute_transaction_hash RPC method (3edcb9c)
-
Rename proposalsRoot to proposalsHash (4e55ef9)
-
Update the parameter of OutPoint (7eeebad)
-
Remove trace RPC methods (be29cac)
-
Add Prerequisites and Installation and Usage for README (931f1af)
- Update transaction version data type to string
- Trace RPC methods are removed.
v0.11.0 (2019-05-14)
- Implement
get_block_by_number
rpc and add more rpc test cases - Update transaction data structure
- Update CellInput data structure
- Update proposals to string list
- Update CellOutputWithOutPoint lock string to script
- Add development to README
v0.10.0 (2019-05-06)
- Change capacity in RPC interface data type to string (88723c3)
- Add valid since to cell input (b4758e1)
v0.9.0 (2019-4-22)
- Update Cell and Script data type (005b181)
- Delete cellbase and cellbase_id fileds (378b58e)
- Delete signature and wallet logic (fe2cc84)
v0.8.0 (2019-4-8)
- Adapt CKB v0.8.0
v0.7.0 (2019-03-25)
- rpc: implement trace rpc trace_transaction and get_transaction_trace (dc56e9)
- Repalce SHA3 with Blake2b.
- Remove bitcoin_unblock.rb.
v0.6.0 (2019-02-25)
- rename PRC request localNodeInfo (9ae422)
- rename RPC response model CellInput and CellOutput (080378)
- support asw account and transfer (46b1ca)
v0.5.0 (2019-02-11)
- update response model to ckb prefix (316313e)
- add script model and calculate type hash (c3ddb81)