Code Monkey home page Code Monkey logo

venus-market's Introduction

venus-market

venus-market will deliver a complete deal making experience as what lotus offers. This includes compatibility with lotus client where one can make deal with venus-market using lotus client, retrieve deal/data in the same way as lotus retrieves its data, setup storage ask and etc.

  • Implementation of the one-to-one model of lotus market like module and fully interoperable with lotus implementation, which means compatibility with lotus client and more
  • venus-market deployed as independent module, like venus-sealer and venus-wallet
  • Implementation of a reliable market module that runs a seperate process from the main storage process
  • A clear module boundary that allows interoperability and user customizations
  • Flexibilities of market module to interact with existing venus infrastructures using RPC APIs
  • Supports for mainnet, calibration and Nerpa
  • Lightweight client: compatibility with Lotus and support for venus-market unique features including client running seperately as a process and remove dependencies for node; great for bootstraping tests on deal making process

build

git clone https://github.com/filecoin-project/venus-market.git
cd venus-market
make deps
make

start venus-market

./venus-market run --node-url <node url> --messager-url <messager-url> --auth-token <auth token>  --signer-url <wallet url> --signer-token  <wallet token> --piecestorage <piece storeage path> --miner <miner address>

start market-client

full node

this is example to use market-client only depend on full daemon

./market-client run --node-url <node url> --auth-token <auth token>  

use remote wallet and daemon service

use wallet for sign, use daemon for chain information, all data about fund (market message, paych) store in local, so you can use chain service such powergate as daemon

./market-client run --node-url <node url> --auth-token <auth token> --signer-url <remote wallet url> --signer-token <remote wallet token> 

venus pool

if want use messsager to trick message, use messager-url and messager-token

if want use remote wallet to sign message, use signer-url and signer-token

this is the example for using venus-market in venus pool

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

make deal

 ./market-client generate-car  <file> <car file>
 ./market-client import <file>
 ./market-client deal

retrieval file

./market-client retrieve --miner <miner addr> <data-cid> <dst path>

venus-market's People

Contributors

hunjixin avatar denniszou avatar diwufeiwen 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.