Skip to main content

quorum_fullnode_py

Python SDK for Quorum FullNode.

More about QuoRum:

Install

pip install quorum_fullnode_py

Usage

from quorum_fullnode_py import FullNode

url = "http://127.0.0.1:11002"
jwt = "eyJhbGciO...VCJ9.eyJhbGxvd0...pbiJ9.FeyMWvzweE...o66QZ735nsrU"

# connect to a quorum fullnode with api url and chain jwt_token
client = FullNode(api_base=url, jwt_token=jwt)

# check node_status is online.
client.api.node_info().get("node_status") == "NODE_ONLINE"

# create a group chain for test
info = client.api.create_group("test_group")
client.group_id = info["group_id"]

# send a new post to the group chain
data = {
    "type": "Create",
    "object": {
        "type": "Note",
        "content": "nice to meet u!",
        "name": "hi",
        "id": "efb14f14-f849-4cf3-bcb6-c3598e857adb",
    },
}
resp = client.api.post_content(data)

# get trx from group chain
trx = client.api.trx(resp['trx_id'])

# get content:
trxs = client.api.get_content()

Source

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Metadata

Release files for quorum-fullnode-py 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quorum-fullnode-py 1.3.2
File Size Uploaded Provenance
quorum_fullnode_py-1.3.2.tar.gz 11.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for quorum-fullnode-py 1.3.2
File Interpreter ABI Platform
quorum_fullnode_py-1.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 23.5 kB

Release files / quorum_fullnode_py-1.3.2.tar.gz

Download URL quorum_fullnode_py-1.3.2.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
947c107ea7f7c32a08ac75d4e78f58f398e49d86ed5901720d10023c0caf20fc
BLAKE2b-256 checksum
How to use checksums
7543cf186b2507fb0921d52a25094bfbf9910ac1dc67871a29995e969ad189c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / quorum_fullnode_py-1.3.2-py3-none-any.whl

Download URL quorum_fullnode_py-1.3.2-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82c7dcd4200718f3c5c05b09b8ab1f675266abb84555106f33ebe749156adb7c
BLAKE2b-256 checksum
How to use checksums
3800ea0ace6ebb7169f0e5e95dcf40f1386187d77e3aa6a0820e282c24966e0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for quorum-fullnode-py 1.3.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page