The XMScript
The XMScript
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
, etcSubchain identifier .eg.
sepolia
Signed payload
Task parameters
Task type. eg.
pay
,contract_read
RPC URL (Optional)
A single 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
Last updated