Code Monkey home page Code Monkey logo

cidgravity-x's Introduction

The "CIDgravity connector" connects a boost node to the CIDgravity service. This lighweight connector is executed locally by the boost daemon each time a deal proposal is received.

Compatibility

Node Supported
boost โœ…
lotus-markets โŒ

Requirements

  1. Get a CIDgravity account : https://cidgravity.com
  2. Set your get-ask prices to 0 and size to the widest range via the BoostUI/Settings :
    • Price = 0
    • Verified Price = 0
    • Min Piece Size = 256
    • Max Piece Size = 32G or 64G
  3. Install python modules : toml and requests
sudo apt install python3-toml python3-requests

Get Started

  1. Install the connector
sudo -i -u <USER_RUNNING_BOOST_PROCESS>
git clone https://github.com/CIDgravity/CIDgravity-X.git
cd CIDgravity-X
  1. Add the CIDgravity authentication (located at https://app.cidgravity.com under Settings/Other settings")
cp cidgravity_storage_connector.toml.sample cidgravity_storage_connector.toml
nano ./cidgravity_storage_connector.toml
  1. Run the check process
./cidgravity_storage_connector.py --check
  1. Enable "CIDgravity connector" in boost by adding the following lines to boost config (usually ~/.boost/config.toml) under the [Dealmaking] and [LotusDealmaking] section
Filter = "<ABSOLUTE_PATH>/cidgravity_storage_connector.py --reject"
RetrievalFilter = "<ABSOLUTE_PATH>/cidgravity_storage_connector.py --reject"
  1. Restart boost

cidgravity-x's People

Contributors

breigner01 avatar florianruen avatar s0nik42 avatar zteeed avatar

Watchers

 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.