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
{{ message }}
Repository navigation
Development - Build a project with just HTML, CSS, TS Semaphore Project #334
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[/+]on Jun 19, 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?
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.
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?
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?
Activity
nikitakent commentedon Oct 11, 2023
Working on this issue.
[-]Development - Build a project with just HTML, CSS, JS Semaphore Project[/-][+]Development - Build a project with just HTML, CSS, TS Semaphore Project[/+]auleki commentedon 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 commentedon 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 commentedon Jul 5, 2024
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 commentedon Jul 9, 2024
Hey @nikitakent, are you using on-chain groups? If so, you don't need to store Merkle trees.
nikitakent commentedon 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?
cedoor commentedon Jul 10, 2024
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/groupby retrieving the list of members and passing it as a parameter in the constructor. How does it sound?