ECP Setup
Last updated
Last updated
Source link: Please refer to the above link for up-to-date information.
ECP (Edge Computing Provider) specializes in processing data at the source of data generation, using minimal latency setups ideal for real-time applications. This provider handles specific, localized tasks directly on devices at the network’s edge, such as IoT devices.
At the current stage, ECP supports the generation of ZK-Snark proof of Filecoin network, and more ZK proof types will be gradually supported, such as Aleo, Scroll, starkNet, etc
Need to map the ECP service port of the intranet to the public network, the default port is9085
:
Running the setup.sh
Download the v28 parameters for ZK-FIL
task:
Download computing-provider
Initialize ECP repo
Output:
[OPTIONAL] You can also import your own wallet by private key
Note:
By default, the CP's repo is
~/.swan/computing
, you can configure it byexport CP_PATH="<YOUR_CP_PATH>"
private.key
is a file that contains the private key
Initialize ECP Account
Note: --task-types
: Supports 4 task types (1: Fil-C2-512M, 2: Aleo, 3: AI, 4: Fil-C2-32G), separated by commas. For ECP, it needs to be set to 1,2,4.
Collateral Swan-ETH for ECP
Note: Currently one zk-task requires 0.0005 Swan-ETH.
Note:
<FIL_PROOFS_PARAMETER_CACHE>
is your parameters directory,
<YOUR_PUBLIC_IP>
, <YOUR_PORT>
are your public IP and port ,
<YOUR_NODE_NAME>
is your CP name which will show in the dashboard, If not specified, the default is hostname
.
Generate a new wallet address and deposit the SWAN-ETH
, refer :
RUST_GPU_TOOLS_CUSTOM_GPU
is your GPU model and cores, you should update it to your own GPU model. More examples can be found