https://github.com/cidgravity/cidgravity-x
CIDgravity community repo
https://github.com/cidgravity/cidgravity-x
Last synced: 12 months ago
JSON representation
CIDgravity community repo
- Host: GitHub
- URL: https://github.com/cidgravity/cidgravity-x
- Owner: CIDgravity
- Created: 2021-07-14T10:24:54.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T14:15:58.000Z (about 1 year ago)
- Last Synced: 2025-04-16T21:24:30.633Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://www.cidgravity.com/
- Size: 1.59 MB
- Stars: 17
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The miner connectivity with CIDgravity allow miner software and CIDgravity to communicate every time the miner receive a proposal and measure miner availability.
# Compatibility
|Node |Supported|
|---------------|---------|
|curio | ✅ |
|boost | ✅ |
|droplet(venus)| ✅ |
|lotus-markets | ❌ |
# Requirements
1. Get a CIDgravity account : https://cidgravity.com
2. GEt your API token from the Settings page of CIDgravity
3. Set the miner get-ask prices to 0 and size to the widest range via the BoostUI(:8080/settings) or Venus Settings :
- Price = 0
- Verified Price = 0
- Min Piece Size = 256B (or 128B for curio)
- Max Piece Size = 32G or 64G
# CURIO
CIDgravity is natively supported by Curio.
To enable CIDgravity on a properly configured Curio market, simply configure Market/StorageMarketConfig/MK12/CIDGravityToken.
You can also configure DefaultCIDGravityAccept to define whether Curio should accept or reject the deal processing if CIDgravity is not reachable.
# BOOST / VENUS
The "CIDgravity connector" connects a boost or venus node to the CIDgravity service.
This lighweight connector is executed locally by the markets node daemon each time a deal proposal is received.
# Get Started
1. Install python modules : toml and requests
```
sudo apt install python3-toml python3-requests
```
2. Install the connector
```
sudo -i -u ""
git clone https://github.com/CIDgravity/CIDgravity-X.git
cd CIDgravity-X
cp -n cidgravity_storage_connector.toml.sample cidgravity_storage_connector.toml
```
3. Add the CIDgravity authentication (located at https://app.cidgravity.com under Settings/Other settings")
```
nano ./cidgravity_storage_connector.toml
```
## Boost (specific)
1. Run the check process
```
./cidgravity_storage_connector.py --check-boost
```
2. Enable "CIDgravity connector"
Add the following lines to boost config (usually ~/.boost/config.toml) under the [Dealmaking] and [LotusDealmaking] section
```
Filter = "/cidgravity_storage_connector.py --reject"
RetrievalFilter = "/cidgravity_storage_connector.py --reject"
```
3. Restart boost
## Droplet (Venus specific)
1. Run the check process
```
./cidgravity_storage_connector.py --check-venus
```
2. Enable "CIDgravity connector"
Add the following lines to droplet config (under path `~/.droplet/config.toml` by default) in the [CommonProvider] section (for more details, please refer to documentation [here](https://github.com/ipfs-force-community/droplet/blob/master/docs/en/droplet-configurations.md))
```
Filter = "/cidgravity_storage_connector.py --reject"
RetrievalFilter = "/cidgravity_storage_connector.py --reject"
```
3. Restart droplet