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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file soroban-0.3.2.tar.gz
.
File metadata
- Download URL: soroban-0.3.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e017d28fcc22c1be4b995dfe2aaf11ff6232abe5798fd713b88fa8452f1c89e |
|
MD5 | 426e95e4186f9d6057f16ebcc02427dc |
|
BLAKE2b-256 | da9b3d9fabc1f2759420627affda2adfd522d03ed912a419f5b9a7969be270f3 |
Provenance
File details
Details for the file soroban-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: soroban-0.3.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f8368f40b913b62f97a9758f28f1a0101a9c9cbb215b142cc43aaf72449332d |
|
MD5 | f9f717a8c9e85a8e626eafef892e3e34 |
|
BLAKE2b-256 | 843a829e0723aa97a2f850d3cbed653395f32a895e6c6b1381201b941b325364 |