interlay / interbtc-ui

Kintsugi and Interlay App - BTC DeFi
https://app.interlay.io/
Apache License 2.0
32 stars 30 forks source link

[Xcm] Support USDT as polkadot asset hub origin fee currency #1423

Open tomjeatt opened 1 year ago

tomjeatt commented 1 year ago

Requirements TBC. Some of this work may be done on the bridge, not the UI.

Implementation is a work around on the UI side. For asset hub transfers, the fee currency should be set to the currency being transferred, i.e. DOT/KSM transfers paid in DOT/KSM, USDT transfers paid in USDT.

See discussion here: https://discord.com/channels/745259537707040778/1126117398739681320

bvotteler commented 1 year ago

Raised an issue to see if we can support that type of functionality on our XCM bridge repo here: interlay/bridge#104

tomjeatt commented 1 year ago

This is blocked due to inconsistencies with the endianness of the asset id. See discussion here: https://discord.com/channels/745259537707040778/1126370272824524840

tomjeatt commented 1 year ago

Issue raised with Polkadot JS https://github.com/polkadot-js/api/issues/5690

tomjeatt commented 10 months ago

Upstream issue has been fixed now, so this is unblocked: https://github.com/polkadot-js/api/pull/5716