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

NIP-90: Marketplace view for differents programs & launch your program #22

Open
MSghais opened this issue Aug 2, 2024 · 0 comments
Open

Comments

@MSghais
Copy link
Contributor

MSghais commented Aug 2, 2024

Description

Implement the PoC of the marketplace of DVM ZK.
Different programs can be callable on the DVM.
Practicable brainstorming to get a better view of the implementation of all event kinds we did.

Launch our PoC here:

https://github.com/nostr-protocol/data-vending-machines
https://vendata.io/dvms

Objectives

View different programs on the Marketplace.
Prove & verify with different programs directly in the front end (change JOB_REQUEST to select a program with specific inputs to send).
Form to launch a program (not fully callable, need another issue to implement the NIP-78, 94, and 96 for Program deployment)

Implementation details

We abstract the way to upload/load the Program for the Marketplace at this moment.

  • add another example in the prover (Poseidon)
  • DVM_service: Add the examples programs by default, create event_kind for program visibility (Poseidon & Fibonacci in brut with params inputs and outputs for each).
  • add a kind of deploy_program event in the front (abstract the generic and just add a hard config to another program)
  • Job request with params to select a program to reach and send its inputs: can change a bit the 5600 kind)
  • Visibility of programs that can be seen in the frontend (program deploy event), and call them in the frontend (Fibonacci and Poseidon)

Documentation

Add docs the event kind of the ZK DVM: 5700 to push a program into the marketplace
Parameters config for this event and call program: The job_request

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

No branches or pull requests

1 participant