Solar Crypto Python Package
Install
pip install solar-crypto
Example usage
from solar_crypto.configuration.network import set_network
from solar_crypto.networks.testnet import Testnet
from solar_crypto.transactions.builder.transfer import Transfer
set_network(Testnet)
transaction = Transfer(
recipientId="D61mfSggzbvQgTUe6JhYKH2doHaqJ3Dyib",
amount=200000000,
)
transaction.set_nonce(1)
transaction.sign("super secret passphrase")
transaction.verify()
Guide for contributing
- Fork the repository on GitHub.
- Run the tests to confirm they all pass on your system. If they don’t, you’ll need to investigate why they fail. If you’re unable to diagnose this yourself raise it as a bug report.
- Make your change.
- Write tests that demonstrate your bug or feature.
- Run the entire test suite again, confirming that all tests pass including the ones you just added.
- Send a GitHub Pull Request. GitHub Pull Requests are the expected method of code collaboration on this project.
Documentation
You can find installation instructions and detailed instructions on how to use this package at the dedicated documentation site.
Security
If you discover a security vulnerability within this package, please send an e-mail to security@solar.org. All security vulnerabilities will be promptly addressed.
Credits
This project exists thanks to all the people who contribute.
License
Please read the separate LICENSE file for details.
Metadata
Release files for solar-crypto 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| solar-crypto-3.1.0.tar.gz | 28.6 kB | Without provenance | Details for solar-crypto-3.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| solar_crypto-3.1.0-py3-none-any.whl | Python 3 | none | any | Details for solar_crypto-3.1.0-py3-none-any.whl |
Total release size: 78.6 kB
Release files / solar-crypto-3.1.0.tar.gz
| Download URL | solar-crypto-3.1.0.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26e5b12c81804a8aa638d7509503dee9a439da29ae4c79d914ef6aa61c1d793d
|
|
BLAKE2b-256 checksum How to use checksums |
394a78de79e020d3e512c886f833c359e6cb35f4e372377d366b402a0f8006dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.6.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.0
|
Release files / solar_crypto-3.1.0-py3-none-any.whl
| Download URL | solar_crypto-3.1.0-py3-none-any.whl |
|---|---|
| Size | 50.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80bb19c400f464d02297961da7b6382774ec9c411f49785b728047f0f9999e07
|
|
BLAKE2b-256 checksum How to use checksums |
474c528a6d74302dcf83df4f27ba880b94884fb843ec03daf15b29caf549c085
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.6.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.0
|
Security for solar-crypto 3.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.