Skip to main content

Creating work steps

Creating a web2 workstep

You can create a web2 workstep to performa a GET request to https://icanhazip.com using the prepareWeb2Step function.

Creating a XM workstep

THe process of creating a cross chain workstep to send some ETH to an address can be described as follows:
  1. Generating a payload to send ETH
  2. Create a XMScript with the payload
  3. Create an XM step with the XMScript