Skip to main content

CLI for Soroban contracts in Python

Project description

Soroban CLI

CLI and functions to call Soroban contracts with Python.

pip install soroban

This provides a simple way to call contracts without needing to install the Rust SDK and is a higher level interface compared to using the Python SDK.

import soroban

soroban.invoke("AAAA...", "increment")

Identity and Network configurations are automatically pulled from the global or local configuration.

It also provides a CLI

soroban invoke CC22IAGPHR4DXI73WSI4L65TTB3F5A2DF7FP5PPNIOLVX5NQWSVR4TID version --source-account=...

Note: this repository has no affiliation with the Stellar Developer Foundation. The official CLI can be found here https://github.com/stellar/soroban-cli Should this become useful, I am happy to transfer it as well!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

soroban-0.2.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

soroban-0.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file soroban-0.2.0.tar.gz.

File metadata

  • Download URL: soroban-0.2.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for soroban-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eadf6ff7b39328250f42fdc72d5ceecb6235a450bc0b0ff2d3b020e20000a55f
MD5 d5c3e036dda50f737f6456b600142af1
BLAKE2b-256 89d60077f082d8b23f8e9b1fd8088656523ff5b1c053811388aa615da723e2d3

See more details on using hashes here.

Provenance

File details

Details for the file soroban-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: soroban-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for soroban-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 737171818f2bfc3601e61ab8e4cdcb4180b54cd4f52e7c9cf0a7fb6d2bb51b2b
MD5 aefb146c771ca4719bf6e0f09b225612
BLAKE2b-256 84321619ed18291ed44066f2e601a11af49014b5d17d29dc03e98672dfe5a0a4

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page