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.3.4.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

soroban-0.3.4-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: soroban-0.3.4.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for soroban-0.3.4.tar.gz
Algorithm Hash digest
SHA256 cb99640b00a4c4f686ec6661e435eab38215c25aeac4b3e15129d48a9807ce67
MD5 e19f3a6ce801cf16fdb13308380ebcca
BLAKE2b-256 fad9809af6ec28b4c02f97cf34864bc4837ea935f5981e757cfc9cadb5a76ff9

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: soroban-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for soroban-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bbd71f9a35e2406158fd3db20cfced4e5dc9076f4577b6c11368ded6f5436813
MD5 aad7bd0d30b8a9a34bf4b20f65ed2c4c
BLAKE2b-256 01447dd00c9534dee29ce21e0aa05219492f8b42201d6dff28a5080531c171f9

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