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
- Get a CIDgravity account : https://cidgravity.com
- 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
- Install python modules : toml and requests
sudo apt install python3-toml python3-requests
Get Started
- Install the connector
sudo -i -u <USER_RUNNING_BOOST_PROCESS>
git clone https://github.com/CIDgravity/CIDgravity-X.git
cd CIDgravity-X
- 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
- Run the check process
./cidgravity_storage_connector.py --check
- 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"
- Restart boost