|
|
@ -11,7 +11,7 @@ const logger = { |
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|
await remix.call('circuit-compiler', 'generateR1cs', 'circuits/semaphore.circom'); |
|
|
|
await remix.call('circuit-compiler', 'generateR1cs', 'circuits/semaphore.circom'); |
|
|
|
|
|
|
|
|
|
|
|
const ptau_final = "https://ipfs-cluster.ethdevops.io/ipfs/QmTiT4eiYz5KF7gQrDsgfCSTRv3wBPYJ4bRN1MmTRshpnW"; |
|
|
|
const ptau_final = "https://ipfs-cluster.ethdevops.io/ipfs/QmciCq5JcZQyTLvC9GRanrLBi82ZmSriq1Fr5zANkGHebf"; |
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|
const r1csBuffer = await remix.call('fileManager', 'readFile', 'circuits/.bin/semaphore.r1cs', { encoding: null }); |
|
|
|
const r1csBuffer = await remix.call('fileManager', 'readFile', 'circuits/.bin/semaphore.r1cs', { encoding: null }); |
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|