description |
---|
Now all CPs can migrate to the mainnet to participate in Swan Mainnet Campaign |
If you are deploying for the first time, you can follow the instructions in the latest version: Swan Chain Computing Provider v1.0.2: https://github.com/swanchain/go-computing-provider/releases/tag/v1.0.2
-
Update
resource-exporter
to the latest versionv11.3.0
: Follow the instructions in this issue: Update Resource Exporter to v11.3.0. -
Specify a new CP_PATH:
export CP_PATH="/YOUR/CP/PATH"
-
Download the mainnet version of the computing-provider:
wget https://github.com/swanchain/go-computing-provider/releases/download/v1.0.2/computing-provider
-
Verify CP version:
computing-provider -v
Ensure it shows
version 1.0.2+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.
- Different Compilation Method:
- Mainnet version:
make mainnet
- Testnet version:
make testnet
- Mainnet version:
- 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.