# droplet
**Repository Path**: kik-j/droplet
## Basic Information
- **Project Name**: droplet
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-08-02
- **Last Updated**: 2024-10-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Droplet
droplet will deliver a complete deal making experience as what lotus offers. This includes compatibility with lotus client where one can make deal with droplet using lotus client, retrieve deal/data in the same way as lotus retrieves its data, setup storage ask and etc.
Use [Droplet Issues](https://github.com/ipfs-force-community/droplet/issues) for reporting issues about this repository.
## feature
1. market 2.0 mainly implements the aggregation of multiple storage miners. clients can issue orders or retrieve any providers registered to droplet.
2. all metadata of provider server is stored in the mysql database that providing better data security.
3. providers do not need to pay attention for the details of the deal, only need to query the market regularly to see if you have any deal to seal.
4. market maintain a piece pool, that is, to provide the provider with the data for sealing deals, and it can also speed up the retrieval speed. ask miners for unseal operations, only when missing piece in droplet.
5. for clients, it is fully compatible with lotus.
## build
```sh
git clone https://github.com/ipfs-force-community/droplet.git
cd droplet
make
```
## how to set up droplet
run:
- run in chain service
```shell script
./droplet run --auth-url= --node-url= --messager-url= --gateway-url= --cs-token= --signer-type="gateway"
```
- run in local, conn venus chain service and use lotus-wallet/venus-wallet to sign
```shell script
./droplet run --auth-url= --node-url= --messager-url= --cs-token= --signer-type="wallet" --signer-url= --signer-token=
```
- run in local, conn lotus full node and use lotus full node to sign
```shell script
./droplet run --node-url= --messager-url= --cs-token= --signer-type="lotusnode"
```
set peer id and address
```shell script
./droplet net listen #query droplet address and peerid
./droplet actor set-peer-id --miner #set peer id
./droplet actor set-addrs --miner #set miner address
./droplet actor info --miner #query miner address and peerid on chain
```
set storage ask
```shell script
./droplet storage-deals set-ask --price --verified-price --min-piece-size =256B> --max-piece-size --miner
```
set retrieval ask
```shell script
./droplet retrieval-deals set-ask --price --unseal-price --payment-interval --payment-interval-increase --payment-addr
```
## how to setup droplet client
```shell script
./droplet-client run --node-url --node-token --signer-url --signer-token --addr
```
Note:**please use a separate address, or maybe nonce conflict**