HNHacker News
TopNewBestAskShowJobs

CarterFeldman

16 karma · joined August 2, 2019

submissionscomments
CarterFeldman··on Compile any ES6 JavaScript to a ZK-SNARK circuit
Video shows a demo of OAS's Dapen IDE which allows any JavaScript developer to write, compile, test, debug and deploy Zero Knowledge Smart Contracts in the browser.

Dapen compiles every contract function to a Zero Knowledge Circuit, and generates a merkle tree where the hash of verifier data of each contract function's circuit is a leaf.

When we are generating a block in the QED protocol, we recursively prove/verify a bunch of transaction proofs. In particular, our block generation circuit allows state transitions in our global state tree can occur if and only if transaction proof's verifier data is a member of the contract circuit merkle tree which owns the part of the global state tree being modified.

CarterFeldman··on Show HN: Reliably Generate direct MP4 links for any YouTube Video
This also works with curl: curl -L -o "video.mp4" "https://save.golf/watch?v=N4UKsi979nM"
CarterFeldman··on Show HN: Physically modeling a guitar in 15kb of JavaScript, Plays SOS by Avicii
If anyone wants to check out the source, it is available here: https://github.com/cf/avicii-sos-guitar-synth
CarterFeldman··on Show HN: Create procedural GIF animations in browser by defining f(x,y,time)→RGB
For sure! Definitely a big fan of shader toy, but wanted to make something accessible for JS developers ;)