You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to implement NIP-89 (Recommended Application Handlers) for our Data Vending Machine (DVM) to advertise its Zero-Knowledge (ZK) proof generation services over the Nostr network. This will allow Nostr clients to discover our DVM as a handler for specific event kinds related to ZK proof generation.
Objectives
Implement the creation and publishing of kind:31990 events to describe our DVM's capabilities.
Create a system for updating and managing these events as our DVM's capabilities change.
Implement handling of incoming requests based on our NIP-89 advertisements.
Integrate this functionality with our existing DVM infrastructure.
Implementation Details
1. Create Handler Information Events (kind:31990)
Implement a function to generate kind:31990 events for our DVM.
Define the specific event kinds our DVM supports for ZK proof generation and verification.
Create separate kind:31990 events for different types of ZK proofs if necessary.
2. Event Management System
Develop a system to manage our kind:31990 events:
Store current advertisements
Update advertisements when our capabilities change
Periodically republish to ensure visibility
3. Integration with Existing DVM Infrastructure
Connect the NIP-89 handling system with our existing DVM proof generation and verification systems.
Ensure that our DVM can scale to handle potential increased load from Nostr-based discovery.
4. Testing
Develop unit tests for kind:31990 event creation and parsing.
Create integration tests to ensure proper handling of incoming requests.
Perform end-to-end tests simulating discovery and usage of our DVM through Nostr.
6. Documentation
Update our API documentation to include information about our NIP-89 implementation.
Create user guides explaining how to discover and use our DVM through Nostr.
Tasks
Implement kind:31990 event creation function
Define supported event kinds for ZK proof operations
Develop event management system
Integrate NIP-89 system with existing DVM infrastructure
Write unit tests for event creation and parsing
Create integration tests for request handling
Perform end-to-end tests
Update API documentation
Create user guides for Nostr-based discovery and usage
Considerations
Security: Ensure that exposing our DVM through Nostr doesn't introduce new vulnerabilities.
Privacy: Consider the implications of advertising our services on the Nostr network.
Scalability: Prepare for potential increased usage resulting from easier discovery.
Interoperability: Ensure our implementation works with a variety of Nostr clients.
Description
We need to implement NIP-89 (Recommended Application Handlers) for our Data Vending Machine (DVM) to advertise its Zero-Knowledge (ZK) proof generation services over the Nostr network. This will allow Nostr clients to discover our DVM as a handler for specific event kinds related to ZK proof generation.
Objectives
kind:31990events to describe our DVM's capabilities.Implementation Details
1. Create Handler Information Events (kind:31990)
kind:31990events for our DVM.kind:31990events for different types of ZK proofs if necessary.2. Event Management System
kind:31990events:3. Integration with Existing DVM Infrastructure
4. Testing
kind:31990event creation and parsing.6. Documentation
Tasks
kind:31990event creation functionConsiderations
Success Criteria
kind:31990events advertising its ZK proof services.Resources