Inspiration
The meteoric rise of meme cryptocurrencies inspired us to create something that captures their playful spirit while making crypto mining accessible to everyone. We wanted to simplify the mining process and bring it directly into users' browsers. The Tron blockchain, with its high speed and low fees, was the ideal platform to bring TronPuppy to life.
What it does
TronPuppy is a web-based platform that allows users to mine a meme cryptocurrency directly from their browsers. After connecting their Tron wallet, users can start mining by clicking the "Start worker" button. The platform interacts with smart contracts on the Tron blockchain to facilitate mining and reward users with our custom meme token.
How we built it
We structured the development of TronPuppy around several key components:
Frontend Development: We used HTML5, CSS3, and JavaScript to build a responsive and engaging user interface. Backend Development: We are using python, to help display data on the site, because not all info can be easily accessed using events in smatcontracts. Smart Contracts: We wrote smart contracts in Solidity to manage the mining logic and token distribution securely. And secret ingredient - ZKP: zero knowledge proof. This allow us to build secure mining that can not be front running
Challenges we ran into
Throughout the development process, we encountered several challenges:
Real-Time Blockchain Interaction: Ensuring seamless and real-time interactions with the Tron blockchain required us to optimize our asynchronous code handling. ZPK: learning new language to write circuits was definitely a new challenge for us Smart Contract Efficiency: Optimizing our smart contracts to minimize transaction fees and execution times on the Tron network was a complex task.
Accomplishments that we're proud of
FInally we can make work ZKP + smart contract on tron network. Really no one has done this before.
What we learned
- How ZKP works, different types of circuits
- How Bitcoin works under the hood
What's next for TronPuppy
-We have a lot of plans
Built With
- amazon-web-services
- python
- tronweb
- typescript
- zkp
Log in or sign up for Devpost to join the conversation.