You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,12 +27,10 @@ The diagram represents the main components of the software and how they interact
27
27
28
28
## Running
29
29
30
-
For users who just want to give it a try, please refer to [Quick Start →](./docs/QUICK_START.md), which will guide you through how to interact with existing projects deployed on staging.
30
+
For users who just want to give it a try, please refer to [Quick Start →](./docs/QUICK_START.md), which will guide you through how to interact with existing projects deployed on testnet.
31
31
32
32
Developers looking to build circuits and deploy W3bstream projects should consult the [DEVELOPER_GUIDE →](./docs/DEVELOPER_GUIDE.md)
33
33
34
-
Developers who want to run a Sprout node could refer to the [OPERATOR_GUIDE →](./docs/OPERATOR_GUIDE.md)
35
-
36
34
## Sandbox
37
35
The DePIN Sandbox is an initial deployment of Layer 1 contracts that facilitate the deployment od DePIN Projects on IoTeX using W3bstream
The values of `image_id` and `elf` are variable names, and will be found in the `methods.rs` file.
122
134
123
-
#### Manager your project to IPFS
135
+
### Test Your W3bstream Project
136
+
137
+
Once you have generated a W3bstream project file that includes a custom prover for your dApp, you might want to test it.
138
+
139
+
Please refer to the [OPERATOR GUIDE](./OPERATOR_GUIDE.md) for instructions on how to:
140
+
141
+
1. Run a W3bstream node locally.
142
+
2. Copy the W3bstream project file into the node's project directory (default location is ./test/project).
143
+
3. Run the node and send your test messages.
144
+
145
+
### Registering Your Project
146
+
147
+
To allow W3bstream node operators to download your project and compute ZK proofs for your dApp, you must register your W3bstream project on the IoTeX blockchain:
124
148
125
-
##### Set w3bstream sequencer endpoint and contract addresses
149
+
#### Acquire a Project ID
126
150
127
151
```bash
128
-
# set local w3bstream sequencer as w3bstream endpoint
129
-
ioctl config set wsEndpoint 'localhost:9000'
130
-
# set the default project register and project store contract address
131
-
ioctl config set wsProjectStoreContract 0x6AfCB0EB71B7246A68Bb9c0bFbe5cD7c11c4839f
132
-
ioctl config set wsProjectRegisterContract 0x4888bfbf39Dc83C19cbBcb307ccE8F7F93b72E38
152
+
ioctl ioid register "your project name"
133
153
```
134
154
135
-
##### Register and Upload project
155
+
#### Register Project
136
156
137
157
```bash
138
-
# register a new project to w3bstream
139
-
# note: this need you had mint a project NFT in ioID, see more: https://github.com/machinefi/ioID-contracts
140
158
ioctl ws project register --id "your project id"
141
-
# use the project config generated above and update project config
Once you have generated a W3bstream project file that includes a custom prover for your dApp, you might want to test it.
173
+
#### Retrieve Project Info
168
174
169
-
Please refer to the [OPERATOR GUIDE](./OPERATOR_GUIDE.md) for instructions on how to:
175
+
```bash
176
+
ioctl ws project query --id "your project id"
177
+
```
170
178
171
-
1. Run a W3bstream node locally.
172
-
2. Copy the W3bstream project file into the node's project directory (default location is ./test/project).
173
-
3. Run the node and send your test messages.
179
+
#### Set Required Prover Amount of the Project
174
180
175
-
### Registering your project
181
+
The default prover amount will process the project's tasks is one. And we can customize it by
176
182
177
-
To allow W3bstream node operators to download your project and compute ZK proofs for your dApp, you must register your W3bstream project on the IoTeX blockchain:
Copy file name to clipboardExpand all lines: docs/OPERATOR_GUIDE.md
+47-74Lines changed: 47 additions & 74 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# IoTeX W3bstream Sprout Node Operator Guide
2
2
3
-
W3bstream is a permissionless, decentralized protocol within the IoTeX Network, where node operators contribute computing power to support verifiable computations for blockchain applications. These applications rely on insights from real-world data to trigger their token economies. Anyone can become a W3bstream Node Operator in the IoTeX Network, choosing which dApps to support in processing data and generating ZK (Zero Knowledge) Proofs. This guide covers how to operate a W3bstream node, register it in the IoTeX Network, join specific projects, and claim rewards.
3
+
W3bstream is a permissionless, decentralized protocol within the IoTeX Network, where node operators contribute computing power to support verifiable computations for blockchain applications. These applications rely on insights from real-world data to trigger their token economies. Anyone can become a W3bstream Node Operator in the IoTeX Network, choosing which dApps to support in processing data and generating ZK (Zero Knowledge) Proofs.
Refer to the W3bstream project documentation for the dApp you are joining to determine if Risc Zero proofs are required.
64
64
65
+
### Manage the project file
66
+
67
+
You can move your project file to a directory, and mount it to W3bstream node container. The environment variable used to indicate a directory is **PROJECT_FILE_DIRECTORY**
68
+
The default project directory is **./test/project**
69
+
65
70
### Manage the node
66
71
67
72
To start W3bstream, run the following command in the directory containing `docker-compose.yaml`:
@@ -82,72 +87,24 @@ To shut down the W3bstream instance:
82
87
docker-compose down
83
88
```
84
89
85
-
#### Set contract addresses
86
-
87
-
```bash
88
-
# set the default prover register and prover store contract address
89
-
ioctl config set wsFleetManagementContract 0xDBA78C8eCaeE2DB9DDE0c4168f7E8626d4Ff0010
90
-
ioctl config set wsProverStoreContract 0xAD480a9c1B9fA8dD118c26Ac26880727160D0448
91
-
```
92
-
93
-
### Prover Manager
94
-
95
-
#### Register and query prover
96
-
97
-
```bash
98
-
# register a new prover and this command will retrieve the prover id
0 commit comments