- chore: format code by @shaojunda in #192
- Fix: last elem in offchancell skipped by @code-monad in #193
- fix: TransactionWithStatus Marshal/UnMarshal with rejected/unknown tx by @shaojunda in #195
- fix: consume off chain cell bug by @shaojunda in #196
- updates for ckb-light-client rpc by @code-monad in #198
- chore: using mocking to test lightclient by @code-monad in #199
- feat: adding support for get block rpcs
with_cycles
andverbosity0
version by @code-monad in #200 - feat: support indexer search mode in SearchKey by @code-monad in #202
Full Changelog: https://github.com/nervosnetwork/ckb-sdk-go/compare/v2.1.1...v2.2.0
- Supporting nil target in GetFeeRateStatics by @code-monad in #186
- chore: format code by @shaojunda in #188
- chore: update script generation statement on README by @shaojunda in #187
- Fix indexer search key filter json encode error by @code-monad in #190
Full Changelog: https://github.com/nervosnetwork/ckb-sdk-go/compare/v2.1.0...v2.1.1
branch v2
is now default branch, and all developer should use
github.com/nervosnetwork/ckb-sdk-go/v2
instead of github.com/nervosnetwork/ckb-sdk-go
.
A quick migration command is:
find . -type f -name '*.go' \
-exec \
sed -i -e 's,github.com/nervosnetwork/ckb-sdk-go,github.com/nervosnetwork/ckb-sdk-go/v2,g' {} \;
- feat: refactor
SystemScriptCell
by @fjchen7 in #156 - feat: refactor utility function and reorganize package by @fjchen7 in #158
- feat: support mercury RPC
get_balance
extra by @fjchen7 in #167 - feat: support light client RPC by @fjchen7 in #169
- feat: support omnilock by @fjchen7 in #170
- Add RPC method
EstimateCycles
by @fjchen7 in #174 - feat: Support using OffChain Cell to build tx by @code-monad in #177
- feat: support RPC:
get_fee_rate_statics
by @code-monad in #180 - feat: upgrade
get_transaction
to be compatible with ckb 0.106 by @code-monad in #181
- fix: support indexer RPC in ckb node by @fjchen7 in #163
- chore: add case for getting rejected tx by @fjchen7 in #176
- chore: updates doc/examples about CKB-Indexer RPC by @code-monad in #179
- @code-monad made their first contribution in #177
Full Changelog: https://github.com/nervosnetwork/ckb-sdk-go/compare/v2.0.1...v2.0.3
- feat: implement transaction builder and script handlers mechanism (#149)
- feat: adopt molecule generator (#150)
- fix: update indexer missing fields (#147)
- chore: clean deprecated payment example (#151)
- chore: add RPC test (#152)
2.0.0 is a refactored ckb-sdk-go release and brings plenty of BREAKING CHANGES compared with v1.0.*
and the earlier releases.
Breaking changes related to user interfaces
- Type or name change of quite a few fields in RPC type representation.
- Unified address representation and operation.
- Transaction signing mechanism by
ScriptGroup
,ScriptSigner
, andTransactionSigner
. - Clean some utils classes and unused classes.
For migration from earlier release please refer to migration doc.
Related PRs
- feat: check address strictly (#133)
- feat: Change GenerateSecp256k1MultisigScript parameter (#134)
- chore: run test on PR (#135)
- Update Golang to 1.17 (#128)
- feat: append outer witness for multisig (#129)
- feat: add type FullBech32m for parsedAddress (#126)
- feat: change method signature (#121)
- feat: refactor method to create old full address (#123)
- fix: support variable lock script length (#117)
- feat: support dao compensation calculation (#116)
- Support new mode and get_account_info RPC (#114)
- feat: support mercury get_sync_state RPC API (#111)
- feat: Support pw lock signature (#112)
- fix: fix unmarshall error in (#109)
- generate default address with bech32m format (#106)
- Remove uncessary print in address parsing (#103)
- feat: adopt full address by default (#98, #106)
- feat: add enum Freeze in extraFilter (#95)
- feat(mercury): support
build_sudt_issue_transaction
(#97) - feat: Add method to convert public key to address (#100)
- docs: update README for default address (#101)
v0.101.0-beta.2 (2021-11-18)
- Add timestamp in RPC response (#90)
- Rename
build_smart_transfer_transction
tobuild_simple_transfer_transaction
(#89) - Change RPC response structure (#92)
v0.101.0-beta.1 (2021-11-04)
v0.100.0-beta.2 (2021-10-13)
- Fix the case that script type data1 is not taken into account during bech32m serialization and deserialization (#82)
v0.100.0-beta.1 (2021-10-10)
- The field hash_type has a new allowed value
data1
but it is only valid after hard fork activation - Add support for Bech32m
- The field
uncles_hash
in header will be renamed toextra_hash
for all JSON RPC methods
v0.43.3-beta.1 (2021-09-27)
- Add
get_db_info
api (#64) - Add
get_mercury_info
api (#65) - Add
get_spent_transaction
support (#68) - Add
dao
support (#74)
- Adjusting
build_smart_transfer_transaction
api (#75) - Adjusting
query_transactions
api (#70 #73 #77) - Adjusting
build_transfer_transaction
api (#72) - Adjusting
build_adjust_account_transaction
api (#78) - Adjusting
get_block_info
apiοΌ#67) - Adjusting
get_transaction_info
api (#66) - Adjusting
balance
api (#63) - remove
build_asset_collection_transaction
api
v0.43.2 (2021-09-10)
- Add
build_smart_transfer_transaction
api (9ad61d3)
-
The uniform unit is shannon (c1492d4)
-
Adjusting the
build_asset_account_creation_transaction
interface (de4be38) -
Adjusting the
get_generic_transaction
interface (91ba601) -
Adjusting the
get_generic_block
interface (3c4ffbc) -
Adjusting the
get_balance
interface (361e7f0)
v0.43.2-rc.1 (2021-08-06)
- Fix capacity overflow on payment (98aff7e)
v0.43.1 (2021-08-01)
- Relay ckb rpc request through mercury (d0e4c0a and 3c7ce9b)
- Add
get_fork_block
api (56f578e) - Add
get_block_median_time
api (464cf71) - Add
clear_tx_pool
api (a4aea75) - Add
raw_tx_pool
api (0ba6fa5) - Add
ping_peers
api (9a8ca27) - Add
remove_node
api (95c7b05) - Add
add_node
api (9e35021) - Add
clear_banned_address
api (9fe3589) - Add
verify_transaction_proof
api (e270c42) - Add
set_network_active
api (e704431) - Add
sync_state
api (c4131be) - Add
get_transaction_proof
api (18209e9)
v0.43.0 (2021-07-25)
- #30 Support Mercury version 0.1.0-rc2
- Support CKB version 0.43.0
- #30 Support ckb-indexer version 0.2.1
v0.42.0 (2021-06-25)
- Remove
get_cellbase_output_capacity_details
rpc
- Fix the locked field of the Balance struct to Locked
v0.41.0 (2021-06-21)
- Implement Mercury SDK (2b29782)
- SDK version follows CKB version
v0.3.0 (2021-03-11)
- add cheque cell args generation function (a4d6f63)
- add claim cheque payment (5579e55)
- add claim cheques unsigned tx builder (065848d)
- add GetBlockEconomicState (0edae6a)
- add IsChequeCell function (8af982e)
- add IssuingChequeUnsignedTxBuilder (76c964d)
- add OutputsCapacity method to transaction (5702cd0)
- add ReceiverInfo (d99b073)
- add searchLimit const (03398d7)
- add sign issue cheque tx method (0ccf34c)
- add since generator (69a83c4)
- add sudt payment (4938ff8)
- add udt live cell collector (73b7898)
- add UnsignedTxBuilder interface (1c5588e)
- add ValidateChequeAddress function (a8621ff)
- add withdraw cheque payment (611b7d3)
- hash witnesses which do not in any input group (e3a293f)
- implement generate unsigned issuing cheque tx (d2d09d7)
- more set function on SystemScript (129dec1)
- remove get_cells_by_lock_hash RPC and RPCs under indexer module (fc920d4)
- support custom SystemScripts (f851553)
- support filter on ckb-indexer searchKey (aebf2f7)
- Remove RPCs under indexer module
- need send a SystemScripts to
GenerateTx
method manually
v0.2.1 (2020-11-25)
- #13: expose GenerateFullPayloadAddress function