Skip to content

Latest commit

 

History

History
66 lines (59 loc) · 2.63 KB

README.md

File metadata and controls

66 lines (59 loc) · 2.63 KB

Maestro Logo

Python SDK for the Maestro Dapp Platform

Getting Started

  1. [TODO] Install maestro-sdk package
# pip
pip install maestro-sdk

# poetry
poetry add maestro-sdk
  1. Create a Maestro API key.
  2. [TODO] Import the package
from maestro_sdk import MaestroSession

Local Development

  1. Get poetry
  2. Install package: poetry install
  3. Lock dependencies: poetry lock
  4. 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)

Documentation

Contributing

Meastro welcomes all contributors! Please see our contributing guidelines and code of conduct.