# Hive Engine

**Because your Splinterlands account is also a HIVE blockchain account, you are able to use it to transact on the decentralized exchange (DEX) at** [**HIVE-Engine.com**](https://hive-engine.com/)**.**

## **Buying DEC on HIVE-Engine** <a href="#buying-dec-on-hive-engine" id="buying-dec-on-hive-engine"></a>

&#x20;

**Because your Splinterlands account is also a HIVE blockchain account, once you have purchased the Spellbook, you can use it to transact on the decentralized exchange (DEX) at** [**HIVE-Engine.com**](https://hive-engine.com/)**.**

### **Buying Through HIVE-Engine Directly** <a href="#buying-through-hive-engine-directly" id="buying-through-hive-engine-directly"></a>

&#x20;

By purchasing your DEC directly from the HIVE-Engine DEX, you can avoid the processing fee applied by the Splinterlands method, but there are a few additional steps.

&#x20;

**Depositing HIVE into HIVE-Engine**

1. Acquire HIVE tokens in your HIVE account wallet.
2. Sign in to [HIVE-Engine.com](http://hive-engine.com/) with your HIVE account and go to your **Wallet** page.
3. Click **Deposit** at the top of the screen

<figure><img src="https://1865200006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTqLt1UcMaV6ezLJUdy%2Fuploads%2F6j5kSaZ4a2iPYXRUw1JU%2Fimage.png?alt=media&#x26;token=00d7036b-8be7-41a5-b210-e218436157e3" alt=""><figcaption></figcaption></figure>

&#x20;

4. Select **HIVE** as the currency that you would like to deposit from the dropdown menu.

&#x20;

<figure><img src="https://1865200006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTqLt1UcMaV6ezLJUdy%2Fuploads%2FjVhTTE95Guwd9HfAwbHH%2Fimage.png?alt=media&#x26;token=4c7b877e-2020-4680-98da-a910484b5f89" alt=""><figcaption></figcaption></figure>

5. Enter the amount of HIVE you would like to deposit. It will be converted to **SWAP.HIVE,** which you can use to purchase DEC from the DEX.

<figure><img src="https://1865200006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTqLt1UcMaV6ezLJUdy%2Fuploads%2FYSCzkTFpfREOfKUG4dq2%2Fimage.png?alt=media&#x26;token=b660c5d1-1d00-4a12-97a0-fe347d707b6b" alt=""><figcaption></figcaption></figure>

&#x20;

**Purchasing DEC with SWAP.HIVE**

1. Navigate to the Market page on HIVE-Engine.
2. Select the DEC token from the dropdown menu.

<figure><img src="https://1865200006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTqLt1UcMaV6ezLJUdy%2Fuploads%2F7V5E0p7PyFxwuSRWn0MD%2Fimage.png?alt=media&#x26;token=78b91ace-0064-459e-91c4-3f1da7b82eb0" alt=""><figcaption></figcaption></figure>

3. Scroll down to **Buy Orders** and **Sell Orders** and locate the cheapest *Sell Order* that offers the quantity of DEC you are looking for.

<figure><img src="https://1865200006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTqLt1UcMaV6ezLJUdy%2Fuploads%2FtoMaXJD2tdr5VBL8QGPJ%2Fimage.png?alt=media&#x26;token=05a0b3b2-947a-430c-af7c-6e4a62845297" alt=""><figcaption></figcaption></figure>

4. Enter the *Price* of that Sell Order in the Price field under **Buy DEC** and the desired quantity to buy. Also, you can click the ASK value to autofill the price and modify the desired amount to buy.
5. Double-check the price and quantity, then place your Buy Order. If you have done it correctly, it will be filled immediately if you create a Buy Order with a lower price than those currently offered, it will appear in the Buy Orders list until someone creates a Sell Order whose price matches your Buy Order.

## Selling DEC on HIVE-Engine <a href="#selling-dec-on-hive-engine" id="selling-dec-on-hive-engine"></a>

Selling DEC on HIVE-Engine is very similar to the above process of *buying DEC on HIVE-Engine.*

1. Start with the [DEC Market Page](https://hive-engine.com/?p=market\&t=DEC).
2. Create a **Sell Order** by filling out the **Sell DEC** section. If you match the price of your Sell Order to the price of one of the open Buy Orders on the list, it will be filled immediately. If you create a Sell Order that is more expensive than the Buys currently available, it will be listed as an open Sell Order and be filled when someone places a corresponding Buy.
3. When filled, you will be paid in **SWAP.HIVE,** which can then be withdrawn to an external wallet (such as an exchange) or traded for one of the other **SWAP.** pegged cryptocurrencies on HIVE-Engine (BTC, LTC, ETH, BAT, etc.) that can then be withdrawn to the wallet of your choice.

## Transferring DEC in/out of Splinterlands <a href="#transferring-dec-in-out-of-splinterlands" id="transferring-dec-in-out-of-splinterlands"></a>

All transfers of DEC to and from external sites and blockchains are simple when your wallet is linked to your Splinterlands account.

When you click on your DEC balance in Splinterlands, you'll find all your DEC balance details.

<figure><img src="https://1865200006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTqLt1UcMaV6ezLJUdy%2Fuploads%2FoF56SvGaSVuG5LI6ICpz%2Fimage.png?alt=media&#x26;token=1ccbb2bf-33cc-4d1d-86bc-5cd01a413122" alt=""><figcaption></figcaption></figure>

You can click the Transfer Button to get the **DEC Transfer Page.** With this page, you can transfer DEC in or out of any of your linked wallets, including HIVE-Engine, Ethereum, Binance Smart Chain, and other players.

<figure><img src="https://1865200006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTqLt1UcMaV6ezLJUdy%2Fuploads%2FSafJGm9RXKuRH4BV5Uga%2Fimage.png?alt=media&#x26;token=94fafd8b-6b32-4c2b-9261-4cbdfd88ef53" alt=""><figcaption></figcaption></figure>

To transfer DEC to HIVE-Engine from Splinterlands, input the amount of DEC you wish to transfer and select **From** In Game **To** Hive Engine In the dropdown menu. Then click **TRANSFER,** and the DEC will be immediately added to your HIVE-Engine wallet.

<figure><img src="https://1865200006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTqLt1UcMaV6ezLJUdy%2Fuploads%2FlA9hj7fLHlCEobdPULDH%2Fimage.png?alt=media&#x26;token=e97f9751-9dbd-49dc-b9fc-ffb97223cee0" alt=""><figcaption></figcaption></figure>

To transfer DEC **From** HIVE-Engine **To** In Game just pick the correct order in the Dropdown menu, fill in the amount, and click **TRANSFER**. The transferred DEC will then show up in your in-game balance in moments.

<figure><img src="https://1865200006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTqLt1UcMaV6ezLJUdy%2Fuploads%2FV8LKRiLPA7XM4TbVLx7r%2Fimage.png?alt=media&#x26;token=037ca113-3870-4834-87d7-6b3009de6a5e" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.splinterlands.com/dark-energy-crystals/external-chains/hive-engine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
