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

generate random bigint for RLN Identifier #86

Open
AtHeartEngineer opened this issue Jul 25, 2023 · 5 comments
Open

generate random bigint for RLN Identifier #86

AtHeartEngineer opened this issue Jul 25, 2023 · 5 comments
Labels
good first issue Good for newcomers

Comments

@AtHeartEngineer
Copy link
Member

No description provided.

@AtHeartEngineer AtHeartEngineer added the good first issue Good for newcomers label Jul 25, 2023
@github-project-automation github-project-automation bot moved this to 🆕 Ideas in RLN JS lib Jul 25, 2023
@AtHeartEngineer AtHeartEngineer moved this from 🆕 Ideas to 📋 Backlog in RLN JS lib Aug 22, 2023
@s-ekai
Copy link
Contributor

s-ekai commented Sep 1, 2023

@AtHeartEngineer Could you please provide more details?

@AtHeartEngineer
Copy link
Member Author

AtHeartEngineer commented Sep 1, 2023

@AtHeartEngineer Could you please provide more details?

@s-ekai

We need a utility function for someone to generate random bigints to be used as RLN Identifiers. Here are some examples:

https://github.com/Discreetly/interfaces/blob/81392484a334ffd9f778779243be220208cc5e7b/src/utils.ts#L27

https://github.com/semaphore-protocol/semaphore/blob/478e6fa38286117a56842623ef0233fba67311a3/packages/identity/src/utils.ts#L9

We could also probably use something like this:
https://github.com/Discreetly/interfaces/blob/81392484a334ffd9f778779243be220208cc5e7b/src/utils.ts#L6

@rutefig
Copy link

rutefig commented Sep 2, 2024

@AtHeartEngineer can I have this one? Or is @s-ekai already working on it?

@AtHeartEngineer
Copy link
Member Author

I don't believe anyone is working on this right now. We (@cedoor & @vplasencia & @aguzmant103 ) did discuss creating a new version of RLN in semaphore v4 as an extension so RLN can take advantage of the semaphore v4 improvements (eddsa keys + leanIMT). So I would be hesitant to encourage you to work on this, as this version will likely be superseded by that new version.

@mahmudsudo
Copy link

can i take on this presently ?

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
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants