# PancakeSwap

BNB Chain is an independent blockchain that runs side by side with the Binance blockchain and is compatible with the Ethereum Virtual Machine. To learn more about how BNB Chain works, [VISIT THIS POST.](https://academy.binance.com/en/articles/what-is-bnb-chain)

## Buying DEC on PancakeSwap <a href="#buying-dec-on-pancakeswap" id="buying-dec-on-pancakeswap"></a>

### **Preliminary Checklist** <a href="#preliminary-checklist" id="preliminary-checklist"></a>

* You must have a BNB chain-compatible wallet ([**Metamask**](https://docs.splinterlands.com/other-blockchains/binance-smart-chain-bsc/setting-up-bsc-on-metamask) is recommended).
* You must have added the **DEC** tokens to your BNB Chain wallet.
* You must have a quantity of your favorite BNB Chain token in your wallet with which to purchase DEC.
* You must have a small amount of BNB Token in your wallet to cover transaction fees (gas).

### How to Buy <a href="#how-to-buy" id="how-to-buy"></a>

1. [Go to PancakeSwap](https://pancakeswap.finance/swap?chain=bsc\&outputCurrency=0xE9D7023f2132D55cbd4Ee1f78273CB7a3e74F10A\&inputCurrency=BNB)
2. Login to Pancake Swap with your BNB Chain wallet.

<figure><img src="/files/XNwfliPeoDngPc9B8nq4" alt=""><figcaption></figcaption></figure>

3. Click **Swap** in the upper lef&#x74;**.**
4. In the upper field, select the BNB Chain token you want to swap. In the lower field, select **DEC** as the token (Contract 0xe9d7023f2132d55cbd4ee1f78273cb7a3e74f10a) and enter the amount of the BNB Chain token you would like to swap to DEC. As long as the liquidity is available, the equivalent value in DEC will then be automatically filled in.

<figure><img src="/files/h3AhWaIeYyyiucmTFMXI" alt=""><figcaption></figcaption></figure>

5. Check the details, then confirm the swap in your wallet.


---

# 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/dec-on-binance-smart-chain.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.
