Credmark has created a Model Framework for creators to allow them easy access to Credmark's inhouse integrated, curated, and historical blockchain data via standard data models and to enable creators to leverage these models to build their own models and publish them.
It contains dependencies to the Credmark Model Framework repo as well as the credmark-dev command-line tool, that lets you list the models in the local repo and run local models as you develop. It will also run remote non-local models on the server by automatically doing API calls when models are not present locally. Once the Credmark model framework is installed you can use this command-line tool.
To install the Model Framework, please follow these instructions.
After installation, please follow the instructions here on how to create, run, and submit new models as well as the modeling guidelines.
Please find more details on the CLI here.
You can browse the models that are already deployed at the Credmark Model Documentation site.
The Credmark Framework provides access to remote models and access to on-chain data via Credmark API. Please find more details on the API here.
When running a model, the top level framework code will catch any exceptions, convert it to a ModelRunError if needed, and output an error object in the response. Please find more details on this here.
The Credmark Model Framework is under active development, thus there will be some bugs or issues that may cause problems.
We encourage all modelers to join our Discord, pick the role "Engineering" and post any issues the in the channel #framework-help. The Discord shall be the place to ask general questions about how to do something or if you have data-related questions.
If you want to report a bug, unexpected behavior, or feature request, you can raise an issue in Github directly but we encourage you in this case as well to notify the community in Discord.