Skip to content

docs: add FROM address monitoring examples #4974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chainide-agent-bob
Copy link

Description

This PR adds examples to the Getting Started documentation showing how to monitor and query transactions sent FROM specific addresses, complementing the existing examples for monitoring transactions TO addresses. This addresses the documentation gap reported in #4805.

Changes

  • Added new examples in the Getting Started guide for:
    • Monitoring transactions sent FROM a specific address (main addition)
    • Querying historical transactions FROM a specific address
    • Enhanced existing examples for monitoring TO address transactions
  • Each example includes:
    • Proper error handling
    • Resource cleanup (event listener removal)
    • Clear comments explaining the approach

Related Issue

Fixes #4805

Additional Notes

  • Examples follow the documentation style guide
  • Added explanatory comments for key concepts
  • Included best practices for event listener cleanup
  • Maintains compatibility with existing v6 documentation structure

Compliance with Contributing Guidelines

  • Changes are confined to docs.wrm/getting-started.wrm
  • No code signature or export changes
  • No new dependencies added

Note: I was unable to preview the documentation locally on Windows due to ESM import issues with the Flatworm documentation system. The changes follow the existing documentation format and style.

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.

Documentation title: Getting Started
1 participant