Skip to content

Releases: nervosnetwork/ckb-sdk-rust

V3.0.0 Update CKB to v0.111.0

03 Nov 04:03
Compare
Choose a tag to compare

3.0.0

  • Support ckb 0.111.0

V2.5.0 Update CKB to v0.108.0

23 Mar 03:14
5f7aa5a
Compare
Choose a tag to compare

2.5.0

  • Support indexer exact search mode.
  • Add get_block_with_cycles and get_block_by_number_with_cycles to support get_block and get_block_by_number with parameter with_cycles.
  • Support ckb 0.108.0

V2.4.0 Update CKB to v0.106.0

30 Dec 09:05
e616ba6
Compare
Choose a tag to compare

Changes

  • Update ckb to 0.106.0
  • Add TxBuilder::build_balance_unlocked to support transaction's cycles limitation.
  • chore: fix git repo url

v2.3.1 Fix transaction fee round bug

20 Nov 02:54
64e0acc
Compare
Choose a tag to compare

Changes

  • Fix transaction fee round bug #44

v2.3.0 Support light client

01 Nov 02:36
850c90d
Compare
Choose a tag to compare

Changes

  • Update ckb to v0.105.1
  • BREAKING CHANGE: get_transaction rpc now return TransactionWithStatusResponse
  • BREAKING CHANGE: Update ckb-indexer json types
    • Add SearchKey.with_data
    • Add SearchKey.group_by_transaction
    • Add SearchKeyFilter.script_len_range
  • Add light client support
    • Add rpc client for light client
    • Add LightClientHeaderDepResolver
    • Add LightClientTransactionDependencyProvider
    • Add LightClientCellCollector
    • Little improvement to DaoWithdrawBuilder for support light client
  • Add query.secondary_script_len_range = Some(ValueRangeOption::new_exact(0)); to fix cell collector bug

v2.2.0 Use ckb-indexer from ckb rpc

13 Oct 05:01
089c3d2
Compare
Choose a tag to compare

Changes

  • breaking change Use ckb-indexer from ckb rpc
    • DefaultCellCollector::new API changed
    • remove IndexerRpcClient::get_indexer_info rpc method
    • rename IndexerRpcClient::get_tip to IndexerRpcClient::get_indexer_tip

v2.1.0 Support omni-lock supply mode

19 Sep 02:28
6bbaf18
Compare
Choose a tag to compare

Changes

  • Support omni-lock supply mode
  • Use anyhow::Error to replace Box
  • breaking change: Use hash instead pubkey directly when create Identity and OmniLockConfig:
    • From Identity::new_pubkey_hash(pubkey: &Pubkey) to Identity::new_pubkey_hash(pubkey_hash: H160)
    • From Identity::new_ethereum(pubkey: &Pubkey) to Identity::new_ethereum(pubkey_hash: H160)
    • From OmniLockConfig::new_pubkey_hash(pubkey: &Pubkey) to OmniLockConfig::new_pubkey_hash(lock_arg: H160)
    • Remove OmniLockConfig::new_pubkey_hash_with_lockarg(lock_arg: H160)
    • From OmniLockConfig::new_ethereum(pubkey: &Pubkey) to new_ethereum(pubkey_hash: H160)

v2.0.0 Omni Lock support

10 Aug 04:30
b86b24a
Compare
Choose a tag to compare

Changes

  • Add omni-lock support
    • Support administrator mode
    • Support anyone-can-pay mode
    • Support time-lock mode
    • Support Unlock via owner's public key hash (sighash/multisig/ethereum)
    • Support Unlock via owner's lock script hash
  • Add acceptable_indexer_leftbehind field in DefaultCellCollector
  • breaking change: change CapacityProvider::new(lock_scripts) argument type
    • from Vec<(Script, WitnessArgs)> to Vec<(Script, WitnessArgs, SinceSource)>
    • Add CapacityProvider::new_simple for compatible with old function

v1.1.0 Update ckb to v0.104

20 Jul 12:34
cc7701f
Compare
Choose a tag to compare
Merge pull request #17 from KaoImin/patch-1

chore: upgrade ckb related dependencies

v1.0.1 Fix sync_state rpc return data type

26 May 07:22
7ea15fc
Compare
Choose a tag to compare