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

Update contracts for offchain usage #1621

Open
9 tasks
0xmad opened this issue Jun 27, 2024 · 0 comments
Open
9 tasks

Update contracts for offchain usage #1621

0xmad opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@0xmad
Copy link
Collaborator

0xmad commented Jun 27, 2024

As a user I'd like to send messages without spending money and send messages using relayer.

  • Poll contract accepts offchain messages sent by coordinator in the same data structure as sent by users
  • Relayer package is created
  • SDK supports relayer message sending
  • Relayer has cron task that checks if there are votes can be included into hash chain
  • Relayer has api endpoint for accepting messages from registered users
  • Relayer has storage to keep all the messages from registered users
  • Relayer doesn't store duplicated messages and sends only one message
  • Relayer won't accept late submissions for now
  • User can check if the vote was added onchain by parsing the events and filter them by message hash
@0xmad 0xmad added this to MACI Jun 27, 2024
@0xmad 0xmad self-assigned this Jun 27, 2024
@0xmad 0xmad converted this from a draft issue Jun 27, 2024
@0xmad 0xmad added the enhancement New feature or request label Dec 6, 2024
@0xmad 0xmad moved this from Todo to In Progress in MACI Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant