Giter VIP home page Giter VIP logo

droplet's Introduction

Droplet Logo

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 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

git clone https://github.com/ipfs-force-community/droplet.git
cd droplet
make

how to set up droplet

run:

  • run in chain service
./droplet run --auth-url=<auth url> --node-url=<node url> --messager-url=<messager url>  --gateway-url=<signer url> --cs-token=<token of admin-authority> --signer-type="gateway"
  • run in local, conn venus chain service and use lotus-wallet/venus-wallet to sign
./droplet run --auth-url=<auth url> --node-url=<node url> --messager-url=<messager url> --cs-token=<token of write-authority> --signer-type="wallet"  --signer-url=<wallet url> --signer-token=<wallet token>
  • run in local, conn lotus full node and use lotus full node to sign
./droplet run --node-url=<node url> --messager-url=<node url> --cs-token=<token of lotus> --signer-type="lotusnode"

set peer id and address

./droplet net  listen                               #query droplet address and peerid
./droplet actor set-peer-id --miner <f0xxxx> <id>   #set peer id
./droplet actor set-addrs --miner <f0xxxx> <addr>   #set miner address
./droplet actor info --miner <f0xxxx>               #query miner address and peerid on chain

set storage ask

./droplet storage-deals set-ask --price <price> --verified-price <price> --min-piece-size  <minsize >=256B>  --max-piece-size <max size <=sector-size> --miner <f0xxxx>

set retrieval ask

./droplet retrieval-deals set-ask --price <price> --unseal-price <price> --payment-interval <bytes> --payment-interval-increase <bytes> --payment-addr <f0xxx>

how to setup droplet client

./droplet-client run --node-url <node url> --node-token <auth token>  --signer-url <wallet url> --signer-token  <wallet token> --addr <client default address>

Note:please use a separate address, or maybe nonce conflict

droplet's People

Contributors

0x5459 avatar cloudxin avatar denniszou avatar dependabot[bot] avatar diwufeiwen avatar dtynn avatar elvin-du avatar fatman13 avatar hunjixin avatar linzexiao avatar remakezk avatar simlecode avatar ta0li avatar xiaomdong avatar zl03jsj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.