diff --git a/docs/en/getting-started.md b/docs/en/getting-started.md index 77025b21..a21bec2e 100644 --- a/docs/en/getting-started.md +++ b/docs/en/getting-started.md @@ -319,10 +319,18 @@ Price per GiB/Epoch Verified Min. Piece Size (padded) Max. Piece Size (padded) E ### Retrieve Deal -The storage provider should at least set the payment address +The beneficiary address of storage provider should be configured before retrieval. + +```toml +[[Miners]] +Addr = "t01002" +RetrievalPaymentAddress = "f3umdpich3a7xpm3bgtn4cr3k3w7auck2waw4pk76vye5tqm7zxeaq5yuewy75p63gzc5bhzhmfyhuyltcro4a" +``` + +Set the default ask for miner. ```bash -./droplet retrieve ask set t3ueb62v5kbyuvwo5tuyzpvds2bfakdjeg2s33p47buvbfiyd7w5fwmeilobt5cqzi673s5z6i267igkgxum6a +./droplet retrieve ask set f01002 ``` At the same time, you can also set the price of the data retrieval request, if not set, the default is 0. @@ -331,7 +339,7 @@ At the same time, you can also set the price of the data retrieval request, if n --price 0.02fil \ --unseal-price 0.01fil \ --payment-interval 1MB \ -t3ueb62v5kbyuvwo5tuyzpvds2bfakdjeg2s33p47buvbfiyd7w5fwmeilobt5cqzi673s5z6i267igkgxum6a +f01002 ``` @@ -532,4 +540,4 @@ Recv 1.479 KiB, Paid 0 FIL, Complete (CheckComplete), 35ms Recv 1.479 KiB, Paid 0 FIL, CompleteVerified (Finalizing Blockstore), 36ms Recv 1.479 KiB, Paid 0 FIL, BlockstoreFinalized (Completed), 36ms Success -``` \ No newline at end of file +``` diff --git "a/docs/zh/\345\277\253\351\200\237\345\220\257\347\224\250.md" "b/docs/zh/\345\277\253\351\200\237\345\220\257\347\224\250.md" index 7e6f0c67..441e00a2 100644 --- "a/docs/zh/\345\277\253\351\200\237\345\220\257\347\224\250.md" +++ "b/docs/zh/\345\277\253\351\200\237\345\220\257\347\224\250.md" @@ -244,10 +244,26 @@ Price per GiB/Epoch Verified Min. Piece Size (padded) Max. Piece Size (padded #### 检索挂单 -存储服务提供商至少应设置收款地址 +- 设置收款地址 + +Droplet 中的每一个 miner 都有对应的配置, 其中 `RetrievalPaymentAddress` 配置的是 miner 的检索收款地址。 + +示例配置如下: + +```toml +[[Miners]] +Addr = "t01002" +RetrievalPaymentAddress = "f3umdpich3a7xpm3bgtn4cr3k3w7auck2waw4pk76vye5tqm7zxeaq5yuewy75p63gzc5bhzhmfyhuyltcro4a" + +``` + + +- 设置订单价格 + +设置值默认的订单价格 ```bash -./droplet retrieval ask set t3ueb62v5kbyuvwo5tuyzpvds2bfakdjeg2s33p47buvbfiyd7w5fwmeilobt5cqzi673s5z6i267igkgxum6a +./droplet retrieval ask set f01002 ``` 同时,也可以设置数据检索订单的价格,不设置时,默认为0. @@ -256,9 +272,11 @@ Price per GiB/Epoch Verified Min. Piece Size (padded) Max. Piece Size (padded --price 0.02fil \ --unseal-price 0.01fil \ --payment-interval 1MB \ -t3ueb62v5kbyuvwo5tuyzpvds2bfakdjeg2s33p47buvbfiyd7w5fwmeilobt5cqzi673s5z6i267igkgxum6a +f01002 ``` + + ## droplet-client ### droplet-client初始化并启动