Skip to content

Improve amm example: added detailed comments and step-by-step explanation#1112

Open
otaviovin wants to merge 1 commit into
StellarCN:mainfrom
otaviovin:improve-examples-amm-REV01
Open

Improve amm example: added detailed comments and step-by-step explanation#1112
otaviovin wants to merge 1 commit into
StellarCN:mainfrom
otaviovin:improve-examples-amm-REV01

Conversation

@otaviovin

Copy link
Copy Markdown
Contributor

This PR improves the examples/amm.py script to be more beginner-friendly by adding:

  • Clear English comments explaining each step

  • Installation instructions (pip install stellar-sdk)

  • Example usage and expected output

  • Minor code clarifications and error handling tips

These changes aim to help new developers quickly understand how to generate and inspect Stellar accounts using the Python SDK.

@codecov

codecov Bot commented Feb 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.02%. Comparing base (445865f) to head (ff95437).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1112   +/-   ##
=======================================
  Coverage   98.02%   98.02%           
=======================================
  Files         264      264           
  Lines       15292    15292           
=======================================
  Hits        14990    14990           
  Misses        302      302           
Flag Coverage Δ
unittests 98.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant