Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
XCM (Cross-Consensus Message Format) is a communication format between consensus systems
0
votes
XCM Transact for interfaces
generic instructions that are chain agnostic and don't depend on specific implementations
This is basically what the entire XCM protocol is providing. … XCM has made a generic interface for all the "common" cross chain messaging like asset transfers, taking / paying fees, etc... …
1
vote
Parachain XCM customize call
This is actually why XCM exists at all, to make common calls that different parachains would need to interact with each other generic, and independent of an underlying changing Call type that would be …
2
votes
Accepted
Can XCM demand roll back of another chain's state if it fails?
You should not think of XCM messages the same as internal chain transactions since they are asynchronous and between two different blockchains. …
1
vote
Are there descriptions, explanations, examples of the different XCM origin types/XcmV0Origin...
There are descriptions of the origins in the codebase.
https://github.com/paritytech/polkadot/blob/master/xcm/src/v0/mod.rs#L60
/// Basically just the XCM (more general) version of `ParachainDispatchOrigin … (target: "xcm::origin_conversion", "ParentAsSuperuser origin: {:?}, kind: {:?}" …
1
vote
Accepted
What ways can parachains improve interoperability and increase trust using SPREE?
For example, being able to interface between the runtime and SPREE modules, having separate state trees for the SPREE modules, and even a set of XCM APIs specific for cross-chain SPREE interactions. …
1
vote
Accepted
What is the best way to iteratively develop a XCM pallet?
You should write unit tests using the xcm-simulator which can emulate multiple parachains communicating over XCM:
https://github.com/paritytech/polkadot/tree/master/xcm/xcm-simulator
In this case, you …
2
votes
Accepted
Sending assets from parachain to relaychain resulting in asset not found
If I understand what you are doing correctly, then the Polkadot relay chain only knows about and supports the DOT token. So you cannot transfer other tokens to the relay chain, and as you have seen, t …
18
votes
Accepted
What is the XCM format on Polkadot?
XCM stands for cross-consensus message, and is a message format designed to let multiple different consensus engines communicate with one another. … The best way to learn about XCM is by reading the specification: https://github.com/paritytech/xcm-format
As a high level simplification, you can think of XCM as standardizing all the most common calls …
1
vote
1
answer
135
views
How can you use Polkadot JS API to Create an XCM Reserve Transfer Assets? (XCM V2)
To do this, I need to:
connect to the relay chain with Polkadot JS API
construct the XCM types required by the reserve asset transfer function
submit an extrinsic to trigger that xcm, preferably using … an account from the Polkadot JS Extension
What is a minimal working example of this process using XCM V2 syntax? …
1
vote
Accepted
How can you use Polkadot JS API to Create an XCM Reserve Transfer Assets? (XCM V2)
doctype html>
<html lang="en">
<body>
<h1>Simple XCM Example</h1>
<button onclick="submitXcm()">Submit an XCM Transaction</button>
<script src="//unpkg.com/@polkadot/util/bundle-polkadot-util.js … Make sure that all of your constructed types use the same XCM version. …