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

Uploaded Source

Built Distribution

soroban-0.3.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for soroban-0.3.1.tar.gz
Algorithm Hash digest
SHA256 cf3adeac3b449b4eb30fa9e3b6e2ee5f926910e9c3fc6bbe9eabad7141e8e5db
MD5 3f5a153b8f2417aedad8cd408905fdbc
BLAKE2b-256 f09bcaa04aff44b11fa062a71f8b1587e06b48f08ed4849dc801e3c01f871c85

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: soroban-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52967491c0dfb089f7e0f394334eefa5d607cf121a1f7d337698031ddd53d7f1
MD5 532de6922e027b601db9fd2d6661b130
BLAKE2b-256 8972be3e6620001b6ed9249608e899065b9ef5d51066096f8f9a836391b312bc

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