cord-network / community

All discussions, new ideas and issues related to https://cord.network and the relevant projects.
2 stars 1 forks source link

[DMP 2024]: Use Once Statements Pallet #17

Open NiranjanAP opened 4 months ago

NiranjanAP commented 4 months ago

KIIT Workshop 11-Dec.docx

Ticket Contents

Description

Use ONCE with 'statement' can be more clearly explained with an usecase of event ticket which is 'use once'. It can be true with flight tickets, museum tickets, event tickets etc.

So, think of a usecase, where any 'approved' applications can look at a statement (VC, PDF file, image etc), and if found valid, this app should be having a method to update the statement's status to 'Consumed' (or something similar).

This way, the validity of tickets verification is logged on chain.

Goals

Goals

Expected Outcome

A new pallet call UseOnce that can make sure that an entity is used only once

Acceptance Criteria

A Demo script that demonstrates the right behaviour

Implementation Details

Need RUST and Substrate knowledge as a pre requisite for implementing the pallet, Typescript to SDK and a demo script Go through the other pallets for reference and understand the implementation

Mockups/Wireframes

NA

Product Name

CORD and CORD.js

Organisation Name

Dhiway

Domain

Open Source Library

Tech Skills Needed

Rust, TypeScript

Mentor(s)

@amarts @NiranjanAP @vatsa@dhiway.com

Category

Other

smitjiwani commented 2 months ago

Hey @NiranjanAP @amarts, i would like to work for this project as part of dmp 2024.

NiranjanAP commented 2 months ago

Sure, go ahead

smitjiwani commented 2 months ago

How should I proceed with contributions @NiranjanAP. I would really appreciate your guidance 😊.

NiranjanAP commented 2 months ago

As a prerequisite please go through

Keep in touch with vatsa@dhiway.com he'll help with if you get stuck somewhere.

Also, C4GT team might have some process to follow before you jump into coding, please work with Abhishek and Vanshika

ricky08sirus commented 2 months ago

I read the description of your product and it's really great .I would like to work for this project as a part of dmp 2024.Please guide me for the same @NiranjanAP .

AbhimanyuSamagra commented 2 months ago

Do not ask process related questions about how to apply and who to contact in the above ticket. The only questions allowed are about technical aspects of the project itself. If you want help with the process, you can refer instructions listed on Unstop and any further queries can be taken up on our Discord channel titled DMP queries.

aayushk9 commented 2 months ago

@NiranjanAP @amarts Just wanted to check something about UseOnce. So, in the new pallet UseOnce approved applications which could be software applications or services will have the capability to inspect/look at the verified credentials or other specific files. If these entities are determined to be valid through cryptographic verification or any other validation mechanism implemented within the system, the UseOnce feature will enable these applications to update the status to consumed. Am I correct in understanding the description? I wanted to ensure clarity before proceeding further. Thank you!

AbhimanyuSamagra commented 2 months ago

Do not ask process related questions about how to apply and who to contact in the above ticket. The only questions allowed are about technical aspects of the project itself. If you want help with the process, you can refer instructions listed on Unstop and any further queries can be taken up on our Discord channel titled DMP queries. Here's a Video Tutorial on how to submit a proposal for a project.

RajeshRk18 commented 1 month ago

Can I work on this? Just got to know this! What's the deadline?