# Corn

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

<table data-header-hidden><thead><tr><th></th><th></th><th></th><th></th><th></th><th data-hidden>Xai Testnet (Sepolia)</th></tr></thead><tbody><tr><td><a href="https://usecorn.com/">Website</a></td><td><a href="https://cornscan.io">Chain Explorer</a></td><td><a href="https://x.com/use_corn">X</a></td><td><a href="https://discord.com/invite/usecorn">Discord</a></td><td><a href="https://t.me/+upkPwAJwIz5iZDEx">Telegram</a></td><td><a href="https://testnet-v2.xai-chain.net/rpc">https://testnet-v2.xai-chain.net/rpc</a></td></tr></tbody></table>

[Corn is](https://blog.usecorn.com/introducing-corn-the-super-yield-network-built-around-digital-gold-01436745b64a) an Ethereum Layer 2 network powered by Arbitrum Orbit, designed to bring Bitcoin into the heart of DeFi. It uses tokenized Bitcoin (BTCN) as its gas token, seamlessly bridging Bitcoin and Ethereum ecosystems. BTCN, pegged 1:1 with Bitcoin, offers flexible custody options, while the governance token CORN empowers stakers to influence network rewards

## Connect your wallet to Corn

Throughout this guide, we will assume that you are using the Metamask wallet since it is the one most people use, the process of setting up a wallet should be very similar regardless of the wallet you choose

1. The first step is to open Metamask and select the <mark style="color:yellow;">network icon</mark> dropdown menu
2. When the pop-up appears, click <mark style="color:yellow;">Add Network</mark>
3. The Add a network page will open. Add the following details:

<table><thead><tr><th>Network name</th><th>Corn</th><th data-hidden>Xai Testnet (Sepolia)</th></tr></thead><tbody><tr><td>RPC URL</td><td><a href="https://rpc.ankr.com/corn_maizenet">https://rpc.ankr.com/corn_maizenet</a></td><td><a href="https://testnet-v2.xai-chain.net/rpc">https://testnet-v2.xai-chain.net/rpc</a></td></tr><tr><td>Chain ID</td><td>21000000</td><td>37714555429</td></tr><tr><td>Currency symbol</td><td>BTCN</td><td>sXAI</td></tr><tr><td>Block explorer URL</td><td><a href="https://cornscan.io">https://cornscan.io</a></td><td><a href="https://testnet-explorer-v2.xai-chain.net/">https://testnet-explorer-v2.xai-chain.net/</a></td></tr></tbody></table>

Once you're finished, click <mark style="color:yellow;">Save</mark>

4. You are now connected to the Corn chain

### Bridge to Corn

Tokens can be bridged to the Corn chain using the official [bridge](https://usecorn.com/app?action=bridge)

{% hint style="danger" %}
Gas on the Corn chain is paid in BTCN\
Therefore, we recommend bridging it as the first token so you can process transactions
{% endhint %}

[Get BTCN](https://docs.usecorn.com/docs/users/User_Guides/Get_BTCN/)

[How to bridge](https://docs.usecorn.com/docs/users/User_Guides/Bridge/) :information\_source:&#x20;


---

# 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.camelot.exchange/orbital-liquidity-network/corn.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.
