# How to Use the Test Environment

The Lagrange testing environment is a testnet connected to the Swan Proxima Chain, designed for users and partners to try out features and transactions. To get started, visit <https://testnet.lagrange.computer>.

You'll need [SwanETH](#step-2-bridge-eth-from-sepolia-to-swan-proxima) for gas fees, which you can obtain by swapping [Sepolia ETH](#step-1-fund-your-wallet-with-sepolia-eth-tokens) via a [bridge](https://bridge.swanchain.io/). Additionally, you'll need [tSWAN ](#step3-claim-testswan)to pay Computing Providers for the resources required to power your Space (Application).&#x20;

Follow the steps outlined below to begin using the test environment.

### Network Info: Swan Testnet (Proxima) <a href="#proxima-testnet" id="proxima-testnet"></a>

| RPC URL            | [https://rpc-proxima.swanchain.io](https://rpc-proxima.swanchain.io/)                                                   |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| Chain ID           | 20241133                                                                                                                |
| Currency Symbol    | ETH                                                                                                                     |
| Block Explorer URL | <https://proxima-explorer.swanchain.io/>                                                                                |
| Chainlist          | <https://chainlist.org/chain/20241133>                                                                                  |
| Contract Addresses | Refer to the [Contract Addresses pages](https://docs.swanchain.io/network-reference/contract-addresses#proxima-testnet) |
| Connect Wallet     | Click [here](https://chainlist.org/chain/20241133) to connect your wallet to Swan Chain (Proxima) testnet               |

### 1.Set Up MetaMask

**Step 1: Add Swan Chain Proxima Testnet to MetaMask**

Swan, built at OP Stack, is currently available on the **Sepolia Testnet**. To engage with Swan, you'll need **Sepolia Testnet ETH**. Therefore, before adding Swan Testnet into MetaMask, it's essential to add the Sepolia Testnet to your wallet as well.

1\. Open MetaMask and click on the network name at the top ( "Ethereum Mainnet").

2\. Toggle **Show test networks** to reveal testnets.

<figure><img src="https://docs.swanchain.io/~gitbook/image?url=https%3A%2F%2F3478205236-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FcvUWH8GhRCqvKwuN0BGF%252Fuploads%252FkqLYn7Vk6jSnagGSGPJ2%252Fimage.png%3Falt%3Dmedia%26token%3Da916fc74-bd5a-4372-8947-7ba2cbc6e3b9&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=d0dcc6a3&#x26;sv=1" alt=""><figcaption></figcaption></figure>

3\. Scroll and select **Sepolia**

<figure><img src="https://docs.swanchain.io/~gitbook/image?url=https%3A%2F%2F3478205236-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FcvUWH8GhRCqvKwuN0BGF%252Fuploads%252FtxTaP9GEn8kvi5FjX19r%252Fimage.png%3Falt%3Dmedia%26token%3D8015bdbe-73a0-4220-ae7b-6f3172b48dbe&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e55b9090&#x26;sv=1" alt=""><figcaption></figcaption></figure>

4.From the homepage of your wallet, click on the network selector in the top left, and then on **Add network** > **Add a network manually**.

<figure><img src="https://docs.swanchain.io/~gitbook/image?url=https%3A%2F%2F3478205236-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FcvUWH8GhRCqvKwuN0BGF%252Fuploads%252FKYDK3OOiU5izeJD6QjWL%252Fimage.png%3Falt%3Dmedia%26token%3Db4acf606-3dff-41c2-a644-da36c78d9612&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=fca6e079&#x26;sv=1" alt=""><figcaption></figcaption></figure>

5.Fill in details for Swan Chain Proxima Testnet:

| Network name       | Swan Proxima                                                          |
| ------------------ | --------------------------------------------------------------------- |
| New RPC URL        | [https://rpc-proxima.swanchain.io](https://rpc-proxima.swanchain.io/) |
| Chain ID           | 20241133                                                              |
| Currency symbol    | SwanETH                                                               |
| Block explorer URL | <https://proxima-explorer.swanchain.io/>                              |

If the above RPC fails, please try using this RPC: [https://rpc-proxima-tp.nebulablock.com](https://rpc-proxima-tp.nebulablock.com/)

6.Click **Save** or **Add** to save the network.

<figure><img src="https://docs.swanchain.io/~gitbook/image?url=https%3A%2F%2F3478205236-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FcvUWH8GhRCqvKwuN0BGF%252Fuploads%252Fy81dKvajvbf4yxZqvLUQ%252Fimage.png%3Falt%3Dmedia%26token%3D028defa0-946c-4d27-9f90-4339d4e7029a&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e04467a6&#x26;sv=1" alt=""><figcaption></figcaption></figure>

### Step 2: Import Tokens: <a href="#step-2-import-tokens" id="step-2-import-tokens"></a>

1.Click on **Import tokens** at the bottom of the **Tokens** tab.

<figure><img src="https://docs.swanchain.io/~gitbook/image?url=https%3A%2F%2F3478205236-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FcvUWH8GhRCqvKwuN0BGF%252Fuploads%252FpIzwtIdodQ085ZPq3Mer%252Fimage.png%3Falt%3Dmedia%26token%3Dc8a3e360-82d0-4730-9a84-912196f9bed3&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=a301c7b4&#x26;sv=1" alt=""><figcaption></figcaption></figure>

2.Enter token contract addresses:

SWAN:

```
0x91B25A65b295F0405552A4bbB77879ab5e38166c
```

3.Token symbols and decimals should autofill; if not, check the block explorer.

4.Click **Import** to confirm.

## 2.Fund Your Wallet with Tokens

### Step 1: **Fund Your Wallet with SepoliaETH** <a href="#step-1-fund-your-wallet-with-sepolia-eth-tokens" id="step-1-fund-your-wallet-with-sepolia-eth-tokens"></a>

To engage in Swan Chain Proxima Testnet, you will require **SwanETH** tokens, which are bridged at a 1:1 ratio with **Sepolia ETH**. Therefore, it is necessary to obtain Sepolia Testnet ETH tokens initially from Alchemy and Quicknode faucets.

**Option 1: Mint Sepolia ETH on** [**PowFaucet**](https://sepolia-faucet.pk910.de/)

1.visit <https://sepolia-faucet.pk910.de/>

2\. Enter your address and click **Start Mining**

<figure><img src="https://docs.swanchain.io/~gitbook/image?url=https%3A%2F%2F3478205236-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FcvUWH8GhRCqvKwuN0BGF%252Fuploads%252FF7maNYjfxv0qyqDjaSnj%252Fimage.png%3Falt%3Dmedia%26token%3D4907393f-970b-44a5-8c7f-04a25d155192&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=dd215ccb&#x26;sv=1" alt=""><figcaption></figcaption></figure>

3\. Keep the process running continuously to accumulate more Sepolia ETH over time.

#### **Option 2: Claim Sepolia ETH on the Alchemy Sepolia Faucet:**

Alchemy allows registered users to claim up to 0.5 Sepolia ETH daily at the time of writing.

1\. To claim Sepolia ETH on Alchemy, Visit the[ faucet platform](https://sepoliafaucet.com/).

2\. Enter your wallet address and click “Send me ETH” to receive Sepolia ETH in your wallet.

<figure><img src="https://docs.swanchain.io/~gitbook/image?url=https%3A%2F%2F3478205236-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FcvUWH8GhRCqvKwuN0BGF%252Fuploads%252FX0N3fG8IPJl1agn2nEbX%252Fimage.png%3Falt%3Dmedia%26token%3D1df1d042-3333-403a-815a-d28d0e5d2cc5&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=4dc83963&#x26;sv=1" alt=""><figcaption></figcaption></figure>

**Option 3: Claim Sepolia ETH on the Quicknode Faucet:**

1.To claim Sepolia on Quicknode, visit the[ Quicknode Sepolia ETH faucet.](https://faucet.quicknode.com/ethereum/sepolia)

2.Connect your wallet to the platform. MetaMask, Trust Wallet, and other web3 wallets are supported on the network.

3\. Confirm your wallet and proceed to claim 0.05 SepoliaETH.

<figure><img src="https://docs.swanchain.io/~gitbook/image?url=https%3A%2F%2F3478205236-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FcvUWH8GhRCqvKwuN0BGF%252Fuploads%252F87cz8ZKoX5ok2UnInVir%252Fimage.png%3Falt%3Dmedia%26token%3D9fc48216-5999-4cad-9042-63996c23ae7c&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e97f4c75&#x26;sv=1" alt=""><figcaption></figcaption></figure>

### Step 2: Bridge ETH from Sepolia to Swan Proxima <a href="#step-2-bridge-eth-from-sepolia-to-swan-proxima" id="step-2-bridge-eth-from-sepolia-to-swan-proxima"></a>

Go to the [Bridge](https://bridge.swanchain.io/) and select "**Swan Sepolia ETH**" in the top-left corner of the page to ensure you are bridging ETH from Sepolia to Swan Proxima Chain.&#x20;

Then, enter the amount of ETH you wish to bridge and click the "**Deposit**" button.

<figure><img src="https://2830694519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy5iPODl9iwLxyYirHs2D%2Fuploads%2F6cyGcrSaCS7ORJysvva1%2Fimage.png?alt=media&#x26;token=97aaecc8-782b-4421-9545-002275badc87" alt=""><figcaption></figcaption></figure>

### Step3: Claim testSWAN

**Join the** [**Swan official Discord**](https://discord.com/invite/swanchain) and go to the **testnet-faucet** channel under the **LAGRANGE SPACE** section.

1. Type the command $swan\_faucet {your-wallet-address}.
2. Switch to the Swan Chain, import tokens into your wallet, and check your balance.

`Token contract address:`

`0x91B25A65b295F0405552A4bbB77879ab5e38166c`
