Skip to main content

Circular Blockchain API written in Python 3

Project description

Circular Protocol Python API

The Circular Protocol API suite provides a robust and efficient interface for interacting with the Circular Protocol, a decentralized and highly scalable blockchain network. These APIs enable developers to integrate, query, and execute operations on the Circular Protocol blockchain, supporting a wide range of decentralized applications (dApps), financial transactions, and smart contracts.

Docs

Official documentation for the Python API and many more languages on GitBook

Installation

You can install the package via pip. Here's how to do it:

pip install circular_protocol_api

Or cloning this repository with

pip install .

Usage

Import the package and instantiate the Circular Protocol API class.

from circular_protocol_api import CircularProtocolAPI

# Example usage
circular = CircularAPI()
blockchain = 0x8a20baa40c45dc5055aeb26197c203e576ef389d9acb171bd62da11dc5ad72b2
test_addr = 0xbd1d7ff426d094605a0902c78812dded6bbebdb42b20d9c722dc87bde0f30f44

print(circular.getWallet(blockchain, test_addr))

Access data

The result is a Python dictionary so you could access values via the .get() method.

License

This library is open-source and available for both private and commercial use. For detailed terms, please refer to the LICENSE file provided in the repository.

Contact


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

circular_protocol_api-1.0.8.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

circular_protocol_api-1.0.8-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

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