The XMScript
TheXMScript is a JSON script that dictates how a cross chain should be broadcasted to another blockchain from a DEMOS node.
The XMScript contains the following information:
- Blockchain identifier .eg.
eth,solana,xrpl, etc - Subchain identifier .eg.
sepolia - Signed payload
- Task parameters
- Task type. eg.
pay,contract_read - RPC URL (Optional)
XMScript can contain multiple blockchain payloads. The order of execution of these payloads is controlled using an operation_order list.
Here’s an example XMScript