Python SDK for the Maestro Dapp Platform
- [TODO] Install
maestro-sdk
package
# pip
pip install maestro-sdk
# poetry
poetry add maestro-sdk
- Create a Maestro API key.
- [TODO] Import the package
from maestro_sdk import MaestroSession
- Get poetry
- Install package:
poetry install
- Lock dependencies:
poetry lock
- Run Python shell:
poetry run python
>>> from maestro_sdk import MaestroSession
>>> maestro = MaestroSession("mainnet", "<API_KEY>")
>>> chain_tip = maestro.general.chain_tip(maestro)
>>> chain_tip
ChainTip(block_hash='7ed2439755445de6c42984de49c15b0a13326da8a5666e8050cf39fbfd295a7c', slot=94249308, height=8857750)
Meastro welcomes all contributors! Please see our contributing guidelines and code of conduct.