cryptocom-tools-defi
DeFi tools for Crypto.com Developer Platform.
Installation
pip install cryptocom-tools-defi
Tools
Read Tools
- GetFarmsTool - Get all farms for a DeFi protocol
- GetFarmDetailsTool - Get details for a specific farm by symbol
- GetWhitelistedTokensTool - Get whitelisted tokens for a protocol
Usage
from cryptocom_tools_defi import GetFarmsTool, GetFarmDetailsTool, GetWhitelistedTokensTool
# Get all farms on VVS
farms_tool = GetFarmsTool()
result = farms_tool.invoke({"protocol": "VVS"})
# Get specific farm details
farm_tool = GetFarmDetailsTool()
result = farm_tool.invoke({"protocol": "VVS", "symbol": "CRO-USDC"})
# Get whitelisted tokens
tokens_tool = GetWhitelistedTokensTool()
result = tokens_tool.invoke({"protocol": "VVS"})
Environment Variables
CRYPTOCOM_DEVELOPER_PLATFORM_API_KEY- Your CDP API key (auto-read by CDPTool)
License
MIT
Metadata
Release files for cryptocom-tools-defi 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cryptocom_tools_defi-2.0.0.tar.gz | 6.6 kB | Without provenance | Details |
Release files / cryptocom_tools_defi-2.0.0.tar.gz
| Download URL | cryptocom_tools_defi-2.0.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
224a58bbf99be273b8555105fe837fe684cb6e67321ebbe5e12434ccc7cb947d
|
|
BLAKE2b-256 checksum How to use checksums |
fad48d0d923b55dfae9bd6b422c6deff098f975707692d196e24ae7b1c28c084
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.9
|
Security for cryptocom-tools-defi 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.