Inspiration

The inspiration for MerchantPay came from the need to create a decentralized payment system that caters specifically to merchants in Kenya. We recognized the potential of blockchain technology, particularly the Celo network, to provide a more efficient, transparent, and accessible financial ecosystem for small businesses and entrepreneurs.

What it does

MerchantPay is a decentralized application (dApp) built on the Celo blockchain that allows merchants to:

  • Create and manage product or service listings
  • Accept payments in cKES (Celo Kenyan Shilling)
  • Track sales and transaction history
  • Benefit from automatic fee deductions for the platform
  • Experience real-time transaction status updates

The system provides a user-friendly interface for both merchants and customers, streamlining the process of listing items and making secure payments using cryptocurrency.

How we built it

We built MerchantPay using a combination of blockchain and web technologies:

  • Smart Contracts: Developed in Solidity and deployed on the Celo network
  • Backend: Utilized Hardhat for Ethereum development, testing, and deployment
  • Frontend: Built with Next.js and TypeScript for a responsive and type-safe user interface
  • Web3 Integration: Implemented using RainbowKit and wagmi for seamless blockchain interactions
  • Database: Integrated Prisma ORM for efficient data management
  • UI Components: Leveraged Radix UI and custom components for a polished user experience

Challenges we ran into

During the development of MerchantPay, we faced several challenges:

  1. Integrating the Celo blockchain with our frontend, ensuring smooth interactions and real-time updates
  2. Implementing secure payment flows while maintaining a user-friendly experience
  3. Optimizing smart contract gas usage to keep transaction costs low for merchants
  4. Ensuring data consistency between on-chain and off-chain storage
  5. Handling different edge cases in listing creation and payment processing

Accomplishments that we're proud of

Despite the challenges, we're proud of several accomplishments:

  1. Successfully deploying a fully functional dApp on the Celo testnet
  2. Creating a seamless user experience for both merchants and customers
  3. Implementing real-time transaction status updates
  4. Developing a scalable architecture that can handle multiple listings and transactions
  5. Integrating modern web technologies with blockchain functionality

What we learned

Throughout this project, our team gained valuable insights and skills:

  1. Deep understanding of Celo blockchain development and its unique features
  2. Improved proficiency in Solidity smart contract development and testing
  3. Enhanced knowledge of Web3 integration in modern web applications
  4. Better appreciation for the complexities of building decentralized financial systems
  5. Improved collaboration and problem-solving skills within a diverse team

What's next for MerchantPay

Looking ahead, we have exciting plans for MerchantPay:

  1. Conduct thorough security audits and optimize smart contracts for mainnet deployment
  2. Implement additional features such as dispute resolution and escrow services
  3. Expand currency options to include other stablecoins and cryptocurrencies
  4. Develop mobile applications for both Android and iOS platforms
  5. Partner with local businesses in Kenya to pilot the system and gather real-world feedback
  6. Explore integration with traditional payment systems for broader adoption
  7. Implement advanced analytics and reporting features for merchants

We're committed to continually improving MerchantPay to create a robust, user-friendly, and secure decentralized payment solution for merchants in Kenya and beyond.


This draft provides a comprehensive overview of your MerchantPay project, highlighting its key features, development process, challenges, accomplishments, and future plans. Feel free to adjust or expand on any sections to better reflect your specific project details and team experiences.

Built With

Share this project:

Updates