Skip to main content

Python Cardano module

This software is in development phase. Please consider it experimental and don’t rely on any API to be stable before version 1.0 comes.

There’s release 0.8.2 available. It is usable for basic payment acceptance and spending but more advanced features haven’t been well tested yet.

Prerequisites

  1. You need to have a cardano-node running.

  2. You need to have a cardano-wallet running and connected to the node.

  3. The rest you find in the documentation.

Please note it is most safe to run both node and wallet software on your local machine. The network security is well beyond the scope of this documentation, though. Also, I strongly recommend using the Cardano testnet for any software development and testing.

Roadmap

This module has been started as an idea submitted to the Catalyst Project. The funded part concluded with version 0.7.

date

version

features

2021-03-16

0.1

  • classes for Wallet, Address and Transaction

  • create wallet from seed

  • retrieve wallet

  • check balance

  • list historical transactions

  • send transfer

2021-03-28

0.2

  • fixed transaction API

  • listing native assets (other than ADA)

  • docs for 0.1 features

2021-04-11

0.3

  • add metadata to transactions

  • docs for 0.2 features

2021-04-18

0.4

  • fee estimation

2021-04-25

0.5

  • stake

  • unstake

  • docs for 0.4 features

2021-05-17

0.6

  • UTXO stats

  • docs for 0.5 + 0.6 features

2021-08-08

0.7

  • advanced filtering of incoming and outgoing transfers

  • native assets transfer

End of the Catalyst-funded phase

2021-11-11

0.8

  • address validation

future

  • key operations (HD wallet key generation)

  • seed to key and vice versa conversion

  • coin selection

  • transaction forgetting

  • handling of Byron wallets

  • Goguen features (smart contracts?)

Q: Why the roadmap above differs so much from the plan presented in Catalyst proposal?

A: While developing the module I discovered that some of the features I had originally declared were impossible to implement given the available tools. Also, the proposal lacked some features that are important but somehow I missed them when proposing. The roadmap consists of items I found both important and doable.

Donate

If you like to support the idea with a donation, the address is:

addr1qyjfql20ca09dnxrl3zdek40u24ylk6uqw3rf7p42p55xk8r26ptv047efk8fwmydynvawp4af7fr0xgjxqm7x9v32eq27496t
donate.qr.png

Thank you.

Release files for cardano 0.8.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 cardano 0.8.2
File Size Uploaded
cardano-0.8.2.tar.gz 23.9 kB Details

Release files / cardano-0.8.2.tar.gz

Download URL cardano-0.8.2.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6531df20fecd5dd168a5bcb297dcad158c1f8b485c338c1544905cc3971d1b91
BLAKE2b-256 checksum
How to use checksums
d021e3425858cf1bcb47cd1c15f71ceb4349e4bd7f70b7ad6c15e3a1abe2e21b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.8.2 This release

1 release file

0.8.1

1 release file

0.8

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7

1 release file

0.6.1

1 release file

0.6

1 release file

0.5

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4

1 release file

0.3.1

1 release file

0.3

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

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