Skip to content

Clarify python-order-utils README usage example#37

Open
TheAlonze01 wants to merge 1 commit intoPolymarket:mainfrom
TheAlonze01:docs/improve-readme-usage-example
Open

Clarify python-order-utils README usage example#37
TheAlonze01 wants to merge 1 commit intoPolymarket:mainfrom
TheAlonze01:docs/improve-readme-usage-example

Conversation

@TheAlonze01
Copy link

@TheAlonze01 TheAlonze01 commented Dec 20, 2025

Make the README usage example copy-pastable by:

  • importing OrderData explicitly,
  • reading EXCHANGE_ADDRESS, CHAIN_ID and PRIVATE_KEY from environment variables.

Note

Updates README usage example to read EXCHANGE_ADDRESS, CHAIN_ID, and PRIVATE_KEY from env vars and import OrderData (adding os import).

  • Docs (README.md):
    • Usage example now reads EXCHANGE_ADDRESS, CHAIN_ID, and PRIVATE_KEY from environment variables via os.environ (casts CHAIN_ID to int).
    • Adds explicit import of OrderData and os.

Written by Cursor Bugbot for commit b81fd83. This will update automatically on new commits. Configure here.

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