Skip to content

Add beginner-friendly PyCardano example scripts #482

@stnltd

Description

@stnltd

I'm participating in the Cardano Builderthon and noticed PyCardano lacks beginner-friendly, heavily-commented examples for developers new to Cardano.

I'd like to contribute a set of tutorial scripts covering common use cases:

Proposed Examples:

  1. wallet_balance_checker.py - Check wallet balance using Blockfrost
  2. simple_ada_transfer.py - Send ADA from one address to another
  3. query_transaction.py - Look up transaction details by hash
  4. utxo_explorer.py - List and analyze UTXOs for an address

What makes these different:

  • ✅ Line-by-line explanatory comments
  • ✅ Comprehensive error handling
  • ✅ Setup instructions included
  • ✅ Expected output examples
  • ✅ Common mistakes documented
  • ✅ Works on testnet (safe for learning)

Target Audience:

Python developers new to Cardano who understand basic blockchain concepts but need practical examples.

Deliverables:

  • /examples/beginner/ folder with 4 scripts
  • README.md with setup guide
  • Each script fully tested on preprod testnet

Can I proceed with this contribution?

Related to: Cardano Builderthon 2024

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions