Skip to main content

An asynchronous library for interacting with various cryptocurrencies and blockchains

Project description

AioTx

AioTx is an asynchronous library for interacting with various cryptocurrencies and blockchains. It aims to provide a lightweight and efficient solution for developers to integrate cryptocurrency functionalities into their projects without relying on heavy dependencies like web3.js or bitcoin-lib. Features

  • Asynchronous and non-blocking design for high performance
  • Support for multiple cryptocurrencies and blockchains
  • Minimal dependencies to keep the library small and fast
  • Easy-to-use API for common tasks like wallet creation, balance retrieval, and transaction signing
  • Extensible architecture for adding support for new cryptocurrencies and blockchains

Installation

You can install AioTx using pip:

pip install aiotx

Usage

Here's a simple example of how to use AioTx to create a wallet and retrieve its balance:

from aiotx import AioTxBSCClient

async def main():
    bsc_client = AioTxBSCClient(node_url="https://example.com")
    
    # Create a new wallet
    wallet = await bsc_client.create_wallet()
    print(f"Wallet address: {wallet.address}")
    
    # Retrieve the wallet balance
    balance = await bsc_client.get_balance(wallet.address)
    print(f"Wallet balance: {balance}")

# Run the async main function
asyncio.run(main())

For more detailed usage examples and API reference, please refer to the documentation.

Contributing

Contributions to AioTx are welcome! If you find any bugs, have feature requests, or want to contribute improvements, please open an issue or submit a pull request on the GitHub repository.

License

AioTx is open-source software licensed under the MIT License.

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

aiotx-0.0.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

aiotx-0.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file aiotx-0.0.3.tar.gz.

File metadata

  • Download URL: aiotx-0.0.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for aiotx-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4f58af9139c4d85e57e0f223d43cf432b53ee79748bbeff5269a279f043262fa
MD5 72cedb8d0dd2985d655706f6f1194ca8
BLAKE2b-256 0df3feb6599bc39e461ae42485dd54e202d04d0b21d7c0c2d54aebf632dcd19d

See more details on using hashes here.

File details

Details for the file aiotx-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: aiotx-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for aiotx-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a18419b4c19d3b49892de0e1af64876981156075ed055ac457058540024d4b65
MD5 f3e58cd6f800eca8a7fcd379fa576ac7
BLAKE2b-256 1925013fdbca351d955e3a9158754bc3ef7e74ac8c36fa2aa20011d4e6abaec2

See more details on using hashes here.

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