https://github.com/p0n1/familiar_strangers.git
In the realm of the familiar, where logic gates are the silent sentinels of truth, lies a challenge shrouded in enigma. "Familiar Strangers" beckons you to a world where the simplest of circuits hide secrets just beyond the veil of obviousness. These circuits, reminiscent of the ones you've met countless times, now hold a mystery that only a true Circom savant can unravel. Three levels, each a step deeper into the cryptic dance of numbers and logic, await your prowess. Are you ready to discover the true inputs and reveal the concealed answers within? Find the key, communicate with our judge service, and claim your place among the elite who see beyond the familiar to the truth that lies beneath.
npm install.For local testing, you can run the judge service with:
node stranger_judge.js
Example request with curl:
curl -X POST http://localhost:3000/judge -H "Content-Type: application/json" -d '{"l1": "123", "l2": ["1", "2", "3"], "l3": "123"}'
The l1, l2 and l3 are the three levels of this challenge. The level 2 has three rounds, so the l2 is an array of three strings.
The service will return {"success":true} when the input is correct, otherwise it will return {"success":false}.
We include the below files in README for your convenience. You should always read the latest code in the correct location.
The challenge.circom is the circuits for this challenge.
The strangerjudge.js is the code for the judge service.