Lagrange Dao
  • Introduction
  • Getting Started
    • Build and push your Docker image
    • How to Use the Test Environment
  • Space
    • Intro
      • Lagrange Definition Language(LDL)
      • Lagrange-cli
    • Create Space
    • Build Space
      • Option 1: Langrange-cli
      • Option 2: Web Interface
    • Fork Space
    • Run Space
    • Space Settings
      • Instance Type
      • Space Hardware
    • Use Case
  • Datasets
    • Data Card
  • Models
  • Case Study
    • Stable Diffusion
      • How to Build Stable Diffusion Space
      • How to Integrate Stable Diffusion via Inference API
    • Diffuser/Transformer
      • How to Integrate Diffuser/Transformer
  • Decentralized Auction Marketplace
    • Auction Engine
    • Bidding Task State Machine
    • Reputation System
  • Security
    • Access Tokens
  • Token
  • Mars Testnet
    • Before You Get Started
    • Computing Provider Setup
    • Building Space
    • Using Space
    • Case Study
    • FAQ
  • API Reference
Powered by GitBook
On this page
  • Network Information
  • Set Up Metamask
  • Fund Your Wallet

Getting Started

PreviousIntroductionNextBuild and push your Docker image

Last updated 8 months ago

What You Need:

  • Gas Fees: Gas fees are transaction fees required to execute a transaction. For transactions on Lagrange, ETH is required.

  • Payment to Computing Providers: You have to pay Computing Providers in SWANC (Swan Credit Token) to utilize their computing resources to power your Space.

Network Information

Network Name

Swan Chain

RPC URL

Chain ID

254

Currency Symbol

ETH

Block Explorer URL

If the above Block Explorer fails, please try using this one:

Set Up Metamask

Step 1: Add Swan Chain to Metamask

  1. Open MetaMask and click on the network selector at the top left.

  2. Select "Add network" and then "Add a network manually."

  3. Fill in the details for Swan Chain Mainnet following

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

Step 2: Import Tokens

  1. In Metamask, click on "Import tokens" at the bottom of the Tokens tab.

  2. Enter the token contract address for SWAN Credit Token:

0xAF90ac6428775E1Be06BAFA932c2d80119a7bd02

  1. The token symbols and decimals should autofill. If not, check the block explorer.

  2. Click "Import" to confirm.

Fund Your Wallet

Step 1: Purchasing ETH

Fund your wallet with ETH from any Decentralized Exchange (DEX) or Centralized Exchange (CEX).

Funding your network account is required to use the network. All transactions, including claiming Swan Credit tokens and deploying Spaces, charge a transaction fee. Ensure you have sufficient ETH to cover these costs.

Step 2: Bridge ETH from Ethereum to Swan Chain

Step 3: Claiming Swan Credits

  1. Click "Send Me Swan Credit Token" to claim Swan Credits. These credits can be used to pay Computing Providers when deploying an application in Lagrange.

Each wallet can claim up to 25 tokens at a time. If your wallet balance exceeds 250 tokens, you won’t be able to claim any more tokens.

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

Visit the and connect your wallet address.

Bridge
faucet page
https://mainnet-rpc01.swanchain.io
https://swanscan.io
https://mainnet-explorer.swanchain.io
Network Information