In this example, we will create a limit order to sell 1 DAI at a price of .004 ETH.
NOTE: If you have already set up Approvals, then skip to Step 5.
1. From AirSwap, click “Add Liquidity” on the top right-hand corner.
2. Click “Get Started.”
3. Now, you will begin the process of giving AirSwap contracts the approval to create a Delegate; once you’ve read the instructions, click “Create Delegate.” These Approvals will cost Gas, and you only have to do this the first time you’re setting up Delegates with your connected wallet.
4. You will Create and Approve a Delegate in this step. For each step, your wallet will prompt you to sign a transaction. As a reminder, each transaction will cost Gas.
5. Now, you will be creating a Rule. In this tutorial, this Rule will act as your limit order. Click “Create Rule” to continue.
6. For this guide, we will use the pairs AST <> ETH. We will sell 1 DAI at a price of .004 ETH. If you want to change either side of the pair, click either drop-down menu to find the token you would like to trade with.
OPTIONAL: At the bottom of the window, you will see an option to Stake AST. If your token is popular, you will have to stake more AST to make sure your limit orders are visible on the network. There are 20 viewable slots available. If you don’t see yourself on the viewable slots, you must stake more than the 20th wallet address.
7. Once you’ve reviewed all terms of your limit order and have staked enough AST to be viewable on the network, click “Create Rule.”
8. When creating a Rule, you will have to Approve a Swap and Create a Rule. Both actions will cost Gas.
Congrats! You have successfully created a limit order to sell 1 DAI at a price of .004 ETH. You will be able to review all terms and status of the Rule by clicking the “Add Liquidity” button on the top right-hand corner.