swanchain / go-computing-provider

A golang implementation of computing provider
MIT License
11 stars 15 forks source link

Upgrade to Computing-provider v0.4.6 #50

Closed Normalnoise closed 2 weeks ago

Normalnoise commented 2 months ago

Computing-provider v0.4.6 release

Highlights!

Please see release log

How to upgrade to v0.4.6?

Scenario One

If you are a new user, you can install and config the go-computing-provider following this instruction.

Scenario Two

If you have installed the previous version, you can upgrade to the latest version v0.4.6 by following the steps:

(1) Stop your computing-provider

(2) Set your $CP_PATH: default ~/.swan/computing

(3) Update your config.toml, there are two items need to updated

[RPC]
SWAN_TESTNET ="https://rpc-proxima.swanchain.io" 

[CONTRACT]
SWAN_COLLATERAL_CONTRACT="0xfD9190027cd42Fc4f653Dfd9c4c45aeBAf0ae063" 

(4) Install and Run the new version computing-provider:

Option :one: : Prebuilt package
wget https://github.com/swanchain/go-computing-provider/releases/download/v0.4.6/computing-provider

# Start the computing-provider
export CP_PATH=<YOUR CP_PATH>
nohup computing-provider run >> cp.log 2>&1 & 
Option :two: : Source code

please follow this guideline Build and config the Computing Provider

(5)[OPTIONAL] if you also want to receive a ZK-task, please follow this guideline to init and config it

!!! NOTE: Init and create a new account are required for this Upgrade, because we have migrate to the Swan Proxima Chain

(6)[OPTIONAL] If you just want to be a ZK-Provider(only receive the ZK task), ECP will be a good choice for you. please follow this guideline