paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.network/
1.84k stars 667 forks source link

Support XCM complex asset transfers #4182

Closed acatangiu closed 2 months ago

acatangiu commented 6 months ago

Is there an existing issue?

Experiencing problems? Have you tried our Stack Exchange first?

Motivation

The currently existing instructions are too opinionated and force each XCM asset transfer to a single transfer type (teleport, local-reserve, destination-reserve). This results in inability to combine different types of transfers in single transfer which results in overall poor UX when trying to move assets across chains.

Request

Create a proof of concept for https://github.com/paritytech/xcm-format/pull/54

Solution

Are you willing to help with this request?

Yes!

acatangiu commented 6 months ago

I created a proof-of-concept implementation and a proof-of-concept asset transfer test, transferring 2 different types of assets across 3 chains.

Or you can explore the commits on https://github.com/acatangiu/polkadot-sdk/tree/poc-xcm-transfer-assets-instruction

acatangiu commented 2 months ago

fixed in https://github.com/paritytech/polkadot-sdk/pull/4260