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
@@ -38,13 +41,26 @@ Before enabling the Snark Market on your node:
38
41
## ⚙️ System Requirements
39
42
40
43
* Modern **NVIDIA GPU** (recommended 12GB+ VRAM)
44
+
* 70GB base system RAM + ~220 GB Per GPU
45
+
* Lower amount is acceptable, but you won't be able to use the much faster SupraSeal C2 feature\
46
+
Meaning ~10mins/proof instead of 2.
41
47
* Curio from `origin/feat/snkss` branch (Snark Market support)
42
48
* FIL balance on Mainnet
43
49
44
50
***
45
51
46
52
## 🚀 Setup Instructions
47
53
54
+
### 0. (Optional/Recommended) Benchmark your system
55
+
56
+
You can skip most of the complex setup and learn how your hardware performs with lotus-bench
57
+
* Follow build instructions from [https://lotus.filecoin.io/storage-providers/operate/benchmarks/](https://lotus.filecoin.io/storage-providers/operate/benchmarks/)
58
+
* For faster Supraseal C2 lotus-bench do:\
59
+
`RUSTFLAGS="-C target-cpu=native -g" FFI_BUILD_FROM_SOURCE=1 FFI_USE_CUDA_SUPRASEAL=1 make clean deps lotus-bench`
60
+
* Download example snark inputs from [https://pub-08ae819c828244bdbe5f615fd8c5e144.r2.dev/c1.json](https://pub-08ae819c828244bdbe5f615fd8c5e144.r2.dev/c1.json) (~51MB)
61
+
* Run `./lotus-bench simple commit2 c1.json`, wait a few minutes for results\
62
+
On the first run lotus-bench may need to download the SNARK proving parameters
63
+
48
64
### 1. Install Curio
49
65
50
66
First, install dependencies (as per the [main install guide](https://docs.curiostorage.org/setup)):
@@ -63,9 +79,18 @@ git submodule update
63
79
make clean
64
80
RUSTFLAGS="-C target-cpu=native -g" FFI_BUILD_FROM_SOURCE=1 FFI_USE_CUDA_SUPRASEAL=1 make clean build all
65
81
sudo make install
66
-
sudo systemctl start curio.service
67
82
```
68
83
84
+
Run basic setup.
85
+
* If needed set database variables (defaults work with local YugabyteDB install)\
86
+
`CURIO_DB_NAME`, `CURIO_DB_USER`, `CURIO_DB_HOST` (can be a comma separated list of tserver IPs, one is also ok), `CURIO_DB_PASSWORD`
87
+
* Ensure your lotus-node is running
88
+
* Run `curio guided-setup` -> select `Setup non-Storage Provider cluster`
Ensure you're **not running on a WindowPoSt node**. This is only supported on GPU-based PoRep or Snap nodes. In the Web UI:
76
101
77
-
1. Go to `Overview` → `Configuration`
102
+
1. Go to `Overview` → `Configuration`, select the `snark-provider` if created previously
78
103
2. Find the **Subsystems** section
79
-
3.Enable `proof_share` or `Enable Snark Market`
104
+
3.Set `EnableProofShare` to true
80
105
4. Save and restart the node
81
106
82
107
<figure><imgsrc="https://github.com/user-attachments/assets/1c36e939-de4e-45ad-ba18-ce55e188c61c"alt="Enable PROOFSHARE toggle in configuration"><figcaption><p>Enable <code>PROOFSHARE</code> from the configuration layer</p></figcaption></figure>
@@ -89,6 +114,7 @@ Navigate to `Snark Market` in the sidebar. Under **Provider Settings**:
89
114
90
115
* Enable the settings checkbox
91
116
***Create a new `f1` wallet** (do _not_ reuse existing wallet)\
117
+
Use `lotus wallet new secp256k1` in the CLI\
92
118
⚠️ _Please note: This wallet can be changed later, but it is tricky_
93
119
* Set **Price (FIL/p)** to `0.005` (recommended for testing)
94
120
* Single proof (`p`) should take roughly two minutes to compute, your price should be calculated based on how many proofs per hour per GPU you expect to compute and your cost to run the GPU. The snark marketplace automatically adjusts the market price to match supply to demand.
@@ -108,6 +134,7 @@ Once you've configured the provider settings:
108
134
* SNARK Queue
109
135
* Payment Summaries
110
136
* Recent Settlements
137
+
* You can also view the [global public dashboard](https://mainnet.snass.fsp.sh/ui/)
111
138
112
139
<figure><imgsrc="https://github.com/user-attachments/assets/c8636728-4b2e-4b69-b3b3-445c735bca8d"alt="Snark Market Dashboard"><figcaption><p>Overview showing queue, asks, settlements, and active proofs</p></figcaption></figure>
113
140
@@ -124,7 +151,7 @@ Once you've configured the provider settings:
124
151
## 📈 Pricing & Payments
125
152
126
153
* Price is set per \~130M proof constraints (default granularity)
127
-
* Suggested testing price: `0.005 FIL`
154
+
* Suggested starting point price: `0.005 FIL`
128
155
* Settlements occur automatically when network gas fee to settle is less than 0.2% of the balance to settle
0 commit comments