Skip to content

Conversation

@felipemadero
Copy link
Collaborator

Why this should be merged

This PR adds support for X-Chain to X-Chain transfers in the key transfer command, improving the transfer functionality matrix.

How this works

The implementation follows the same pattern as P-to-P transfers

  1. Validation logic updated: Changed from blocking all X-Chain senders to only blocking X-Chain senders when the receiver is NOT X-Chain
  2. Destination address handling extended: Added support for X-Chain address format when prompting or retrieving destination addresses from stored keys
  3. Transfer flow added: Added conditional to call xToXSend when both sender and receiver are on X-Chain
  4. xToXSend function implemented

How this was tested

  • Added new E2E test

@felipemadero felipemadero merged commit ea46306 into main Nov 7, 2025
63 checks passed
@felipemadero felipemadero deleted the add-x-to-x-transfer-support branch November 7, 2025 18:38
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.

3 participants