create account

How to Sell SPS Using LeoDex | L1 DEX Swap Tutorial by khaleelkazi

View this thread on: hive.blogpeakd.comecency.com
· @khaleelkazi ·
$48.26
How to Sell SPS Using LeoDex | L1 DEX Swap Tutorial
<iframe width="100%" height="315" src="https://www.youtube.com/embed/WTec5-tH4cU" frameborder="0" allowfullscreen></iframe>

Hey everyone, in the [last tutorial](https://inleo.io/@khaleelkazi/how-to-buy-sps-using-l1-crypto-assets-on-leodex) I showed you how to buy SPS using LeoDex (inbound swaps). In this tutorial, I'll show you how to do the outbound version of that swap (selling SPS to any L1 token on Maya using [LeoDex](https://leodex.io)). 

LeoDex allows you to do L1 swaps with native crypto assets using Maya Protocol as the backend. We built a Hive Aggregator - what we call Hive Aggregation Technology (or HAT, for short). 

HAT on LeoDex allows you to seamlessly aggregate Hive and Hive assets across LeoDex and through Maya pools.

This means that you can now swap SPS, DEC and HIVE seamlessly and in less than 5 minutes
- Often better pricing than centralized exchanges
- No KYCs (liquidity pools, powered by Maya)
- Faster than centralized exchanges 
- Easy to use

Let's dive in!

## Step 1). Connect a Wallet on [LeoDex](https://leodex.io)

 https://img.inleo.io/DQmUEwwNbrjNHKXR95Cp4YSEz21UvWaZcX4Q9vMGVFpwpgp/image.png 

You can do either Keystore or XDeFi. I used Keystore for this tutorial.

Don't forget to also tick the Hive network logo and then enter your Hive username. Then it will prompt you to sign in with your Hive Keychain extension as well.

## Step 2). Input SPS & Output Asset

 https://img.inleo.io/DQmZwiT6zUXvkLd9ZV46CZ9sJDyAHvThxW781FViEqzzYsb/image.png 

Here I put SPS in the top and CACAO in the bottom for an SPS to CACAO L1 Swap. You can choose any Maya asset in the output. 

You can see on this swap that I'm actually going to make $0.20 on the swap with 0 fees. 

The reason for this is because of price arbitrage. The aggregator is autonomously arbitraging the two LEO pools which means that you either get beneficial pricing or less beneficial pricing. 

It depends on the price dynamics, so I recommend quoting the swap and seeing if you're getting the better end of the deal. 

## Step 3). Click Swap!

 https://img.inleo.io/DQmcsSaina3R4SkcDxi1fvUL1C46Eq8L8naLAJWAbG38P2i/image.png 

After clicking swap, you'll see the Aggregator window pop up. This window will walk you through as the swap occurs - step-by-step. 

The transaction starts as SPS on Hive-Engine and then swaps it to swap.hive, then it will swap to LEO. 

Then it will aggregate the LEO to Arbitrum LEO. 

From there, it will swap aLEO into CACAO and you'll see the CACAO land in your wallet. The magic of LeoDex is that the UI and backend handle all of this for you. You will be prompted to confirm a few transactions via Hive Keychain and your Web3 wallet.

Outside of those confirmations, you don't have to do anything. It's really simple and it takes less than 5 minutes.

## Step 4). All Done!

 https://img.inleo.io/DQmc4Jqfn5mRvQYRVpFwwmfbfz3X5pJDyUCDnsRxiVkUAUG/image.png

That's it! In under 5 minutes, I swapped from SPS on Hive to CACAO on Maya Protocol.

I refreshed my wallet balances on the right-side menu and the CACAO is now in my wallet. 

## Questions or Feedback?

Drop a comment below with any questions or feedback.

Start using https://leodex.io for all your Hive, SPS, DEC L1 swapping needs 🦁

Posted Using [InLeo Alpha](https://inleo.io/@khaleelkazi/how-to-sell-sps-using-leodex-l1-dex-swap-tutorial)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 667 others
properties (23)
authorkhaleelkazi
permlinkhow-to-sell-sps-using-leodex-l1-dex-swap-tutorial
categoryhive-13323
json_metadata{"app":"leothreads/0.3","format":"markdown","tags":["hive-13323","hive","sps","dec","development","hbd","dex","leo","inleo","palnet"],"canonical_url":"https://inleo.io/@khaleelkazi/how-to-sell-sps-using-leodex-l1-dex-swap-tutorial","links":["https://inleo.io/@khaleelkazi/how-to-buy-sps-using-l1-crypto-assets-on-leodex)","https://leodex.io)).","https://leodex.io)","https://leodex.io","https://inleo.io/@khaleelkazi/how-to-sell-sps-using-leodex-l1-dex-swap-tutorial)"],"images":["https://i.ytimg.com/vi/https://www.youtube.com/embed/WTec5-tH4cU\"/hqdefault.jpg","https://img.inleo.io/DQmUEwwNbrjNHKXR95Cp4YSEz21UvWaZcX4Q9vMGVFpwpgp/image.png","https://img.inleo.io/DQmZwiT6zUXvkLd9ZV46CZ9sJDyAHvThxW781FViEqzzYsb/image.png","https://img.inleo.io/DQmcsSaina3R4SkcDxi1fvUL1C46Eq8L8naLAJWAbG38P2i/image.png","https://img.inleo.io/DQmc4Jqfn5mRvQYRVpFwwmfbfz3X5pJDyUCDnsRxiVkUAUG/image.png"],"isPoll":false,"dimensions":{}}
created2024-05-12 15:50:51
last_update2024-05-12 15:50:51
depth0
children5
last_payout2024-05-19 15:50:51
cashout_time1969-12-31 23:59:59
total_payout_value23.566 HBD
curator_payout_value24.695 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,345
author_reputation2,576,592,407,625,589
root_title"How to Sell SPS Using LeoDex | L1 DEX Swap Tutorial"
beneficiaries
0.
accountleofinance
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id133,593,487
net_rshares116,779,862,298,008
author_curate_reward""
vote details (731)
@atnazo ·
Is nice to see SPS on leodex with complete tutorial how to trade with it!
Thanks for share!
properties (22)
authoratnazo
permlinkre-khaleelkazi-sddsk1
categoryhive-13323
json_metadata{"tags":["hive-13323"],"app":"peakd/2024.5.1"}
created2024-05-12 16:31:15
last_update2024-05-12 16:31:15
depth1
children0
last_payout2024-05-19 16:31:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length91
author_reputation495,977,230,669,442
root_title"How to Sell SPS Using LeoDex | L1 DEX Swap Tutorial"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id133,594,208
net_rshares0
@gadrian ·
Man, what does UNPREDICTABLE_GAS_LIMIT code mean? I don't seem to be able to do anything with LEO on Arb because of this error. I don't think it's insufficient gas, I still have 0.00187578 ETH on Arb.
properties (22)
authorgadrian
permlinkre-khaleelkazi-sdf2qe
categoryhive-13323
json_metadata{"tags":["hive-13323"],"app":"peakd/2024.5.1"}
created2024-05-13 09:08:39
last_update2024-05-13 09:08:39
depth1
children2
last_payout2024-05-20 09:08:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length200
author_reputation638,318,516,324,125
root_title"How to Sell SPS Using LeoDex | L1 DEX Swap Tutorial"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id133,609,937
net_rshares0
@justinmora ·
Use 60 LEO to recharge gas. Click the blue ⛽. Make sure you have 60 LEO in account 
properties (22)
authorjustinmora
permlinkre-gadrian-2024513t83624599z
categoryhive-13323
json_metadata{"type":"comment","tags":["hive-13323"],"app":"ecency/3.0.46-mobile","format":"markdown+html"}
created2024-05-13 12:36:24
last_update2024-05-13 12:36:24
depth2
children1
last_payout2024-05-20 12:36:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length83
author_reputation704,911,818,995
root_title"How to Sell SPS Using LeoDex | L1 DEX Swap Tutorial"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id133,613,189
net_rshares0
@gadrian ·
I have 5+$ worth of Arbitrum ETH in my wallet to pay for a 0.22$ fee (if I remember correctly).

After checking, looks like the transaction went through eventually. Seems like commenting on Khal's post pays off... 😁 Whatever that was, it got solved.
properties (22)
authorgadrian
permlinkre-justinmora-sdffeh
categoryhive-13323
json_metadata{"tags":["hive-13323"],"app":"peakd/2024.5.1"}
created2024-05-13 13:42:18
last_update2024-05-13 13:42:18
depth3
children0
last_payout2024-05-20 13:42:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length249
author_reputation638,318,516,324,125
root_title"How to Sell SPS Using LeoDex | L1 DEX Swap Tutorial"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id133,614,687
net_rshares0
@oadissin ·
It is a nice opportunity to all Splinterlands players.
I am sure it will make available liquidity to buyer and seller
Thank you for this information
Peace
properties (22)
authoroadissin
permlinkre-khaleelkazi-2024514t15126268z
categoryhive-13323
json_metadata{"tags":["hive-13323","hive","sps","dec","development","hbd","dex","leo","inleo","palnet"],"app":"ecency/3.2.0-vision","format":"markdown+html"}
created2024-05-14 14:12:06
last_update2024-05-14 14:12:06
depth1
children0
last_payout2024-05-21 14:12:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length154
author_reputation459,910,700,402,277
root_title"How to Sell SPS Using LeoDex | L1 DEX Swap Tutorial"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id133,648,087
net_rshares0