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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: soroban-0.3.3.tar.gz
  • Upload date:
  • Size: 7.3 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.3.tar.gz
Algorithm Hash digest
SHA256 6479cc07750d453b358195a7855bf9915bf54a5c337e937dade00e68c86ccf3c
MD5 a1b5562a48f53c9b3f9d0bc7c64d3de8
BLAKE2b-256 ec616196d7e87f56dcf7ca6557b189786c83551ccb4fd006e589767ffbac5d5a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: soroban-0.3.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8bfe77d76a53c693b7d2a49fd92340e9db62b22339fea80edfe51432ec91c992
MD5 47f701826432e2f438d371406f373bc7
BLAKE2b-256 754c83841dc83aa886d7c9924d53d2afb0d0556be8e89151a92216527e9f85fd

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