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

Add in-browser delegation demo to Mina template #81

Draft
wants to merge 41 commits into
base: main
Choose a base branch
from

Conversation

SpaceManiac
Copy link
Contributor

@SpaceManiac SpaceManiac commented Jul 15, 2024

Draft pending #74.


Depends on PaimaStudios/paima-engine#393.

  • Add middleware functions to compile and invoke DelegationProgram.
  • Add web frontend to Mina template that imports and calls into middleware.
  • Prompt wallet to sign a delegation order and prove the signature.
    • Currently presents binary crap in (for example) Metamask; this could possibly be improved.

TODO:

  • Possibly fix binary crap showing in wallet.
  • Display something useful in the web page instead of just the console.
  • Submit generated DelegationProof to backend to demonstrate its validity.
  • Move reusable parts to Add middleware helpers for Mina paima-engine#393.

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