Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Latest commit

 

History

History
134 lines (82 loc) · 7.52 KB

File metadata and controls

134 lines (82 loc) · 7.52 KB

@rgbpp-sdk/ckb

0.7.0

Minor Changes

  • #291: Support RGB++ compatible xUDT assets(@duanyytop)

    • Fetch compatible xUDT cellDeps to build CKB transactions from the typeid-contract-cell-deps GitHub repository
    • Update the ckb package to support RGB++ compatible xUDT assets leaping and transferring
    • Add optional parameter compatibleXudtTypeScript to the functions of the rgbpp package to transfer RGB++ compatible xUDT assets
    • Add RGB++ compatible xUDT assets leaping and transferring examples
    • Add RGB++ compatible xUDT assets integration tests
  • #293: Add offline btc data source & ckb collector (@fghdotio)

  • #294: Add UTXOAirdropBadge Testnet deployment information (@duanyytop)

    • Add UTXOAirdropBadge and metadata Testnet deployment information
    • Fetch UTXOAirdropBadge and metadata Testnet deployment information from GitHub and Vercel server
    • Add isUtxoAirdropBadgeType and isTokenMetadataType for btc-assets-api to encode the token information and metadata of the UTXOAirdropBadge
  • #297: Add USDI to compatible xUDT list (@duanyytop)

    • Fetch and cache compatible xUDT list from Vercel or GitHub server
    • Use local static compatible xUDT list when the cache is empty
    • Remove jsdelivr CDN because CDN cache time is too long, causing UTXO Airdrop cellDeps to become outdated
  • #302: Encapsulate transaction fee supplementation methods (@fghdotio)

    • appendIssuerCellToBtcBatchTransferToSign for supplementing fees in RGB++ xUDT transactions
    • prepareBtcTimeCellSpentUnsignedTx for BTC timelock unlock transaction building and fee supplementation
    • appendIssuerCellToSporesCreateUnsignedTx for supplementing fees in Spores creation transactions
  • #303: Add offline mode support for compatible xUDT type scripts (@fghdotio)

    • Introduce an optional offline boolean parameter to the following methods:
      • isUDTTypeSupported
      • isCompatibleUDTTypesSupported
      • CompatibleXUDTRegistry.getCompatibleTokens
    • Add examples demonstrating compatible xUDT asset management in offline mode
  • #304: Remove duplicate cell deps (@duanyytop)

Patch Changes

0.6.0

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@0.6.0

v0.5.0

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

v0.4.0

Minor Changes

Patch Changes

  • Updated dependencies [e5f41fd]:
    • @rgbpp-sdk/service@0.4.0

v0.3.0

Minor Changes

Patch Changes

  • #212: Fix the XUDT cell data unpacking logic to load only the first 16 bytes (@ShookLyngs)

  • Updated dependencies [4f05b1b]:

    • @rgbpp-sdk/service@0.3.0

v0.2.0

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

v0.1.0