Releases: utxostack/rgbpp-sdk
v0.6.0
@rgbpp-sdk/btc
Minor Changes
-
#281: Upgrade ckb-sdk-js to fix esm and commonjs issues (@duanyytop)
-
#246: Export ESM packages (@duanyytop)
-
#272: Report TxBuilder as extra context in the TxBuildError when the BTC Builder APIs fail (@ShookLyngs)
-
#270: Support for batch transferring of RGBPP XUDT assets (@ShookLyngs)
- Add
buildRgbppTransferAllTxs()
API in the rgbpp lib for generating one or more BTC/CKB transaction groups for transferring the entire amount of a specific type of RGBPP XUDT asset from one or more BTC addresses to a recipient - Add
sendRgbppTxGroups()
API in the rgbpp lib for sending BTC/CKB transaction groups to theBtcAssetsApi
- Add
unpackRgbppLockArgs()
API in the ckb lib for unpacking the lock script args of an RGBPP Cell - Add
encodeCellId()
anddecodeCellId()
APIs in the ckb lib for handling the ID of a CKB Cell - Add
encodeUtxoId()
anddecodeUtxoId()
APIs in the btc lib for handling the ID of a BTC UTXO
- Add
Patch Changes
- Updated dependencies [
82d37ab
,a2722c5
,a31a376
,ec2a38e
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
@rgbpp-sdk/ckb
Minor Changes
-
#281: Upgrade ckb-sdk-js to fix esm and commonjs issues (@duanyytop)
-
#246: Export ESM packages (@duanyytop)
-
#270: Support for batch transferring of RGBPP XUDT assets (@ShookLyngs)
- Add
buildRgbppTransferAllTxs()
API in the rgbpp lib for generating one or more BTC/CKB transaction groups for transferring the entire amount of a specific type of RGBPP XUDT asset from one or more BTC addresses to a recipient - Add
sendRgbppTxGroups()
API in the rgbpp lib for sending BTC/CKB transaction groups to theBtcAssetsApi
- Add
unpackRgbppLockArgs()
API in the ckb lib for unpacking the lock script args of an RGBPP Cell - Add
encodeCellId()
anddecodeCellId()
APIs in the ckb lib for handling the ID of a CKB Cell - Add
encodeUtxoId()
anddecodeUtxoId()
APIs in the btc lib for handling the ID of a BTC UTXO
- Add
Patch Changes
-
#279: fix: Update molecule codegen, packing and unpacking (@duanyytop)
- Generate molecule code with latest lumos/molecule
- Update RGB++ witness and BTC time lock args packing and unpacking
-
Updated dependencies [
82d37ab
,a2722c5
]:- @rgbpp-sdk/[email protected]
@rgbpp-sdk/service
Minor Changes
-
#281: Upgrade ckb-sdk-js to fix esm and commonjs issues (@duanyytop)
-
#246: Export ESM packages (@duanyytop)
rgbpp
Minor Changes
-
#281: Upgrade ckb-sdk-js to fix esm and commonjs issues (@duanyytop)
-
#246: Export ESM packages (@duanyytop)
-
#283: Update response of sending RGB++ group txs (@duanyytop)
-
#270: Support for batch transferring of RGBPP XUDT assets (@ShookLyngs)
- Add
buildRgbppTransferAllTxs()
API in the rgbpp lib for generating one or more BTC/CKB transaction groups for transferring the entire amount of a specific type of RGBPP XUDT asset from one or more BTC addresses to a recipient - Add
sendRgbppTxGroups()
API in the rgbpp lib for sending BTC/CKB transaction groups to theBtcAssetsApi
- Add
unpackRgbppLockArgs()
API in the ckb lib for unpacking the lock script args of an RGBPP Cell - Add
encodeCellId()
anddecodeCellId()
APIs in the ckb lib for handling the ID of a CKB Cell - Add
encodeUtxoId()
anddecodeUtxoId()
APIs in the btc lib for handling the ID of a BTC UTXO
- Add
Patch Changes
-
#275: Calculate XUDT amount separately in AssetSummarizer (@ShookLyngs)
-
Updated dependencies [
82d37ab
,a2722c5
,a9a787d
,a31a376
,ec2a38e
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
v0.5.0
@rgbpp-sdk/btc
Minor Changes
-
#261: Batch fetch CKB RGB++ live cells to construct BTC transaction (@duanyytop)
- Batch fetch CKB RGB++ live cells to construct BTC transaction
- Remove useless fields for RGB++ lock args list
Patch Changes
- Updated dependencies [
9afc2a9
,8f99429
,475b3c3
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
@rgbpp-sdk/ckb
Minor Changes
-
#258: Support for arbitrary BTC confirmation blocks to unlock btc time cells(@duanyytop)
-
#263: Remove 1CKB from BTC time cell capacity(@duanyytop)
Patch Changes
- Updated dependencies [
9afc2a9
]:- @rgbpp-sdk/[email protected]
@rgbpp-sdk/service
Minor Changes
- #248: Add
type_script
to the response of/rgbpp/v1/address/{btc_address}/balance
API, and addtypeHash
to the response of rgbpp assets-related APIs (@ShookLyngs)
rgbpp
Patch Changes
- Updated dependencies [
9afc2a9
,8f99429
,475b3c3
,1a8bb1c
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
v0.4.0
@rgbpp-sdk/btc
Minor Changes
-
#228: Support including multi-origin UTXOs in the same transaction (@ShookLyngs)
- BREAKING CHANGE: Delete
addressType
param in the TxBuilder.calculateFee(), TxBuilder.createEstimatedPsbt(), FeeEstimator.constructor() and FeeEstimator.fromRandom() APIs - Add
pubkeyMap
option in the sendUtxos(), sendRgbppUtxos() and sendRbf() API - Rename
inputsPubkey
option topubkeyMap
in the sendRbf() API - Delete
onlyProvableUtxos
option from the sendRgbppUtxos() API
- BREAKING CHANGE: Delete
-
#150: Support Full-RBF feature with the sendRbf() and createSendRbfBuilder() API (@ShookLyngs)
- Add
excludeUtxos
,skipInputsValidation
options in thesendUtxos()
API to support the RBF feature - Add
onlyProvableUtxos
option in thesendRgbppUtxos()
API for future update supports - Add
changeIndex
in the return type of the BTC Builder APIs
- Add
Patch Changes
- Updated dependencies [
e5f41fd
,6e840c1
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
@rgbpp-sdk/ckb
Minor Changes
- #236: Fix typo and remove useless queue types (@duanyytop)
Patch Changes
- Updated dependencies [
e5f41fd
]:- @rgbpp-sdk/[email protected]
@rgbpp-sdk/service
Minor Changes
- #222: Add BtcAssetsApi.getRgbppApiBalanceByAddress() API for querying RGBPP XUDT balances by a BTC address (@ShookLyngs)
rgbpp
Minor Changes
- #216: Export buildRgbppTransferTx from rgbpp package (@duanyytop)
Patch Changes
- Updated dependencies [
1ecac34
,e5f41fd
,08200c9
,6e840c1
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
v0.3.0
@rgbpp-sdk/btc
Minor Changes
-
#200: Add p-limit and batch queries in the sendRgbppUtxos() and TxBuilder.validateInputs() to improve construction time (@ShookLyngs)
-
#199: Add "needPaymaster" option to the sendRgbppUtxos() API to allow manually specifying whether a paymaster output is required (@ShookLyngs)
Patch Changes
- Updated dependencies [
d2d963c
,4c77e69
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
@rgbpp-sdk/ckb
Minor Changes
-
#197: Return needPaymasterCell for RGB++ CKB Virtual TX (@duanyytop)
-
#191: Dynamic fetching cell deps deployed by TypeID (@duanyytop)
Patch Changes
-
#212: Fix the XUDT cell data unpacking logic to load only the first 16 bytes (@ShookLyngs)
-
Updated dependencies []:
- @rgbpp-sdk/[email protected]
@rgbpp-sdk/service
Minor Changes
-
#208: Adapt btc-assets-api#154, adding new props and return values to the /balance and /unspent APIs (@ShookLyngs)
- Add
available_satoshi
andtotal_satoshi
to the BtcAssetsApi.getBtcBalance() API - Add
only_non_rgbpp_utxos
to the props of the BtcAssetsApi.getBtcUtxos() API - Remove
service.getRgbppAssetsByBtcUtxo()
lines from the DataCollector.collectSatoshi() - Remove
hasRgbppAssets
related variables/function from the DataCache
- Add
rgbpp
Patch Changes
- Updated dependencies [
d2d963c
,4c77e69
,3d41751
,d0e62e2
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
v0.2.0
rgbpp
Minor Changes
- #157: Add rgbpp sub package (@duanyytop)
Patch Changes
-
#177: Fix the export of NetworkType/AddressType in the rgbpp lib (@ShookLyngs)
-
Updated dependencies [
8a8e11b
,5e0e817
,a9b9796
,9f9daa9
,299b404
,e59322e
,64c4312
,d37cf5b
,1d58dd5
,8cfc06e
,4fcf4fa
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
@rgbpp-sdk/btc
Minor Changes
-
#184: Support query data caching internally in TxBuilder/DataSource, preventing query from the BtcAssetsApi too often when paying fee (@ShookLyngs)
-
#165: Replace all "void 0" to "undefined" in the btc/service lib (@ShookLyngs)
Patch Changes
-
#166: Fix the message of INSUFFICIENT_UTXO error when collection failed (@ShookLyngs)
-
Updated dependencies [
5e0e817
,a9b9796
,9f9daa9
,299b404
,e59322e
,64c4312
,1d58dd5
,8cfc06e
,4fcf4fa
]:- @rgbpp-sdk/[email protected]
- @rgbpp-sdk/[email protected]
@rgbpp-sdk/ckb
Minor Changes
-
#179: Increase the max length of RGB++ inputs to 40 (@duanyytop)
-
#160: Collect all RGB++ inputs without isMax parameter (@duanyytop)
-
#190: Filter xudt cell whose amount is valid for collector (@duanyytop)
-
#172: Check spore type script for spore transfer and leap (@duanyytop)
-
#171: Build ckb raw tx to be signed for spores creation (@duanyytop)
-
#174: Update ckb cell fields size to make the code more readable (@duanyytop)
-
#187: Update RRB++ witnesses for BTC batch transfer TX (@duanyytop)
Patch Changes
- Updated dependencies [
9f9daa9
,e59322e
]:- @rgbpp-sdk/[email protected]
@rgbpp-sdk/service
Minor Changes
- #165: Replace all "void 0" to "undefined" in the btc/service lib (@ShookLyngs)
Patch Changes
v0.1.0
@rgbpp-sdk/btc
- Release @rgbpp-sdk/btc for RGBPP BTC-side transaction construction, providing APIs to send BTC or send RGBPP UTXO. Read the docs for more information: https://github.com/ckb-cell/rgbpp-sdk/tree/develop/packages/btc
@rgbpp-sdk/ckb
- Release @rgbpp-sdk/ckb for RGBPP CKB-side transaction construction, providing APIs to bind/transfer/leap assets on CKB/BTC. Read the docs for more information: https://github.com/ckb-cell/rgbpp-sdk/tree/develop/packages/ckb
@rgbpp-sdk/service
- Release @rgbpp-sdk/service for communicating with the btc-assets-api, providing APIs to query data from or post transactions to the service. Read the docs for more information: https://github.com/ckb-cell/rgbpp-sdk/tree/develop/packages/service