Skip to content

Commit 36a9dfa

Browse files
committed
Update content
1 parent bba86df commit 36a9dfa

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

llms.txt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22715,25 +22715,6 @@ Both sufficient assets and non-sufficient assets can be used to pay for XCM loca
2271522715

2271622716
For non-sufficient assets, this can be done by calling [asset conversion's swap](https://paritytech.github.io/polkadot-sdk/master/pallet_asset_conversion/pallet/dispatchables/fn.swap_tokens_for_exact_tokens.html){target=\_blank} or including an [`ExchangeAsset`](https://paritytech.github.io/polkadot-sdk/master/cumulus_primitives_core/enum.Instruction.html#variant.ExchangeAsset){target=\_blank} instruction in the XCM program to swap the non-sufficient asset for the native asset to pay for the XCM delivery fee.
2271722717

22718-
!!!note "UIs, Wallets, and Tools Interacting with Asset Hub"
22719-
When developing cross-chain applications to interact with the Asset Hub, it is essential to consider the UI/UX and the trade-offs it may entail.
22720-
22721-
**Example scenario**: Sending 100 USDT to a new Asset Hub account.
22722-
22723-
- Option 1 - Deduct from sending amount:
22724-
22725-
- **Receiver gets**: 100 USDT - 0.01 DOT (for ED) - transaction and XCM fees.
22726-
- **Sender pays**: Exactly 100 USDT total.
22727-
- Simpler for the sender, but the receiver gets less than expected.
22728-
22729-
- Option 2 - Additional sender cost:
22730-
22731-
- **Receiver gets**: Full 100 USDT + 0.01 DOT (for ED).
22732-
- **Sender pays**: 100 USDT + 0.01 DOT (for ED) + transaction and XCM fees.
22733-
- More expensive for the sender, but the receiver gets the full amount.
22734-
22735-
Each approach requires a different XCM program construction and affects the overall user experience.
22736-
2273722718
## Integration
2273822719

2273922720
Asset Hub supports a variety of integration tools that make it easy for developers to manage assets and interact with the blockchain in their applications. The tools and libraries provided by Parity Technologies enable streamlined operations, such as querying asset information, building transactions, and monitoring cross-chain asset transfers.

polkadot-protocol/architecture/system-chains/asset-hub.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -158,25 +158,6 @@ Both sufficient assets and non-sufficient assets can be used to pay for XCM loca
158158

159159
For non-sufficient assets, this can be done by calling [asset conversion's swap](https://paritytech.github.io/polkadot-sdk/master/pallet_asset_conversion/pallet/dispatchables/fn.swap_tokens_for_exact_tokens.html){target=\_blank} or including an [`ExchangeAsset`](https://paritytech.github.io/polkadot-sdk/master/cumulus_primitives_core/enum.Instruction.html#variant.ExchangeAsset){target=\_blank} instruction in the XCM program to swap the non-sufficient asset for the native asset to pay for the XCM delivery fee.
160160

161-
!!!note "UIs, Wallets, and Tools Interacting with Asset Hub"
162-
When developing cross-chain applications to interact with the Asset Hub, it is essential to consider the UI/UX and the trade-offs it may entail.
163-
164-
**Example scenario**: Sending 100 USDT to a new Asset Hub account.
165-
166-
- Option 1 - Deduct from sending amount:
167-
168-
- **Receiver gets**: 100 USDT - 0.01 DOT (for ED) - transaction and XCM fees.
169-
- **Sender pays**: Exactly 100 USDT total.
170-
- Simpler for the sender, but the receiver gets less than expected.
171-
172-
- Option 2 - Additional sender cost:
173-
174-
- **Receiver gets**: Full 100 USDT + 0.01 DOT (for ED).
175-
- **Sender pays**: 100 USDT + 0.01 DOT (for ED) + transaction and XCM fees.
176-
- More expensive for the sender, but the receiver gets the full amount.
177-
178-
Each approach requires a different XCM program construction and affects the overall user experience.
179-
180161
## Integration
181162

182163
Asset Hub supports a variety of integration tools that make it easy for developers to manage assets and interact with the blockchain in their applications. The tools and libraries provided by Parity Technologies enable streamlined operations, such as querying asset information, building transactions, and monitoring cross-chain asset transfers.

0 commit comments

Comments
 (0)