Skip to content
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

🏛️ [EPIC] : Hermes Module - Voter Registration tracking for Athena #134

Open
6 tasks
Tracked by #150
stevenj opened this issue Feb 15, 2024 · 0 comments
Open
6 tasks
Tracked by #150
Labels
epic A high-level feature or collection of related user stories/tasks that span multiple issues.

Comments

@stevenj
Copy link
Collaborator

stevenj commented Feb 15, 2024

Summary

Write a Hermes WASM Module that tracks voter registrations on chain.

JIRA Epic

TODO

Description

This Hermes module for Athena application will track Catalyst voter registrations from transaction events detected on the Cardano blockchain and save that data in a local database.

This is a set of WASM Modules deployed via the Athena application package, and run by the Hermes Application Engine.

Functionality will:

1- Process transaction events from the Cardano Blockchain in real time.
2- Detect and validate project Catalyst voter registrations.
3- Store registration data in a local database.
4- Enable registrations to be queried through the Hermes HTTP gateway. (Rest API)
5- In the scope of this proposal, Athena only tracks Voter Registration, and does not manage representatives, or other registration types.
6- Handle rollbacks correctly, and ensure that all recorded registrations are correct as at the current block processed from the blockchain.

Todo

TODO

  • Connect to database on application load and setup or migrate DB schema.
  • Process transactions and detect voter registration type transactions.
    • Record registration data in the database.
  • Handle on-chain rollbacks
  • API Endpoint to query and report voter registration information.
  • API Endpoint to report status of data storage (Is it syncing or following from Tip?)
@stevenj stevenj added the epic A high-level feature or collection of related user stories/tasks that span multiple issues. label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic A high-level feature or collection of related user stories/tasks that span multiple issues.
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant