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

Feat/start marketplace program #23

Merged
merged 21 commits into from
Aug 5, 2024

Conversation

MSghais
Copy link
Contributor

@MSghais MSghais commented Aug 4, 2024

@AbdelStark

This PR started to tackle the architecture and change needed for issues #22 and #11 (WIP)

It can cause many breaking changes, we need to battle test before merging in the demo showcase, please.

Changes:

  • Add wide_fibo, multi_fibo and Poseidon STWO program.
  1. User & JOB_REQUEST:
  • Add content with JSON
  • Change GenerateZKPRequest struct
  1. JOB_RESULT:
  • Checking the callable program (Internal at this stage)
  • Parsed the corresponding inputs with the correct type (string, u32, and value at this moment).
  • Match for the internal program on ASKELAD
  1. Frontend:
  • Add a page for the internal program
  • Program component card
  • Add constants in the front of the program architecture and config (asap doing it with an event too)

TODO:
Frontend:

  • Refacto with hooks
  • Subscription for JOB_REQUEST
  • Fix subscription for job_result event or loop until job_id find

Rust:

  • Enabled multi thread for handle_event/
  • handle_event: JOB_RESULT reply to the JOB_REQUEST directly
  • Input types strict check and add VEC and Object
  • Encrypted inputs with NIP-19
  • Marketplace 1-1 with application handler
  • JOB_LAUNCH_PROGRAM: Event KIND 5XXX with an additional NIP-78 and NIP-94 and NIP-96

Frontend screens:

View of different Internal programs of ASKELADD

image

Generic form for each program rendered in the UI:

image

Other program test:

Uploading image.png…

image

Copy link

vercel bot commented Aug 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
askeladd ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2024 2:38pm

@AbdelStark AbdelStark merged commit 30ffeaf into AbdelStark:main Aug 5, 2024
5 checks passed
@MSghais MSghais mentioned this pull request Aug 5, 2024
9 tasks
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.

2 participants