Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ckb|examples): Support BTC Signet and update examples #227

Merged
merged 16 commits into from
Jun 14, 2024

Conversation

duanyytop
Copy link
Collaborator

@duanyytop duanyytop commented Jun 12, 2024

Changes

  • Add CKB RGB++ Testnet deployment information for the BTC Signet network
  • Add optional parameter btcTestnetType to RGB++ functions
  • Update all the examples for the BTC Signet network

RGB++ xUDT Transactions

I have tested all the RGB++ xUDT transactions on BTC Signet network with the local model and the Spore examples need to be tested by @Dawn-githup. And I will focus on the PR#218 and ckb-sdk-python. Thanks a lot.

Launch RGB++ xUDT

btc tx: https://mempool.space/signet/tx/5ab72e296c7e4f93302f5b1827c59860a95b94958942c65977bf25fcd7364bf3
ckb tx: https://pudge.explorer.nervos.org/transaction/0x68f8e86cacac5601691d4e8f821b02a542869cd9c5cdf858186f76acd196cc60

Distribute RGB++ xUDT

btc tx: https://mempool.space/signet/tx/ae78c4c939ff9257b9e43a389c1533721e175b4aa2d855b5ee9b73a1b63d72f5
ckb tx: https://pudge.explorer.nervos.org/transaction/0xd75f8928fc36f85d2509e1ad4925650e85f389ab3df92f2f3101a8e42bd53e57

Transfer RGB++ xUDT on BTC

btc tx: https://mempool.space/signet/tx/57212668f2738aa07a51861a2f8cd7a083aab05b01ede8b79dff948c0041f808
ckb tx: https://pudge.explorer.nervos.org/transaction/0x56ccdf0abb893dbac269d18e2a0cd915933952f35e597b9e82bfe5b6047bef84

Leap RGB++ xUDT from CKB to BTC

ckb tx: https://pudge.explorer.nervos.org/transaction/0xcf25d9569c6a0568a2178708fab67b3c3c3bf64819a6aa228dd43b86396325ee

Leap RGB++ xUDT from BTC to CKB

btc tx: https://mempool.space/signet/tx/b8d8b694aa1ee3ebbe70437779cf2e9375df667cc8241980e6392920550f9a79
ckb tx: https://pudge.explorer.nervos.org/transaction/0xd26a9965eafbec3de6287d764ced3aeb703a14fe6b9b5c8e9f3e143ffd647fd4

Unlock BTC Time cell

ckb tx: https://pudge.explorer.nervos.org/transaction/0xc765c862ea05b398af9a02b7e2a9fe948e2c01463d6b8a481c21328f45663145

@Flouse Flouse linked an issue Jun 13, 2024 that may be closed by this pull request
13 tasks
@duanyytop duanyytop marked this pull request as ready for review June 13, 2024 09:45
@duanyytop duanyytop requested review from Flouse and ahonn June 13, 2024 09:45
@Flouse Flouse added the P-High label Jun 13, 2024
Flouse
Flouse previously approved these changes Jun 13, 2024
packages/ckb/src/rgbpp/ckb-jump-btc.ts Outdated Show resolved Hide resolved
@Dawn-githup Dawn-githup reopened this Jun 14, 2024
@Dawn-githup
Copy link
Collaborator

Dawn-githup commented Jun 14, 2024

spore

4-transfer-spore

BTC TxId: https://mempool.space/zh/signet/tx/fc6fe064947e26f5767f7189bc2959e1dd8ff39476207db4bebe7c3b554ec38b

CKB txId: https://pudge.explorer.nervos.org/transaction/0xc96a5a3a2255addce5033cd6e415998c3725a5fe0bbefe43e911d4f35d76ad9b

5-leap-spore-to-ckb

BTC txId: https://mempool.space/zh/signet/tx/f599154ad2384df89e059e3cdb2499c860aecfa1c21fdd3d2e3157b12e80cf41

CKB txId: https://pudge.explorer.nervos.org/transaction/0x0cd3127a3fd5e18a2fba1a6551fd5a3bf7973ebf55c97d024d3c4d7bbc63ca54

6-unlock-btc-time-cell

CKB txId: https://pudge.explorer.nervos.org/transaction/0xe5bc32ba4d66e1f00a6d54c94a7926c29009a1b867ba2acbf76493f763ae52f0

7-leap-spore-to-btc

https://pudge.explorer.nervos.org/transaction/0x10918dfba0a2000b6eaf66e8de4d92b13aa9e84ae4d7cd95928d4109ae52701d

@Flouse Flouse added this pull request to the merge queue Jun 14, 2024
Merged via the queue into develop with commit 8c5b4fd Jun 14, 2024
2 of 6 checks passed
@duanyytop duanyytop deleted the feat/btc-signet branch June 14, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support BTC signet
3 participants