Inspiration
The idea for zkPCards came from everyday challenges we faced with traditional banking. We thought, why can't financial transactions be as easy as regular tasks? That's why zkPCards—a project to make digital spending simple and user-friendly on the blockchain. As users of blockchain tech ourselves, we saw the need for a more accessible financial solution. The idea of combining non-fungible tokens (NFTs) with financial tools clicked—what if our financial assets were as unique and transferable as the things we own? This sparked our mission to create a decentralized financial system that's new and easy for everyone to use. zkPCards is more than a project; it's our way of making blockchain a tool that simplifies, not complicates, our financial world.
What it does
zkPCards is an innovative financial platform that seamlessly integrates the familiar functionalities of traditional debit and credit cards into the blockchain ecosystem. Designed to revolutionize how we manage and spend digital currencies, zkPCards offers users the unique ability to create and control debit and credit pools using NFT technology. This platform simplifies transactions and introduces financial flexibility and security previously unseen in digital finance. With zkPCards, users can effortlessly issue, manage, and utilize NFT-based cards for everyday transactions, bringing the future of decentralized finance into the present.
How we built it
Creating zkPCards required thorough planning and execution. We began by identifying the core components: Debit and Credit Card systems built on blockchain technology. We used Solidity to write smart contracts for both systems and deployed them on Sepolia and zkEVM Testnet. For the Credit Card system, we integrated Chainlink oracles on Sepolia and Pyth oracles on zkEVM to provide accurate price feeds essential for our credit services. We represented each card as an ERC-721 NFT, ensuring unique identification and transferability. This approach made the cards not just financial tools but also digital assets on the blockchain.
Challenges we ran into
Our primary challenge was ensuring seamless integration of Chainlink and Pyth oracles for accurate price feeds in the Credit Card system. We also faced the task of making our smart contracts efficient and secure, which required extensive testing and optimization. Another significant challenge was designing an intuitive user experience that would make our blockchain-based card systems accessible and easy to use, even for those new to blockchain technology.
Implementing the Credit Card system introduced unique challenges, especially in formulating the logic for Collateralized Debt Positions (CDPs). Crafting a robust mechanism to calculate credit limits, manage collateral, and handle liquidation required a careful balance between precision and efficiency. The intricacies of dynamically adjusting credit limits based on real-time market data added layers of complexity. Ensuring a secure and transparent process for users to spend their credited funds, considering market volatility, demanded a meticulous approach. Overcoming these challenges required thorough testing and continuous refinement to achieve a Credit Card system that is both functional and user-friendly.
Accomplishments that we're proud of
We're particularly proud of successfully creating a dual-system card platform on the blockchain, a first of its kind. Our integration of Chainlink and Pyth oracles demonstrates our capability to adapt and utilize different technologies effectively. We also take pride in our ERC-721 NFT approach, which added a layer of innovation in representing financial tools on the blockchain. Lastly, we're proud of maintaining a user-friendly interface, making blockchain-based financial solutions more accessible.
What we learned
This project was a significant learning experience. We learned the intricacies of working with different oracle systems and gained a deeper understanding of smart contract development and deployment on various testnets. The process also enhanced our skills in creating user-centric blockchain solutions. Most importantly, we learned the value of perseverance and innovation in overcoming technical challenges to create something truly unique in the blockchain space.
What's next for zkPCards
- Aim to replace traditional banking system: Positioning zkPCards as a viable replacement for traditional credit cards in the digital economy.
- Advanced Financial Tools Implementation: Introducing more sophisticated financial tools such as credit scoring, AI-driven financial advisory, and automated payment solutions to further enhance the platform's capabilities.
- Enhanced User Experience: Focusing on developing an intuitive and responsive front-end interface to make the user experience seamless. This includes simplifying the process of managing funds, issuing cards, and tracking spending.
- Integration with Broader DeFi Ecosystem: Building partnerships and integrations with other DeFi projects and platforms to enhance the functionality and utility of zkPCards. This could include integrating with lending platforms, decentralized exchanges, and other financial services.
Built With
- chainlink
- hardhat
- javascript
- oracle
- price-feeds
- pyth
- react
- solidity
Log in or sign up for Devpost to join the conversation.