Skip to content

Releases: swanchain/go-computing-provider

Mainnet-contractOwner

31 Dec 05:16
4845e81
Compare
Choose a tag to compare

We are excited to release the first update following the TGE! This version introduces support for contract addresses as CP's owner, improving flexibility and compatibility. It also addresses key community feedback, enhancing UBI task success rates and optimizing high-end GPU utilization for better performance.

We highly encourage all users to upgrade to v1.0.1 for the latest features, improvements, and optimized performance.

Improvement && bugfix

  • Support contract address as CP's owner (#195)
  • Fix the timeout issue when receiving UBI tasks(#194)
  • Sharding rental for high-end GPU (such as H100) that support NVlink technology(#194)
  • Fix the nil error when generating the price configuration(#191)
  • Upgrade resource-exporter version to v11.3.1How to Upgrade (#197)

Full Changelog: v1.0.0...v1.0.1

Mainnet-TGE

14 Dec 08:28
a1fb5e0
Compare
Choose a tag to compare

We are excited to announce the release of TGE Version 1.0.0, a critical update that introduces new features and improvements to enhance the security and functionality of the platform.

Upgrade Deadline

To maintain compatibility and ensure continued access to all functionalities, all CPs must upgrade to Version 1.0.0 by the specified deadline:
December 16, 2024, at 10:00 AM EST

Note: Failure to upgrade will result in restricted access to the platform and potential compliance issues with the updated protocol.


Key Updates

  • Slash Mechanism Activation
    The slash mechanism is now enabled, providing a robust framework for penalizing misbehaviour and ensuring the integrity of the ecosystem. The details can be found here

  • Mandatory Full Staking
    Full staking is required; CPs must fully deposit $SWAN to qualify for the UBI reward. The details can be found here


Improvements

  • Improve the GPU allocates strategy by specifying indices(#181)

  • Allow FCP to withdraw the collaterals from the Escrow balance.

    computing-provider collateral withdraw-request --fcp --owner <YOUR_OWNER_ADDRESS>  <AMOUNT>
    computing-provider collateral withdraw-confirm --fcp --owner <YOUR_OWNER_ADDRESS>  <AMOUNT>
    
  • ECP can deploy inference service from the docker images and provide the logs; details are here (#181)

  • Add ubi-0 cmd to view and withdraw ubi-0 collaterals after TGE(#181)

    • Check the collateral details of SWANU:
    computing-provider ubi-0 info 
    
    • Withdraw the collateral for the SWANU
    # For FCP
    computing-provider ubi-0 withdraw --fcp --owner <YOUR_OWNER_ADDRESS>  <AMOUNT>
    
    # For ECP
    computing-provider ubi-0 withdraw --ecp --owner <YOUR_OWNER_ADDRESS>  <AMOUNT>
    
  • Update the orchestratorPK(#185)

    • CPs must update it in the config.toml
    [HUB]
    OrchestratorPk = "0xE2F887D4Ed3E4E5179C2f30c6Fdb2344cCbB21b6" 
    
  • update contract address for TGE (#181, #184)

Upgrade Documentation

For a detailed guide on how to upgrade, please refer to the upgrade documentation: here

Swan Mainnet Network Information and Related Smart Contract Addresses

As part of this update, all relevant smart contract addresses across the network have been modified.

Item Details
Currency Symbol ETH
Chain ID 254
RPC URL https://mainnet-rpc.swanchain.org
Swan Token Symbol SWAN
SwanETH Bridge https://bridge.swanchain.io
Block Explorer URL https://mainnet-explorer.swanchain.io
Swan Provider Dashboard https://provider.swanchan.io
SWAN Token Contract address 0xBb4eC1b56cB624863298740Fd264ef2f910d5564
Collateral Contract for FCP 0x1BE0F0C000ECDd6b8544b20694A3d118625cE005
CP Account Register Contract 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138
ZK Task Register Contract 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31
ECP Collateral Contract 0x557f306f917009cf83c32b8b32a79202e79948e5
Orchestrator Public Key[Updated] 0xE2F887D4Ed3E4E5179C2f30c6Fdb2344cCbB21b6
ZK engine Publicc Key 0xB5aeb540B4895cd024c1625E146684940A849ED9
Sequencer Contract 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd
Gas to Sequencer Dynamic Pricing Strategy
Sequencer Blob Period 24 Hours

We appreciate your continued support and partnership in building a secure and efficient ecosystem. If you have any questions or encounter issues during the upgrade process, please contact us promptly.

Full Changelog: v0.7.1...v1.0.0

Mainnet-ECP-mining

13 Nov 11:12
fbbe82c
Compare
Choose a tag to compare

This is the second version for FCP and ECP to join the Swan Mainnet Computing Provider UBI-0. This update includes many new mechanisms and practical features.

Improvements & Bug Fixes

  • update taskTypes(add mining and inference, update fil-c2) of CP (#164)
  • add the task management for the ECP's mining service, check it by computing-provider task list --type ecp (#165)
  • fix update contract address in the ubi task list (#167)
  • add sequencer's Dynamic Pricing Strategy (#168)
  • add pricing="true" in the config.toml for cp to set the resource price(#167)
  • fix the wrong label of cpu type in the cluster of FCP(#167)

Swan Mainnet Network Information

Item Details
Currency Symbol ETH
Chain ID 254
RPC URL https://mainnet-rpc.swanchain.org/
Swan computing Units Symbol SWANU
SwanETH Bridge https://bridge.swanchain.io
Block Explorer URL https://mainnet-explorer.swanchain.io
Swan Provider Dashboard https://orchestrator.swanchain.io/provider-status
SWANU contract address 0x39cBBeaF88a91404618d45a16e0977Adab4d1Af1
Collateral Contract for FCP 0x643A820060c78D9122081aafF0C039b070937558
CP Account Register Contract 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138
ZK Task Register Contract 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31
ECP Collateral Contract 0x7A099B665e760BCCF3Aa0cBbb66C8da47F13C03d
ZK engine Publick Key 0xB5aeb540B4895cd024c1625E146684940A849ED9
Sequencer Contract 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd
Gas to Sequencer Dynamic Pricing Strategy
Sequencer Blob Period 24 Hours

Full Changelog: v0.7.0...v0.7.1

Mainnet-ubi-0

25 Oct 11:09
e71a029
Compare
Choose a tag to compare
Mainnet-ubi-0 Pre-release
Pre-release

This version can be used for both FCP and ECP to join the Swan Mainnet Computing Provider UBI-0. The UBI-0 marks a new phase for Swan CP, with the UBI mechanism entering its official activation stage. It aims to incentivize CPs to provide stable services while ensuring consistent returns for CPs. This update includes many new mechanisms and practical features.

Improvements & Bug Fixes

  • Support to use SWANU as a collateral and payment token

  • Updated CP staking mechanism: The staking requirement for each CP is calculated based on the type and number of GPUs. For the detailed calculation, see here.

  • ECP and FCP will receive UBI distribution across the network based on their daily resource contributions and task validation status. The zk tasks of ECP will not have separate rewards; instead, earnings will be distributed directly to the beneficiary address. For detailed accounting methods, see here.

  • FCP now supports adding IP whitelists for applications deployed by users(#158)

  • Update FCP and ECP Contract, see computing-provider contract default(#158)

  • ECP supports the deployment of some mining applications(taskType is Mining), with the deployment portal soon to be available on the Swan Console.

  • The ETH cost for a single zk task on ECP has been reduced to 1/20th of the original value, now set at 0.000005 ETH per task.

  • New: FCP provides a nodePort service, allowing users to log in via SSH (How to configure) (#145)

  • Add pricing in the config, allowing CP to customize the order strategy (#158)

  • resource-exporter upgrade to v11.3.0(How to Upgrade)

Swan Mainnet Network Information

Item Details
Currency Symbol ETH
Chain ID 254
RPC URL https://mainnet-rpc01.swanchain.io, https://swanscan.io
Swan computing Units Symbol SWANU
SwanETH Bridge https://bridge.swanchain.io
Block Explorer URL https://mainnet-explorer.swanchain.io
Swan Provider Dashboard https://orchestrator.swanchain.io/provider-status
Swan Computing Units Token 0x39cBBeaF88a91404618d45a16e0977Adab4d1Af1
Collateral Contract for FCP 0x643A820060c78D9122081aafF0C039b070937558
CP Account Register Contract 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138
ZK Task Register Contract 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31
ECP Collateral Contract 0x7A099B665e760BCCF3Aa0cBbb66C8da47F13C03d
ZK engine Publick Key 0xB5aeb540B4895cd024c1625E146684940A849ED9
Sequencer Contract 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd
Gas to Sequencer 0.000005 ETH/task
Sequencer Blob Period 24 Hours

Full Changelog: v0.6.5...v0.7.0

Mainnet-pricing

25 Sep 07:23
8dd3c7a
Compare
Choose a tag to compare

This is the Sixth Version of the Computing provider on Swan Mainnet, it can be used for FCP and ECP to join the Swan Mainnet
Computing Provider Campaign
. In this version, FCP can provide nodePort service and support autonomous pricing of resources. Please all CPs upgrade to this version.

Improvements && bugfix

  • new: FCP provides nodePort service, user can login by SSH(How to config) (#145)
    • FCP supports Kubernetes clusters to add resource isolation
    • FCP supports Kubernetes clusters to add network isolation policy
  • FCP supports autonomous pricing of resources(#141)
  • improvement: optimize the validation of parameter format and type to prevent errors in fund operation (#146)
  • improvement: optimized job-clearing mechanism, compatible with the use of space uuid in earlier versions
  • fix deploy the application failed due to wrong healthy-check logic(#142)
  • fix sequencer submission failure due to token expiration (#136)
  • fix the database locked and update the cron tasks of deleting jobs (#139)

Swan Mainnet Network Information

Item Details
Currency Symbol ETH
Chain ID 254
RPC URL https://mainnet-rpc01.swanchain.io, https://swanscan.io
Swan Credits Token Symbol SWANC
SwanETH Bridge https://bridge.swanchain.io
SWANC Claim Page https://faucet.swanchain.io
Block Explorer URL https://mainnet-explorer.swanchain.io
Swan Provider Dashboard https://orchestrator.swanchain.io/provider-status
Swan Credits Token 0xAF90ac6428775E1Be06BAFA932c2d80119a7bd02
Collateral Contract for FCP 0x48966A3eb8C1b584Ac9E7767bC9607e235245C81
CP Account Register Contract 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138
ZK Task Register Contract 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31
ECP Collateral Contract 0x0b84cc9CcE1459c85337b511872528cE947C3962
ZK engine Publick Key 0xB5aeb540B4895cd024c1625E146684940A849ED9
ZK-engine reward address 0xC2EF272e14a7A222eA909bBB6C5ffdb9B2EFAC02
Sequencer Contract 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd
Collateral for ECP 100 SWANC/Period Tasks
Gas to Sequencer 0.00001 ETH/task
Sequencer Blob Period 24 Hours

Full Changelog: v0.6.4...v0.6.5

Mainnet-fix-sdk

22 Aug 11:34
6488437
Compare
Choose a tag to compare

This is the Fifth Version of the Computing provider on Swan Mainnet, it can be used for FCP and ECP to join the Swan Mainnet
Computing Provider Campaign
. It fixes some FCP issues. Please all CPs upgrade to this version.

Note

  • If your FCP can not get the AI task or the task will be terminated automatically after some hours, please upgrade to this version ASAP
  • If your CP can not collect the GPU device after some time, please upgrade to this version ASAP

Improvements && bugfix

Swan Mainnet Network Information

Item Details
Currency Symbol ETH
Chain ID 254
RPC URL https://mainnet-rpc01.swanchain.io, https://swanscan.io
Swan Credits Token Symbol SWANC
SwanETH Bridge https://bridge.swanchain.io
SWANC Claim Page https://faucet.swanchain.io
Block Explorer URL https://mainnet-explorer.swanchain.io
Swan Provider Dashboard https://orchestrator.swanchain.io/provider-status
Swan Credits Token 0xAF90ac6428775E1Be06BAFA932c2d80119a7bd02
Collateral Contract for FCP 0x48966A3eb8C1b584Ac9E7767bC9607e235245C81
CP Account Register Contract 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138
ZK Task Register Contract 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31
ECP Collateral Contract 0x0b84cc9CcE1459c85337b511872528cE947C3962
ZK engine Publick Key 0xB5aeb540B4895cd024c1625E146684940A849ED9
ZK-engine reward address 0xC2EF272e14a7A222eA909bBB6C5ffdb9B2EFAC02
Sequencer Contract 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd
Collateral for ECP 100 SWANC/Period Tasks
Gas to Sequencer 0.00001 ETH/task
Sequencer Blob Period 24 Hours

Full Changelog: v0.6.3...v0.6.4

Mainnet-fix-FCP

02 Aug 09:05
db2a3cb
Compare
Choose a tag to compare

This is the Fourth Version of the Computing provider on Swan Mainnet, it can be used for FCP and ECP to join the Swan Mainnet
Computing Provider Campaign
. It fixes some FCP issues. Please all CPs upgrade to this version.

Improvement && Bug fix

  • fix FCP can not do the zk task (#121)
  • retry to get the zk task resource from MCS (#121)
  • update ubi-task image to v3.0 (#121)
  • ECP supports Ubuntu 24.04 (#119)

How to Upgrade

  • Use the v0.6.3 binary
  • Restart the CP service

Swan Mainnet Network Information

Item Details
Currency Symbol sETH
Chain ID 254
RPC URL https://mainnet-rpc01.swanchain.io, https://swanscan.io
Swan Credits Token Symbol SWANC
SwanETH Bridge https://bridge.swanchain.io
SWANC Claim Page https://faucet.swanchain.io
Block Explorer URL https://mainnet-explorer.swanchain.io
Swan Provider Dashboard https://orchestrator.swanchain.io/provider-status
Swan Credits Token 0xAF90ac6428775E1Be06BAFA932c2d80119a7bd02
Collateral Contract for FCP 0x48966A3eb8C1b584Ac9E7767bC9607e235245C81
CP Account Register Contract 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138
ZK Task Register Contract 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31
ECP Collateral Contract 0x0b84cc9CcE1459c85337b511872528cE947C3962
ZK engine Publick Key 0xB5aeb540B4895cd024c1625E146684940A849ED9
ZK-engine reward address 0xC2EF272e14a7A222eA909bBB6C5ffdb9B2EFAC02
Sequencer Contract 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd
Collateral for ECP 100 SWANC/Period Tasks
Gas to Sequencer 0.00001 sETH/task
Sequencer Blob Period 24 Hours

Full Changelog: v0.6.2...v0.6.3

Mainnet-CollateralV3

30 Jul 07:34
0f7a870
Compare
Choose a tag to compare

This is the Third Version of the Computing provider on Swan Mainnet, it can be used for FCP and ECP to join the Swan Mainnet
Computing Provider Campaign
. It fixes some FCP issues and brings a new mechanism to allow users to Deploy an ECP

Improvements and Bug fix

  • Improve: FCP can config and receive the zk tasks (#114)

  • New: allow ECP to submit the proof to the sequencer service, reduce the gas costs rapidly (#114)

  • Improve: the computing-provider ubi list show more information (#114)

  • New: allow CP to withdraw the funds from the escrow account (#114)

computing-provider collateral withdraw-request --owner <OWNER_ADDRESS> --account <CP_ACCOUNT> <amount>

computing-provider collateral withdraw-confirm --owner <amount> --account <CP_ACCOUNT>

computing-provider collateral withdraw-view --owner <amount> --account <CP_ACCOUNT>

  • New: check the current network contract information computing-provider contract default (#114)

  • Improve: get the task status from the Swan chain computing-provider task list (#114)

  • Fix: fix the resource-exporter can not collect the GPU information after some time(#115)

Swan Mainnet Network Information

Item Details
Currency Symbol sETH
Chain ID 254
RPC URL https://mainnet-rpc01.swanchain.io, https://swanscan.io
Swan Credits Token Symbol SWANC
SwanETH Bridge https://bridge.swanchain.io
SWANC Claim Page https://faucet.swanchain.io
Block Explorer URL https://mainnet-explorer.swanchain.io
Swan Provider Dashboard https://orchestrator.swanchain.io/provider-status
Swan Credits Token 0xAF90ac6428775E1Be06BAFA932c2d80119a7bd02
Collateral Contract for FCP 0x48966A3eb8C1b584Ac9E7767bC9607e235245C81
CP Account Register Contract 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138
ZK Task Register Contract 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31
ECP Collateral Contract 0x0b84cc9CcE1459c85337b511872528cE947C3962
ZK engine Publick Key 0xB5aeb540B4895cd024c1625E146684940A849ED9
ZK-engine reward address 0xC2EF272e14a7A222eA909bBB6C5ffdb9B2EFAC02
Sequencer Contract 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd
Collateral for ECP 100 SWANC/Period Tasks
Gas to Sequencer 0.00001 sETH/task
Sequencer Blob Period 24 Hours

Full Changelog: v0.6.1...v0.6.2

Mainnet-FCP-fix-init

16 Jul 09:40
7d0a517
Compare
Choose a tag to compare

This is the SECOND Version of the Swan Mainnet, it can only be used for FCP to join the Swan Mainnet
Computing Provider Campaign. It fixes some issues when you run and reduce the gas cost. Please CPs upgrade to this version

Improvements and Bug fix

  • fix the init bug when checking CP repo(#111)
  • reduce the gas cost when creating CP account(#111)
  • fix CP location error (#111)

Swan Mainnet Network Information

Item Details
Currency Symbol sETH
Chain ID 254
RPC URL https://mainnet-rpc01.swanchain.io
Swan Credits Token Symbol SWANC
SwanETH Bridge https://bridge.swanchain.io
SWANC Claim Page https://faucet.swanchain.io
Block Explorer URL https://mainnet-explorer.swanchain.io
Swan Provider Dashboard https://orchestrator.swanchain.io/provider-status
Collateral Contract for FCP 0x48966A3eb8C1b584Ac9E7767bC9607e235245C81
CP Account Register Contract 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138
Collateral for FCP 5 SWANC/task

Mainnet-FCP

11 Jul 11:25
d78da61
Compare
Choose a tag to compare
Mainnet-FCP Pre-release
Pre-release

This is the first version of the Swan Mainnet, it can only be used for FCP to join the Swan mainnet
Computing Provider Campaign. There are many improvements and bug fixes. Please migrate your FCP to this version as soon as possible.

New Features

  • use different build CMD for different network make mainnet (#104)
  • change to use SWANC as collaterals (#105)
  • show network version in the computing-provider info((#105)
  • update resource-exporter to v11.2.8 to avoid intermittent resource collection errors(#107)
  • add contract address verifications for CP commands (#104)
  • check the CP repo when init a new CP repo(#107)

Swan Mainnet Network Information

Item Details
Currency Symbol sETH
Chain ID 254
RPC URL https://mainnet-rpc01.swanchain.io
Swan Credits Token Symbol SWANC
SwanETH Bridge https://bridge.swanchain.io
SWANC Claim Page https://faucet.swanchain.io
Block Explorer URL https://mainnet-explorer.swanchain.io
Collateral Contract for FCP 0x48966A3eb8C1b584Ac9E7767bC9607e235245C81
CP Account Register Contract 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138
Collateral for FCP 5 SWANC/task