→ Get started
Follow this guide to create an account and start writing jobs and conditions. For more general information on how Warp works, visit the Overview page. To learn how to create a template, follow the template tutorial. To see an example of a Warp job and condition without a template, visit the Example page.
Prerequisites
Complete the following before creating a job:
- Download Google Chrome
- Install the Station Chrome Extension
Connect your wallet to Warp
-
Sign in to your Station wallet using the Station Browser Extension.
-
To connect your wallet to Warp, click the wallet icon in the bottom left corner of the Warp app screen.
-
Select Station Wallet.
-
If needed, click approve in the Station extension.
You are now connected to your wallet. Before you continue, make sure you are using the correct network.
Create an account
Warp accounts allow jobs to have access to funds that they can transact with. Before you can create a job, you'll need to make an account.
- On the left menu, click on the third icon from the top. It should look like two interlocked circles.
Before proceeding, understand that you will need to sign a transaction with your wallet to set up your Warp account.
-
Click Create account and sign the transaction by inputting your password on the Station Browser Extension.
-
Deposit some funds into your Warp account to use in jobs or to pay for execution rewards.
Create a job using a premade template
Templates help make jobs reusable and easier to create. Use the following steps to create a job from a premade template.
-
On the left menu, click the "+" symbol to open the creation menu.
-
Select Job and then select Basic mode.
-
Enter a job name and select a template from the Template dropdown.
-
Enter values into the required fields and specify a reward for execution.
-
Double-check your inputs and click Save.
-
Sign the transaction using the Station extension.
Congratulations, you've just created a job!
Create a template
Follow the template creation guide to learn how to make a limit order template.
Create a job from scratch
For a hands-on example of a Warp job and condition, visit the Example page.
-
On the left menu, click the "+" symbol to open the creation menu.
-
Select Job and then select Advanced mode.
-
Enter a Job Name, a Reward for executing the job, and a Job message. This message can be any WASM message that you want to execute. Remember that you will need to add funds to your account before you can transact them in a job message. Be sure that your reward amount is more than the gas cost of the message.
-
Click Next.
-
Create a condition using the interface. Click the + symbol to add a condition. For complex conditions, select a boolean operator such as And, Or, or Not. For single expressions, select Expression.
Visit the Conditions and expressions page to learn how conditions work.
-
Select an Expression type to specify the conditions of when your job should be executed. The time input can be human-readable, such as "next Saturday at 8:00 pm." All times are in UTC.
- Timestamp expressions require a time and a less than (lt) or greater than( gt) operator.
- Blockheight expressions require a height as well as number operator.
- Booleans, decimal, integer, or string expressions can be written using simple or query inputs.
- Queries require a name, a query message, and a selector.
-
After writing your condition, click Save and sign your job submission using Station.
Congratulations! You just created a job! When the conditions have been met, a keeper will execute your job and claim their reward.