# Before You Get Started

Swan Testnet provides support for both the **Polygon Mumbai Testnet** and **Swan Testnet** (Built on OP Stack), offering the flexibility to pay for building Spaces, regardless of your MetaMask connection to both chains.

Here's what you'll need:

**Gas Fees:** Gas Fee is a type of transaction fee that you have to pay to execute a transaction. The fees vary based on the blockchain. For instance, transactions on **Polygon Mumbai** require **MATIC**, while **Swan Testnet** transactions require **Swan-ETH**.

**Payment to Computing Providers:** In addition to gas fees, you'll need to pay Computing Providers in **USDC** to exchange their computing resources for powering your Space (Application).

Before immersing yourself in the Swan Jupiter Testnet Campaign, ensure you make the necessary preparations:

**For Polygon Mumbai Connection:**

1. [Add Mumbai Testnet to MetaMask.](#step-1-add-mumbai-testnet-to-metamask)
2. [Fund your wallet with MATIC and USDC](#step2-fund-your-wallet-with-test-matic-tokens).

**For Swan Testnet Connection:**

1. [Add Swan Testnet/ETH Goerli to MetaMask](#step-1-add-swan-testnet-to-metamask).
2. [Fund your wallet with SWAN-ETH and USDC](#step-3-fund-your-wallet-with-test-tokens).

## Mumbai Testnet&#x20;

### Step 1: Add Mumbai Testnet to MetaMask

Following this [guides](https://filswan.medium.com/how-to-add-polygon-mumbai-testnet-to-metamask-16a11db91214) to add Mumbai Testnet to your Metamask online.

```
Network Name: Mumbai Testnet
New RPC URL: https://rpc-mumbai.maticvigil.com/
Chain ID: 80001
Currency Symbol: MATIC
Block Explorer URL: https://mumbai.polygonscan.com

```

### Step 2: Import Tokens:

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

<figure><img src="https://lh7-us.googleusercontent.com/ETK17Apa2pAOfPKvN-zr1Yy_aAFfKCJrmQKA5LGFdUCl0eL5O77IGgRHU3237HYKHCKOyHTSuwLL1Jny6yqQ5IfWoIT6i0jNExf4s-a9ZBcTlvoBUXAWbhrmC96Nalopl8vIZLEps7I9bsxgdUjQGA0" alt="" width="375"><figcaption></figcaption></figure>

2.Enter test-USCD token contract addresses:

`0x1da5E8c36dc967bE47C55C600b79220F191B1202`

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

4.Click 'Import' to confirm.

### Step 3: Fund Your Wallet with test MATIC Tokens

Visit the [Polygon Testnet Faucet](https://faucet.polygon.technology/). Paste your address to the faucet website and get some test MATIC tokens sent to your wallet for exploring functions on Lagrange.

Please note that the function is on the Polygon Testnet environment and speed times may differ compared to mainnet usage.

### Step 4: Claim Test USDC Tokens from Discord Faucet:

In addition to MATIC for gas fees, you'll need test-USDC tokens for the Swan Testnet campaign. Follow these steps to claim test USDC tokens:

#### 1.Join the [Swan official Discord](https://discord.com/invite/FEv2hMby9A).

Go to the [**usdc-faucet**](https://discord.gg/RuHBdBqcWR) channel under the **Swan - Testnet** section, and type the command `$pusdc_faucet {your-wallet-address}` to claim.

#### 2.Switch to the Mumbai Testnet:

Following the [guide ](#import-swan-and-test-usdc-tokens)to import test-USDC tokens into your wallet, and check your balance.

## Swan Testnet&#x20;

### Step 1: Add Swan Testnet to MetaMask:

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

#### Add Goerli Testnet to MetaMask:

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://lh7-us.googleusercontent.com/dxhAlZxU3lb2TmW6ThytbaysnWrr5prbyJKgDJ01CWNAmyVHLsIUCacM2LciCclYkSW7XwZC3wKphKbQZkYuwkOhg2ZsAMluGNx_rYkQnuZoRCkbprScXC8SZAVQeHuXNV3Cqqs9aaOctL5gZPzI_JY" alt="" width="375"><figcaption></figcaption></figure>

3.Scroll and select "Goerli."

<figure><img src="https://lh7-us.googleusercontent.com/WGv0hke6txaStO71iLLO3YUZA7ol1HD-hIuh__aZnHtCQQuWUZUTLgK9hHxks1TEaG3L8xy9QqKjq7kY9cxHfWLcpgCxy5sjWu7LFssv_nW1YLlP6iGDcf_m28oir0_-gmQbtXGXNf2o15FZTyP8CGU" alt="" width="375"><figcaption></figcaption></figure>

#### Add Swan Testnet:

1.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://lh7-us.googleusercontent.com/mGtEXnyObVDEmcy1RmNT75tsxC4DyBPoFKdN921yE2Aqz9pSzEljDNW3S3Noa9et6hnMtQYezvV25zot08HDqrIUbIPnBXYB7RieGknj57U1Tf-UonyiEj_l_-m3IuDoC-HnJf2lhZXQszKV1AMA13o" alt="" width="375"><figcaption></figcaption></figure>

2.Fill in details for Swan Testnet:

* Network Name: Swan Testnet
* RPC URL: <https://rpc-testnet.swanchain.io>
* Chain ID: 8598668088
* Symbol: SWAN-ETH
* Explorer: <https://explorer-testnet.swanchain.io>

<figure><img src="https://content.gitbook.com/content/cvUWH8GhRCqvKwuN0BGF/blobs/O8Qb0PLV1JxeIegGhC0i/image.png" alt="" width="375"><figcaption></figcaption></figure>

3.Click "Save" or "Add" to save the network.

### Step 2: Import Tokens:

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

<figure><img src="https://lh7-us.googleusercontent.com/ETK17Apa2pAOfPKvN-zr1Yy_aAFfKCJrmQKA5LGFdUCl0eL5O77IGgRHU3237HYKHCKOyHTSuwLL1Jny6yqQ5IfWoIT6i0jNExf4s-a9ZBcTlvoBUXAWbhrmC96Nalopl8vIZLEps7I9bsxgdUjQGA0" alt="" width="375"><figcaption></figcaption></figure>

2.Enter token contract addresses:

SWAN:

`0x407a5856050053CF1DB54113bd9Ea9D2Eeee7C35`

Swan\_USDC:

`0x0c1a5A0Cd0Bb4A9F564f09Cc66f4c921B560371a`

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

4.Click 'Import' to confirm.

### Step 3: Fund Your Wallet With Test Tokens

#### 1.Fund Your Wallet with Goerli ETH Tokens

You can obtain Goerli Testnet ETH tokens from Alchemy and Quicknode faucets:

#### Claim Goerli ETH on the Alchemy Goerli Faucet:

Alchemy allows registered users to claim up to 0.02 Goerli ETH daily at the time of writing.

1.To claim Goerli ETH on Alchemy, Visit the [faucet platform](http://goerlifaucet.com/).&#x20;

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

<figure><img src="https://lh7-us.googleusercontent.com/-LNC3zOOaCpmhzabY_2ARmxEfruLneyepNtKcjLo5XOR-RWS1OjQHOyMWuJbxZ60FBN6UlTH-qSR3_RJDDaPFmOeIQBNHFsFfxVzWATrmDDGi0aGyl3SG2Ujfxul7T81u-gILnGFCeECs63V2MpSUJw" alt=""><figcaption></figcaption></figure>

#### Claim Goerli ETH on the Quicknode Faucet:

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

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.1 GETH.

<figure><img src="https://lh7-us.googleusercontent.com/bQUfbOnRVH0PzEYMSsZNTrLcwP4bfZrnz_wUVnZrpf1pnHFZD9AWGKGWTUqD18HqpYPQ1Kq3WOei-HBx45g4aAnkjsBM5wMFTL-BG3sXl5O-ZKzeOuN0I_wDNy3g6hxh_ufIk1hgmg6BWht3rXUTv_k" alt=""><figcaption></figcaption></figure>

#### Send Some ETH From Goerli To Swan Testnet

1.Send Goerli ETH to the below Address:

```
0x95C1682C46E5a0Db841287e61ea596DeC493D786
```

<figure><img src="https://lh7-us.googleusercontent.com/vmBUtjckxIXaFCJdVKnwy3-e4OMPDaFwirHA8g70ZqhGC6_zl9ardluD1g8mAwmjhfJyNv1hryjvpachkxLAta99XHVZDiBqIGUztB-2NkNAAY676CUkyZoWIJ6VJdeHHMg4b8TJYuWGh20W334PqXg" alt="" width="188"><figcaption></figcaption></figure>

2.Switch to the Swan Testnet, Once the transaction is confirmed on the Goerli testnet, you should see the corresponding amount of SWAN-ETH tokens in your wallet on the Swan Testnet.

<figure><img src="https://content.gitbook.com/content/cvUWH8GhRCqvKwuN0BGF/blobs/aRfWpOZANOc6E3oUrkQN/image.png" alt=""><figcaption></figcaption></figure>

#### Claim Test USDC Tokens from Discord Faucet:

In addition to Goerli ETH for gas fees, you'll need test-USDC tokens for the Swan Testnet campaign. Follow these steps to claim test USDC tokens:

#### 1.Join the [Swan official Discord](https://discord.com/invite/swanchain).

Go to the **usdc-faucet** channel under the **Swan - Testnet** section, and type the command `$swan_usdc_faucet {your-wallet-address}` to claim.

#### 2.Switch to the Swan Testnet:

Following the [guide ](#import-swan-and-test-usdc-tokens)to import test-USDC tokens into your wallet, and check your balance.
