# Mainnet Quickstart Guide

## **1. Faucet Airdrop Key**

Your contact at Saga will send you a Faucet Airdrop Key which will auto-fund your wallet address. If you don't have your Faucet Airdrop Key, reach out to your contact at Saga.

After you have the passphrase from your Saga contact, tokens from the Saga Mainnet Faucet can be requested into your Saga account using the Saga Web App

{% hint style="info" %}
Saga Web App is now online at [https://app.saga.xyz/](https://app.saga.xyz/launch)

You will need a wallet, such as [Keplr](https://www.keplr.app/), that supports Cosmos SDK based blockchains\
If this is your first time using Keplr Wallet, follow this [tutorial](https://help.keplr.app/articles/installation-guide-for-keplr-extension-for-beginners) to install and start using it.
{% endhint %}

Click the `Get Tokens!` button towards the top right. This will open your Saga wallet.

<figure><img src="https://2275213946-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVcvucDjYgfpsmWLerOCi%2Fuploads%2FGqWMAB84JCqINl49diA2%2FScreenshot%20from%202023-12-13%2013-01-42.png?alt=media&#x26;token=40a2a261-2b40-4264-a2ed-96807e00784b" alt=""><figcaption></figcaption></figure>

Simply fill in the received passphrase and click on `Request PSAGA Tokens`

<figure><img src="https://2275213946-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVcvucDjYgfpsmWLerOCi%2Fuploads%2FVCpfVKPKPaCFmKuXEBWo%2FScreenshot%20from%202023-12-13%2015-54-05.png?alt=media&#x26;token=80a08a44-0639-42a4-bf2f-0955ccb0e0c1" alt=""><figcaption></figcaption></figure>

Your Keplr wallet may prompt you to approve this request. Simply click approve and your wallet will be funded with `350 PSAGA` tokens.

## **2. Launch your chainlet**

{% hint style="warning" %}
All chainlets launched will require a setup fee and a **30-day** upfront deposit of the epoch fee

Please ensure you have sufficient funds available in the launcher's wallet to successfully launch a chainlet

See [Chainlet Billing](https://docs.saga.xyz/saga-web-app/working-with-chainlet/chainlet-billing) for details
{% endhint %}

{% hint style="info" %}
Saga Web App is now online at [https://app.saga.xyz/](https://app.saga.xyz/launch)

You will need a wallet, such as [Keplr](https://www.keplr.app/), that supports Cosmos SDK based blockchains\
If this is your first time using Keplr Wallet, follow this [tutorial](https://help.keplr.app/articles/installation-guide-for-keplr-extension-for-beginners) to install and start using it.
{% endhint %}

To launch a chainlet, simply click on the `Launch` tab on the Saga Web App.

<figure><img src="https://2275213946-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVcvucDjYgfpsmWLerOCi%2Fuploads%2FMvBWxuPBApey98U4Ifxo%2FScreenshot%20from%202023-12-13%2013-28-20.png?alt=media&#x26;token=323e5c4a-7c97-42df-9054-56f9cee737c2" alt=""><figcaption></figcaption></figure>

In the example displayed in the image above, we are launching a chainlet called `SagaWebAppTst`. You can specify&#x20;

* Chainlet token's denom
* Number of days of credit (note that this must be a value greater than or equal to the minimum value) you wish to add to the chainlet
* EVM account address
* Amount of tokens to add to the EVM account at genesis (launch of the chainlet)

To add additional EVM accounts and their associated token amount at chainlet launch, simply click the **+** sign next to the EVM token amount.

When you are done, simply click `Launch Chainlet`

<figure><img src="https://2275213946-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVcvucDjYgfpsmWLerOCi%2Fuploads%2FR9G6XSEJ4WAkpkzp9vdb%2FScreenshot%20from%202023-12-13%2013-28-40.png?alt=media&#x26;token=17499b68-1e22-42e6-a5bc-0593a8566c14" alt=""><figcaption></figcaption></figure>

You will get a prompt from the Keplr wallet to approve this transaction. Click Approve and the chainlet is launched!

## **3.** Obtain RPC Links and Block Explorer

You can view Chainlet API and Block Explorer info from the **Saga Web App** for any chainlet.

To view this information, simply head on over to the `Chainlets` tab on the landing page and then click on any chainlet to view its detailed information.

<figure><img src="https://2275213946-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVcvucDjYgfpsmWLerOCi%2Fuploads%2Fo6OAIIiDt3wyx2YKtaLE%2FScreenshot%20from%202023-12-13%2013-20-46.png?alt=media&#x26;token=56c2c82a-590e-4578-8a03-ad4c643dc05d" alt=""><figcaption></figcaption></figure>

As an example, in the above listing, to view the chainlet API and block explorer details for the chainlet called `abstract`, simply click on it.

<figure><img src="https://2275213946-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVcvucDjYgfpsmWLerOCi%2Fuploads%2FENjuALkvEhkoHfYyH5Is%2Fabstrct%20mainnet.png?alt=media&#x26;token=fe882b26-0e6b-4454-9bed-45500db8d145" alt=""><figcaption></figcaption></figure>

You can see the **RPC endpoint**, the **websocket** endpoint and the **block explorer URL** in the chainlet details page shown in the image above.

## **4.** Configuring Metamask

The fastest way to configure your chainlet network settings into your metamask browser plugin is by visiting your chainlet's dedicated block explorer page and clicking on the Add \<chainlet name> link present on the footer menus.

You can also see how this looks like in the image included below:

<figure><img src="https://2275213946-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVcvucDjYgfpsmWLerOCi%2Fuploads%2FWtot6U3ZkYoBt7MZZVsa%2Fexplorer%20mainnet.png?alt=media&#x26;token=faad2820-f561-41aa-9710-9022c4520bef" alt=""><figcaption></figcaption></figure>

Or if you want to configure Metamask network manually you need to navigate to go: Metamask -> Settings -> Networks -> Add Network

The settings screen will look something like this:

<figure><img src="https://2275213946-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVcvucDjYgfpsmWLerOCi%2Fuploads%2FjmGaLH63iYtAHM6SgsTj%2FScreenshot%202023-04-11%20at%201.51.16%20AM.png?alt=media&#x26;token=0f5a824b-2431-4ce4-8acc-aede84fa8ae3" alt=""><figcaption></figcaption></figure>

From here, click on "Add a network manually" and type in the following settings in the required fields:

* **Network Name:** This will be your Chainlet name (in this example I'm using "`abstract`")
* **New RPC URL**: This will be your chainlet's JSON-RPC endpoint, you can get this in [https://app.saga.xyz/](https://app.saga.xyz/launch) -> search your chainlet -> chainlet details -> **RPC Endpoint**
* **Chain ID**: Here you need to input the middle **numerical** part of the ChainID, (make sure to drop the '-1')  Example: `2712762876035000`
* **Currency Symbol**: This is your Chainlet currency symbol. You can get this in in [https://app.saga.xyz/](https://app.saga.xyz/launch) -> search your chainlet -> chainlet details -> on the right of the chainlet name (On the example before `abstract` -> `ABSTR`, ABSTR is the Currency Symbol)               &#x20;
* **Block Explorer URL:** This will be your personal chainlet's block explorer url, you can get this in [https://app.saga.xyz/](https://app.saga.xyz/launch) -> search your chainlet -> chainlet details -> **Block Explorer**

Taken together, the output will look **SIMILAR** with what you see in the following image below:

<figure><img src="https://2275213946-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVcvucDjYgfpsmWLerOCi%2Fuploads%2FyKk7JK7J5kEvrzOuXKxm%2Fmetamask%20mainnet.png?alt=media&#x26;token=228c0ba3-8bfc-4b4f-ab63-9c2c71ce1bd8" alt=""><figcaption></figcaption></figure>

Once this final step is complete, you're ready to deploy any EVM-based smart contract. You can deploy with tools such as Remix, Truffle, even Thirdweb.
