- Support indexer
exact
search mode. - Add
get_block_with_cycles
andget_block_by_number_with_cycles
to supportget_block
andget_block_by_number
with parameterwith_cycles
. - Support ckb 0.108.0
- Update ckb to 0.106.0
- Add
TxBuilder::build_balance_unlocked
to support transaction's cycles limitation. - chore: fix git repo url
- Update ckb to v0.105.1
- BREAKING CHANGE:
get_transaction
rpc now returnTransactionWithStatusResponse
- BREAKING CHANGE: Update ckb-indexer json types
- Add
SearchKey.with_data
- Add
SearchKey.group_by_transaction
- Add
SearchKeyFilter.script_len_range
- Add
- 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
- BREAKING CHANGE Use ckb-indexer from ckb rpc
DefaultCellCollector::new
API changed- remove
IndexerRpcClient::get_indexer_info
rpc method - rename
IndexerRpcClient::get_tip
toIndexerRpcClient::get_indexer_tip
- Support omni-lock supply mode
- Use anyhow::Error to replace Box
- BREAKING CHANGE: Use hash instead pubkey directly when create
Identity
andOmniLockConfig
:- From
Identity::new_pubkey_hash(pubkey: &Pubkey)
toIdentity::new_pubkey_hash(pubkey_hash: H160)
- From
Identity::new_ethereum(pubkey: &Pubkey)
toIdentity::new_ethereum(pubkey_hash: H160)
- From
OmniLockConfig::new_pubkey_hash(pubkey: &Pubkey)
toOmniLockConfig::new_pubkey_hash(lock_arg: H160)
- Remove
OmniLockConfig::new_pubkey_hash_with_lockarg(lock_arg: H160)
- From
OmniLockConfig::new_ethereum(pubkey: &Pubkey)
tonew_ethereum(pubkey_hash: H160)
- From
- 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 inDefaultCellCollector
- BREAKING CHANGE: change
CapacityProvider::new(lock_scripts)
argument type- from
Vec<(Script, WitnessArgs)>
toVec<(Script, WitnessArgs, SinceSource)>
- Add
CapacityProvider::new_simple
for compatible with old function
- from
- Update ckb to v0.104.0
- Fix sync_state rpc return data type
- Add several key traits to abstract different functionality
- CellCollector
- CellDepResolver
- HeaderDepResolver
- TransactionDependencyProvider
- Signer
- ScriptSigner
- ScriptUnlocker
- TxBuilder
- Add default implementation to several traits
- DefaultCellCollector
- DefaultCellDepResolver
- DefaultHeaderDepResolver
- DefaultTransactionDependencyProvider
- SecpCkbRawKeySigner
- Implement common script signer
- SecpSighashScriptSigner
- SecpMultisigScriptSigner
- AcpScriptSigner
- ChequeScriptSigner
- Implement common script unlocker
- SecpSighashUnlocker
- SecpMultisigUnlocker
- AcpUnlocker
- ChequeUnlocker
- Implement common transaction builder
- AcpTransferBuilder
- ChequeClaimBuilder
- ChequeWithdrawBuilder
- DaoDepositBuilder
- DaoPrepareBuilder
- DaoWithdrawBuilder
- CapacityTransferBuilder
- UdtIssueBuilder
- UdtTransferBuilder
- Remove
ckb-sdk-types
(useckb-mock-tx-types
instead) - Remove
TxHelper
(useTxBuilder
instead) - Remove
KeyStore
(useckb-wallet
instead) - Add
IndexerRpcClient
asckb-indexer
client - Add
anyone-can-pay
address support forAddressPayload
type (short address only supportmainnet
/testnet
) - Add new common data type
ScriptId