mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
nrln genIdentifier added
This commit is contained in:
@@ -91,6 +91,14 @@ class NRln extends ZkProtocol {
|
||||
}
|
||||
return f0
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns unique identifier of the rln dapp
|
||||
*/
|
||||
genIdentifier(): bigint {
|
||||
return Fq.random()
|
||||
}
|
||||
}
|
||||
|
||||
export default new NRln()
|
||||
|
||||
@@ -72,9 +72,8 @@ class Rln extends ZkProtocol {
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns unique identifier of rln dapp
|
||||
* @returns unique identifier of the rln dapp
|
||||
*/
|
||||
|
||||
genIdentifier(): bigint {
|
||||
return Fq.random()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user