Skip to content

feat(wallet): implement RGB coloring for PSBTs and on-chain swap tests#85

Draft
Arshia-r-m wants to merge 1 commit into
RGB-Tools:masterfrom
kaleidoswap:onchain-swaps-psbts
Draft

feat(wallet): implement RGB coloring for PSBTs and on-chain swap tests#85
Arshia-r-m wants to merge 1 commit into
RGB-Tools:masterfrom
kaleidoswap:onchain-swaps-psbts

Conversation

@Arshia-r-m

Copy link
Copy Markdown
  • Added color_psbt_stage and color_psbt_finalize methods to handle RGB coloring on PSBTs.
  • Updated color_psbt to utilize the new methods and return asset beneficiaries.
  • Introduced generate_transfer method for creating RGB transfers based on beneficiaries.
  • Refactored PSBT signing logic to be publicly accessible.
  • Added tests for on-chain swaps involving RGB assets, covering various scenarios for maker and taker balances.
  • Included assertions to verify BTC and asset balances post-swap.

- Added `color_psbt_stage` and `color_psbt_finalize` methods to handle RGB coloring on PSBTs.
- Updated `color_psbt` to utilize the new methods and return asset beneficiaries.
- Introduced `generate_transfer` method for creating RGB transfers based on beneficiaries.
- Refactored PSBT signing logic to be publicly accessible.
- Added tests for on-chain swaps involving RGB assets, covering various scenarios for maker and taker balances.
- Included assertions to verify BTC and asset balances post-swap.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant