Migrating FCP to Swan Mainnet
Now all CPs can migrate to the mainnet to participate in Swan Mainnet Campaign
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 v0.7.0
Migration from Proxima to Mainnet
Update
resource-exporter
to the latest versionv11.2.8
: Follow the instructions in this issue: Update Resource Exporter to v11.2.8.Specify a new CP_PATH:
Download the mainnet version of the computing-provider:
Verify CP version:
Ensure it shows
version 0.6.1+mainnet
.Initialize CP repo and update configuration: Refer to Initialize CP Repo and Update Configuration
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 here.
Initialize a Wallet and Deposit SwanETH: Refer to Initialize a Wallet and Deposit SwanETH.
Initialization CP Account: Refer to Initialization CP Account.
Collateral SWANC for FCP: Refer to Collateral SWANC for FCP.
Withdraw SWANC from FCP: Refer to Withdraw SWANC from FCP.
Start the Computing Provider: Refer to Start the Computing Provider.
Mainnet Changes
Different Compilation Method:
Mainnet version:
make mainnet
Testnet version:
make testnet
Different Collateral:
In the mainnet, FCP collateral is SwanC. Each task requires 5 SwanC collateral (claim from https://faucet.swanchain.io).
Different Task Distribution Platform:
Mainnet task distribution platform: https://lagrange.computer, same as the testnet lagrangeDAO platform.
Funds Operations:
Refer to Funds Operations Guide.
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.
For any questions, refer to the detailed documentation on the Swan Mainnet Campaign.
Last updated