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

Development - Build a project with just HTML, CSS, TS Semaphore Project #334

Open
aguzmant103 opened this issue Jul 24, 2023 · 7 comments
Open
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@aguzmant103
Copy link
Contributor

aguzmant103 commented Jul 24, 2023

Sometimes Semaphore is mistakenly thought to be only for web3 (Ethereum) or with a specific front-end framework (i.e. React).

Create a simple application that just uses Semaphore with "pure" HTML, CSS, TypeScript.

@aguzmant103 aguzmant103 converted this from a draft issue Jul 24, 2023
@aguzmant103 aguzmant103 added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 24, 2023
@nikitakent
Copy link

Working on this issue.

@vplasencia vplasencia changed the title Development - Build a project with just HTML, CSS, JS Semaphore Project Development - Build a project with just HTML, CSS, TS Semaphore Project Jun 19, 2024
@auleki
Copy link

auleki commented Jul 1, 2024

@vplasencia I'd like to take on this issue but I need a little more description, is it just the landing page that should be written in HTML, CSS, JavaScript?

@sripwoud
Copy link
Contributor

sripwoud commented Jul 2, 2024

@nikitakent It seems you have built something already, haven't you?
@vplasencia would https://github.com/nikitakent/semaphore-court-app close this issue (didn't try to run it or review it in details)

@nikitakent
Copy link

Hi @sripwoud - merkle trees used in the semaphore library need some kind of storage solution, which - to my knowledge -, is not well-supported by a vanilla web application. We'd need to build some custom TS capability for us to convert the merkle tree to a JSON and retrieve the data back as a merkle tree structure so we can perform validation etc. This new resource may help.

Once we have solved this merkle tree storage problem, the application can be finalised and we can close this issue.

@auleki, if you are still interested, I can guide you through the storage problem in more detail and/or work together on the issue, I have some time available. Please let me know.

@cedoor cedoor assigned nikitakent and auleki and unassigned auleki Jul 5, 2024
@cedoor
Copy link
Member

cedoor commented Jul 9, 2024

Hey @nikitakent, are you using on-chain groups? If so, you don't need to store Merkle trees.

@nikitakent
Copy link

Hey @cedoor. Yes, that would be the easy solution. But - and please correct me if I am mistaken - wouldn't using an on-chain functionality defeat the purpose of this project/issue?

@cedoor
Copy link
Member

cedoor commented Jul 10, 2024

Hey @cedoor. Yes, that would be the easy solution. But - and please correct me if I am mistaken - wouldn't using an on-chain functionality defeat the purpose of this project/issue?

I read the description again. Yes, you're right, I think this task is supposed to be about a web2 app.

You could just save the list of members of 1 or more groups in a db (like Mongo) and then when the app starts you could create the groups on the fly with @semaphore-protocol/group by retrieving the list of members and passing it as a parameter in the constructor. How does it sound?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: 📋 Backlog
Development

No branches or pull requests

7 participants
@cedoor @sripwoud @auleki @nikitakent @aguzmant103 and others