Inspiration

Ever since I stumbled upon this research paper about privacy in machine learning, I knew I had to build something with it. The idea of combining federated learning and zero-knowledge proofs on blockchain just clicked with me. I mean, who doesn't want to make AI more private, right?

What it does

So basically, FedeBlocks is like this really cool platform where AI models can learn from your data without actually seeing it (mind-blowing, I know!). We're using this thing called federated learning, and we added these zero-knowledge proofs on Ethereum to make it super secure. The whole thing works together to keep your data private while still helping AI models get smarter. It's pretty neat because you can actually verify that everything's working correctly without exposing any sensitive info.

How I built it

We went all in with the tech on this one. We used Ethereum for the blockchain stuff (because who doesn't love Ethereum?), and then we built this really slick frontend using Next.js and TypeScript. The Gemini AI API helped us optimize our models, and we spent way too many hours figuring out these ZK-SNARK circuits. Everything's connected through smart contracts that manage how the federated learning process works.

Challenges we ran into

Oh man, where do I even start? Getting those ZK-SNARK circuits to work with machine learning was like trying to solve a Rubik's cube blindfolded. We kept running into issues with how much computing power everything needed, and making it work on regular devices was a nightmare. Plus, trying to make all these different technologies play nice together? Let's just say there were a lot of late nights and energy drinks involved.

Accomplishments that we're proud of

Not gonna lie, just understanding that research paper felt like a big win! But seriously, we managed to create something that actually works, which is pretty amazing considering how complex everything is. We took all these cutting-edge concepts and turned them into something real. That's pretty cool in my book.

What we learned

This project was like a crash course in everything - AI, blockchain, web development, you name it. We had to figure out how zero-knowledge proofs work (still kind of mind-bending), learn all about building secure systems, and dive deep into smart contracts. It was intense, but now we actually understand how these technologies work together, which is awesome.

What's next for FedeBlocks

We've got so many ideas for where to take this next! We want to make it faster, support more types of AI models, and make it super easy for anyone to use. We're thinking about adding some cool new features for better performance, and maybe even running some pilot programs with companies that really care about privacy. The sky's the limit!

Built With

Share this project:

Updates