Skip to content

Conversation

bitwalt
Copy link
Contributor

@bitwalt bitwalt commented Aug 1, 2025

  • Introduced push_asset_amount field in OpenChannelRequest struct to handle asset pushes in RGB channels.
  • Updated validation to ensure push_asset_amount is only used with RGB channels and does not exceed asset_amount.
  • Modified channel opening logic to calculate local and remote amounts based on push_asset_amount.
  • Added tests for validating push_asset_amount functionality and error conditions.

Closes #67

- Introduced `push_asset_amount` field in OpenChannelRequest struct to handle asset pushes in RGB channels.
- Updated validation to ensure `push_asset_amount` is only used with RGB channels and does not exceed `asset_amount`.
- Modified channel opening logic to calculate local and remote amounts based on `push_asset_amount`.
- Added tests for validating `push_asset_amount` functionality and error conditions.
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.

Feature Request: Support RGB Asset Push in Channel Opening

1 participant