Skip to content

Releases: swanchain/go-computing-provider

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

Proxima-Testnet-fixBalance

14 Jun 11:13
a47e4a3
Compare
Choose a tag to compare
Pre-release

This is an improved version, it has fixed some important bugs but doesn't have any impact on the main functions. We suggest all ECP and FCP should upgrade to v0.5.1

Improvements && Bugfix

  • fix: some CPs can not submit proofs by public IP(#93)
  • fix: computing-provider state cp-info <cpAccount> shows wrong collateral balances(#93)
  • fix: failed to delete the wallet(#93)

How to Upgrade

  • Just replace your CP binary, if you are using v0.5.0
  • follow the guidelines to install the

Proxima-Testnet-ecpCollateral

13 Jun 03:49
8b5b249
Compare
Choose a tag to compare

This is a MANDATORY upgrade. All CPs (ECPs, FCPs) must upgrade to this version (v0.5.0) to connect to the Swan network. This upgrade introduces many new features, including the adoption of CP Account V2 and the ECP collateral mechanism.

  • fea: FCP integrates with the new cpAccount system, with an updated collateral mechanism(#85)
  • fea: ECP introduces a collateral mechanism; all ECPs must add collateral for receiving the ZK tasks(#85)
  • fea: SQLite is used for data storage, improving data retrieval efficiency(#85)
  • fea: Added the computing-provider state command to query the on-chain information of cpAccount and tasks in real time(#85)
  • improve: Refactored the structure of computing-provider info(#85)
  • improve: Optimized the way to obtain ECP rewards(#85)
  • fix: Some ECPs could not complete ZK proof due to the inability to obtain CPU architecture (#85)
  • fix: Proof submission failures due to RPC timeout(#85)
  • fix: Clean the invalid tasks(#81) (#80)

How to Upgrade

For upgrade steps, please see here.

Note:

  • In this version, FCP needs to add new collateral to receive AI tasks from the Orchestrator. For details, please see here.
  • In this version, ECP needs to add collateral to receive zk tasks. For details, please see here.