Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 905 Bytes

File metadata and controls

30 lines (18 loc) · 905 Bytes

Examples

This section provides practical, real-world examples demonstrating how to use the supra-python-sdk for most of the significant operations.

Each example is self-contained, focusing on a single use case, making it easy to understand and adapt for your own projects.

Requirements

Before running the examples, ensure you have the following:

  • Python 3.12+ installed on your system.
  • uv – used for packaging and dependency management.

Installing uv

Follow the official installation guide to install uv on your system.

Running an Example

You can run any example using the following syntax:

uv run python -m examples.<example_filename_without_py_extension>

Running transfer_coin.py example:

uv run python -m examples.transfer_coin