Swan Chain
  • BULDERS
    • Getting Started
    • DApp Developer
      • Deploying Your First Smart Contract with Remix
      • Interacting with Smart Contract on Swan Chain Using Go
    • App Developer
      • Building Docker Images and Deployment file with LDL
        • Lagrange Definition Language(LDL)
      • Deploying with Swan SDK
      • Store and Retrieve a File with Swan Storage
        • 1. Set up the python-MCS-SDK
        • 2.Create and Manage Buckets
        • 3.Upload Files and Folders
        • 4.Retrieve and Download Files
        • 5.Delete Files and Buckets
    • Node Operator
      • Swan Node Snapshots
    • Market Provider
      • Storage Market
      • AI/ML Orchestrator
        • Decentralized AI Marketplace
        • Connect to Orchestrator
      • Web3 ZK Computing Market
        • ZK Auction Engine
        • Sequencer
        • Contribute zk-UBI-task
          • How to Contribute
        • Example
      • Customized Market Provider
    • Computing Provider
      • Fog Computing Provider(FCP)
        • FCP Setup
        • Migrating FCP to Swan Mainnet
        • FCP Funding Operations Guide
        • FCP FAQ
      • Edge Computing Provider (ECP)
        • ECP Setup
        • ECP Funding Operations Guide
        • ECP FAQ
      • FAQ
    • Storage Provider
      • Storage Auction System
    • Developer Tools
      • Swan SDK
        • Python Swan SDK
          • Special Case: Create ssh login instance
          • SWAN Orchestrator SDK - Function and Parameter Reference
        • Go Swan SDK
          • A Sample Tutorial
      • Swan Console
        • Getting Started
        • Blockchain GPU Task Example
        • Custom Blockchain GPU Task Pools
      • Lagrange
      • Swan IPFS Storage
      • Nebula Block Cloud
      • Ecosystem Projects
    • Mission 3.0
      • Get Started
        • For Users
        • For Space Holders
  • NETWORK REFERENCE
    • Network Info
      • Set Up Your Wallet
      • Bridge Token
    • Contract Addresses
    • Fees
  • Core Concepts
    • Introduction to Swan Chain
    • Consensus Layer
    • Peer-to-peer (P2P) Network
    • Payment Channels
    • Service Discovery
    • Market Provider
      • Storage Market
      • AI Computing Marketplace
        • Orchestrator
        • Auction Engine
        • Bidding Task State Machine
      • ZK Proof Marketplace
        • ZK Task
        • ZK Pool
    • Storage Layer
    • Computing Layer
      • Computing Provider Protocol
      • Computing Provider Account
      • Layer3 Computing Protocol
      • Reputation System
      • Dynamic Pricing
    • CDN Layer
    • Tokenomics
      • UBI Allocation Curve
      • Computing Provider Income
      • Computing Provider Collateral
        • Collateral Requirement and Computing Unit
        • DePIN Oracle
      • Governance
        • Treasure DAO
    • Glossary
  • Swan Chain Campaign
    • Swan CP UBI
    • Swan Chain Mainnet
      • Network Information
      • Swan Token
      • Swan Chain Mission
        • Social Mission
        • Onchain Mission
        • Mission: Celestial Bloom
      • Swan Provider Campaign
        • Fog Computing Provider (FCP)
        • Edge Computing Provider (ECP)
        • Market Provider (MP)
      • GALXE Campaign
      • Free Tier and Special Credit Programs
    • Atom Accelerator Race
      • Before You Get Started
        • Set Up MetaMask
        • Claim SepoliaETH
        • Claim testSWAN
      • CP Acceleration Program
      • Builder Acceleration Program
      • On-chain Interaction Race
      • Community Engagement Challenge
      • FAQ
    • Swan Saturn Testnet
      • Before You Get Started
        • Set Up MetaMask
        • Claim Faucet Tokens
        • Bridge Tokens
      • Transaction Drive Program
      • Community and Educational Events
      • Partnership and Integration Program
      • KOL Program
      • Computing Provider Program
        • FAQ
      • Developer Grant Program
      • FAQ
    • Swan Jupiter Testnet
      • How to Participate
      • Before You Get Started
      • Network Early Adopter
      • FAQ
  • RESOURCE
    • Links
    • Brand Kit
Powered by GitBook
On this page
  • How to Upgrade and Migrate to Swan Mainnet
  • First-time Deployment
  • Migration from Proxima to Mainnet
  • Mainnet Changes
  1. BULDERS
  2. Computing Provider
  3. Fog Computing Provider(FCP)

Migrating FCP to Swan Mainnet

Now all CPs can migrate to the mainnet to participate in Swan Mainnet Campaign

PreviousFCP SetupNextFCP Funding Operations Guide

Last updated 3 months ago

How to Upgrade and Migrate to Swan Mainnet

First-time Deployment

If you are deploying for the first time, you can follow the instructions in the latest version: Swan Chain Computing Provider v1.0.2:

Migration from Proxima to Mainnet

  1. Update resource-exporter to the latest version v11.3.0: Follow the instructions in this issue:

  2. Specify a new CP_PATH:

    export CP_PATH="/YOUR/CP/PATH"
  3. Download the mainnet version of the computing-provider:

    wget https://github.com/swanchain/go-computing-provider/releases/download/v1.0.2/computing-provider
  4. Verify CP version:

    computing-provider -v

    Ensure it shows version 1.0.2+mainnet.

  5. Initialize CP repo and update configuration: Refer to

    Note:

    • No need to modify parts of the configuration file with default values.

    • The "contract address" is now built into the program, no separate configuration is needed.

    • The default configuration file template can be found .

  6. Initialize a Wallet and Deposit SwanETH: Refer to .

  7. Initialization CP Account: Refer to .

  8. Collateral SWANC for FCP: Refer to .

  9. Withdraw SWANC from FCP: Refer to .

  10. Start the Computing Provider: Refer to .

Mainnet Changes

  1. Different Compilation Method:

    • Mainnet version: make mainnet

    • Testnet version: make testnet

  2. Different Collateral:

  3. Different Task Distribution Platform:

  4. Funds Operations:

  5. ECP (Edge Computing Provider):

    • The new version will support ECP running independently or with FCP, allowing FCP to earn both rewards simultaneously.

    • ECP tasks are more frequent but offer lower rewards.

In the mainnet, FCP collateral is SwanC. Each task requires 5 SwanC collateral (claim from ).

Mainnet task distribution platform: , same as the testnet lagrangeDAO platform.

Refer to .

For any questions, refer to the detailed documentation on the .

https://github.com/swanchain/go-computing-provider/releases/tag/v1.0.2
Update Resource Exporter to v11.3.0.
Initialize CP Repo and Update Configuration
here
Initialize a Wallet and Deposit SwanETH
Initialization CP Account
Collateral SWANC for FCP
Withdraw SWANC from FCP
Start the Computing Provider
https://faucet.swanchain.io
https://lagrange.computer
Funds Operations Guide
Swan Mainnet Campaign