Pragma SDK, written in Python.
One can leverage this SDK to interact with Pragma on Starknet. This SDK should also be used by Data Providers willing to push data on Pragma contracts.
For more information, see the project's repository, documentation overview and documentation on how to publish data.
Our main SDK:
Our utility library:
Our services used to publish data etc...:
We provide a version management script to help maintain consistent versioning across all packages.
- Make the script executable:
chmod +x scripts/version.sh
Run the version checker:
bash scripts/version.sh
The script will:
-
Fetch the latest version from PyPI
-
Check all local package versions
-
Display the current version status
-
Offer options to:
Bump the major version (x.y.z → x+1.0.0)
Bump the minor version (x.y.z → x.y+1.0)
Bump the patch version (x.y.z → x.y.z+1)
The script will automatically update all __init__.py
files in the following packages:
.
└── pragma-sdk
├── pragma-sdk
├── pragma-utils
├── merkle-maker
├── price-pusher
├── vrf-listener
└── lp-pricer
Note: Make sure to commit and push the version changes after running the script.
See the CONTRIBUTING guide.