# XCM
## Use Cases
### Unique Network
1. Karura <> Quartz QTZ transfer (for QTZ listing on Karura swap) - done
2. Moonriver QTZ transfer (for DEX listing) - in progress
3. Statemine USDT transfer (for trading NFTs on Quartz for USDT) - in progress
4. Acala UNQ transfer - in progress
5. Moonbeam/UNQ Transfer (for DEX listing) - backlog
6. Statemint(mine) NFT Transfer - backlog
7. Unique <> Quartz NFT bridge - not really an XCM use case, but I decided to mention it here - backlog
### Integritee
* (done) Token transfer of our native TEER to other parachains with DEXes: Karura, Moonriver
* (planned) Custom oracle queries (like "please fetch json at url XYZ and extract my.desired.data of Type Xyz")
#### read-only
* (planned) offer our TEE registry for whitelisting on other parachains (i.e. for whitelisting oracles)
### Encointer
*could possibly be done read-only*
* (HRMP PoC done) personhood oracle: other parachain requests verification of proof of personhood with confidence rating for one account to be used for faucets, airdrops, democracy (...) on their chain
### Interlay/Kintsugi
- Use collateral assets from other chains: KSM/DOT live; aUSD next; staking derivatives after
- Bring iBTC/kBTC to other parachains: live Karura/Acala, Moonriver/Moonbeam
- (WIP - locally tested) Supply treasury funds to AMM pools during bootstrap (Interlay -> Acala)
- (WIP) use oracles from other parachains, e.g., actual oracle sources and DEX balances if sufficient liquidity
### Litentry
- (done) Token transfer of native LIT to DEX parachains (Karura, Moonriver)
- (planned) allow user's identity linking via XCM (from e.g. a whitelisted MultiLocation on parachain A)
- (planned) allow VC request/respond via XCM. E.g. a specific MultiLocation on parachain A sends out a VC request, we react upon receiving the messages, issue the VC and pass the encrypted VC back via XCM to the sender.
- (planned) allow combined-issuance of VCs via XCM. A VC could be co-issued by Litentry and parachain A, in that case XCM is used to communicate with the co-issuer and exchange the information that is specific to parachain A.
### Nodle
- (exploring) running part of our centralized oracle as a Phala workload, and sending commands via XCM (report results, control and upgrade the workload).
- (exploring) exposing our capabilities to other parachains: deploy smart missions and interact with them.
- (planned) using NODL as collateral on other DEFI parachains, or on DEXs.
### [Team x]
## Discussion Topics
* When to avoid XCMP for read-only purposes and using a proof using the state root instead (https://github.com/paritytech/polkadot/issues/5087#issuecomment-1065602006)
* Parachain level DeFi cross-chain: treasury supplies funds to AMM, lending protocols, mints stablecoins (...) and claims rewards
* Liquidity fragmentation across parachains: liquidity provision in pools in unsustainable over time; need better solution
* Unified UI: tools to interact with multiple chains, tokens, apps, ...
* Best practices (especially security wise)
## Issues
---
## Discussion