In this repository one can find data for crypto projects. When a submitted PR is accepted and merged it automatically updates the Santiment database. The updated data will be available in the Santiment API and it can be used in the computation of metrics.
The data includes, but is not limited to:
- General data:
- Slug
- Name
- Ticker
- Ecosystem
- Website
- Description
- Market Segment
- Development data:
- Github organizatoins
- Social data:
- Discord
- Slack
- Telegram
- Blog
- Blockchain data:
- Contracts - address, decimals, description
The slug
, name
and ticker
fields are mandatory.
The slug
must be unique as it is used to identify the project.
When a PR is submitted, the data is validated. For the validation the following rules are used:
- Apply the JSON schema validation as defined here;
- Apply extra custom checks;
- The fields that need to be a URL are validated to be a valid URL;
- The
slug
field must be unique; - The
name
must start with a capital letter or a number and be at least 2 characters long; - The
ticker
must be all uppercase and be at least 2 characters long; - etc.
The following is an example of the data for the Santiment project:
{
"general": {
"slug": "santiment",
"ecosystem": "/Ethereum",
"name": "Santiment",
"ticker": "SAN",
"description": "Data feeds, insights and crowd sentiment",
"website": "https://santiment.net/"
},
"social": {
"twitter": "https://twitter.com/santimentfeed",
"telegram": "https://t.me/santiment_network",
"discord": "https://santiment.net/discord",
"reddit": "https://www.reddit.com/r/santiment/"
},
"development": {
"github_organizations": ["santiment"]
},
"blockchain": {
"contracts": [
{
"address": "0x7c5a0ce9267ed19b22f8cae653f198e3e8daf098",
"label": "main",
"blockchain": "ethereum",
"decimals": 18
}
]
}
}
To update the data for a project, one should submit a PR with the proposed changes.
An example of a change that adds a new github organization:
"development": {
"github_organizations": [
- "santiment"
+ "santiment", "santiment_new_organization"
]
},
If this change is accepted and merged, the Santiment database will be updated and the new organization will be added to the list of organizations for the Santiment project. This will be reflected in the Development Activity metrics of the project.