Skip to main content

aiocryptocurrency

Provides a single abstract interface for managing the funds of various cryptocurrency wallets via their RPC interfaces.

Support for:

This project currently supports the following coins:

  • Monero
  • Wownero
  • Firo

Quick start

pip install aiocryptocurrency

Example using Firo (the API is the same for other coins).

import asyncio


from aiocryptocurrency.coins.nero import Wownero, Monero
from aiocryptocurrency.coins.firo import Firo


async def main():
    # ./firod -testnet -rpcbind=127.0.0.1 -rpcallowip=127.0.0.1 -rpcport=18888 -rpcuser=admin -rpcpassword=admin
    firo = Firo()
    firo.port = 18888
    firo.basic_auth = ('admin', 'admin')

    # create a new receiving address
    blob = await firo.create_address()
    address = blob['address']

    # # list incoming txs
    txs = await firo.list_txs(address)
    for tx in txs:
        print(tx.txid)

    # send payment
    dest = 'TRwRAjxfAVKVZYQGdmskZRDSBw9E5YqjC8'
    amount = 0.05
    txid = await firo.send(dest, amount)


loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Release files for aiocryptocurrency 0.1.9

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

Source distribution (sdist)

Source distribution for aiocryptocurrency 0.1.9
File Size Uploaded
aiocryptocurrency-0.1.9.tar.gz 5.4 kB Details

Release files / aiocryptocurrency-0.1.9.tar.gz

Download URL aiocryptocurrency-0.1.9.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6957315854087f4f8f067703feafb9a35e574e13d28a0588686dae5480951025
BLAKE2b-256 checksum
How to use checksums
dd57174ebd426fe8951ea920824b324e75244f916e4bc3ea7562ca41ac6886a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.9 This release

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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