Skip to content

Releases: utxostack/rgbpp-sdk

v0.6.0

20 Aug 12:53
db31727
Compare
Choose a tag to compare

@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 the BtcAssetsApi
    • Add unpackRgbppLockArgs() API in the ckb lib for unpacking the lock script args of an RGBPP Cell
    • Add encodeCellId() and decodeCellId() APIs in the ckb lib for handling the ID of a CKB Cell
    • Add encodeUtxoId() and decodeUtxoId() APIs in the btc lib for handling the ID of a BTC UTXO

Patch Changes

@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 the BtcAssetsApi
    • Add unpackRgbppLockArgs() API in the ckb lib for unpacking the lock script args of an RGBPP Cell
    • Add encodeCellId() and decodeCellId() APIs in the ckb lib for handling the ID of a CKB Cell
    • Add encodeUtxoId() and decodeUtxoId() APIs in the btc lib for handling the ID of a BTC UTXO

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/service

Minor Changes

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 the BtcAssetsApi
    • Add unpackRgbppLockArgs() API in the ckb lib for unpacking the lock script args of an RGBPP Cell
    • Add encodeCellId() and decodeCellId() APIs in the ckb lib for handling the ID of a CKB Cell
    • Add encodeUtxoId() and decodeUtxoId() APIs in the btc lib for handling the ID of a BTC UTXO

Patch Changes

v0.5.0

31 Jul 11:42
a93f14c
Compare
Choose a tag to compare

@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

@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

@rgbpp-sdk/service

Minor Changes

  • #248: Add type_script to the response of /rgbpp/v1/address/{btc_address}/balance API, and add typeHash to the response of rgbpp assets-related APIs (@ShookLyngs)

rgbpp

Patch Changes

v0.4.0

20 Jun 01:39
0f2be64
Compare
Choose a tag to compare

@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 to pubkeyMap in the sendRbf() API
    • Delete onlyProvableUtxos option from the sendRgbppUtxos() API
  • #150: Support Full-RBF feature with the sendRbf() and createSendRbfBuilder() API (@ShookLyngs)

    • Add excludeUtxos, skipInputsValidation options in the sendUtxos() API to support the RBF feature
    • Add onlyProvableUtxos option in the sendRgbppUtxos() API for future update supports
    • Add changeIndex in the return type of the BTC Builder APIs

Patch Changes

@rgbpp-sdk/ckb

Minor Changes

Patch Changes

@rgbpp-sdk/service

Minor Changes

  • #222: Add BtcAssetsApi.getRgbppApiBalanceByAddress() API for querying RGBPP XUDT balances by a BTC address (@ShookLyngs)

rgbpp

Minor Changes

Patch Changes

v0.3.0

04 Jun 07:49
88050df
Compare
Choose a tag to compare

@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

@rgbpp-sdk/ckb

Minor Changes

Patch Changes

@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 and total_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

rgbpp

Patch Changes

v0.2.0

28 May 04:27
0948ef6
Compare
Choose a tag to compare

rgbpp

Minor Changes

Patch Changes

@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

@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

@rgbpp-sdk/service

Minor Changes

  • #165: Replace all "void 0" to "undefined" in the btc/service lib (@ShookLyngs)

Patch Changes

  • #181: add no_cache params to btc/rgbpp service api (@ahonn)

v0.1.0

09 May 02:44
3606ce2
Compare
Choose a tag to compare

@rgbpp-sdk/btc

@rgbpp-sdk/ckb

@rgbpp-sdk/service